From 6c02504ccde9f4c3ab087b3a6de721ecd495535a Mon Sep 17 00:00:00 2001 From: lucas Date: Wed, 13 Nov 2024 11:33:10 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=80=BE=E6=96=9C=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adaptors/统一采集to江苏省农村公路桥梁监测.go | 3 +++ 1 file changed, 3 insertions(+) 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