Ver código fonte

修改标签报警状态

wangyangyang 3 anos atrás
pai
commit
45f7ff54fc

+ 1 - 1
sms_water/src/main/java/com/huaxu/controller/MonitorInfoController.java

@@ -169,7 +169,7 @@ public class MonitorInfoController {
         parm.setAttributeId(item.getAttributeId());
         parm.setType(type);
         if (type == 4 || type == 3) {
-            //更新压力值或状态值
+            //更新压力值或状态值 泵状态0关 1开 TODO 后续需要统一
             item.setAttributeValue(monitorDataReportService.getDeviceAttributeValue(item.getDeviceCode(), item.getAttributeId()).setScale(3, BigDecimal.ROUND_HALF_UP).doubleValue());
         }
         //查询报警信息