diff --git a/adaptors/统一采集to江苏省农村公路桥梁监测.go b/adaptors/统一采集to江苏省农村公路桥梁监测.go index 87f0a1e..97f527b 100644 --- a/adaptors/统一采集to江苏省农村公路桥梁监测.go +++ b/adaptors/统一采集to江苏省农村公路桥梁监测.go @@ -33,6 +33,9 @@ func (the Adaptor_TYCJ_JSNCGLQL) TYCJtoJSNCGLQL(tycj models.TYCJ) (result []Need switch tycj.SensorData.FactorType { case models.TYCJ_FactorType_YLYB, models.TYCJ_FactorType_DTQYB: //应变23,挡土墙应变13 FS-BM50 sensorDataList = append(sensorDataList, tycj.SensorData.Data.ThemeValues[0]) + case models.TYCJ_FactorType_QDQX: //桥墩倾斜20 X (mm) Y (mm) + sensorDataList = append(sensorDataList, tycj.SensorData.Data.ThemeValues[0]) + sensorDataList = append(sensorDataList, tycj.SensorData.Data.ThemeValues[1]) default: log.Printf("监测因素[%d] 无匹配", tycj.SensorData.FactorType) return