Commit bae71972 authored by 张森's avatar 张森

水池液位BUG修改

parent 8f4e558e
...@@ -94,6 +94,8 @@ public class MqttReceiveServiceImpl implements MqttReceiveService { ...@@ -94,6 +94,8 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
* 水池信息 * 水池信息
*/ */
private final static String FHS_FirePoolDevice_WaterLevel = "FHS_FirePoolDevice_WaterLevel"; private final static String FHS_FirePoolDevice_WaterLevel = "FHS_FirePoolDevice_WaterLevel";
private final static String FHS_LevelDetector_WaterLevel = "FHS_LevelDetector_WaterLevel";
/** /**
* 水池信息 * 水池信息
*/ */
...@@ -1114,7 +1116,8 @@ public class MqttReceiveServiceImpl implements MqttReceiveService { ...@@ -1114,7 +1116,8 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
} }
//消防水池液位处理 //消防水池液位处理
if (iotDataVO.getKey().equalsIgnoreCase(FHS_FirePoolDevice_WaterLevel) || if (iotDataVO.getKey().equalsIgnoreCase(FHS_FirePoolDevice_WaterLevel) ||
iotDataVO.getKey().equalsIgnoreCase(FHS_WirelessliquidDetector_WaterLevel)) { iotDataVO.getKey().equalsIgnoreCase(FHS_WirelessliquidDetector_WaterLevel) ||
iotDataVO.getKey().equalsIgnoreCase(FHS_LevelDetector_WaterLevel)) {
alarmFlag = doWaterPoolLevel(iotDataVO, equipmentSpecificIndex, messageBodyMap); alarmFlag = doWaterPoolLevel(iotDataVO, equipmentSpecificIndex, messageBodyMap);
} }
// 遥测数据生成告警事件、日志处理 // 遥测数据生成告警事件、日志处理
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment