Commit 0b527659 authored by maoying's avatar maoying

告警消息推送修改

parent 4c057a9e
...@@ -600,8 +600,10 @@ public class MqttReceiveServiceImpl implements MqttReceiveService { ...@@ -600,8 +600,10 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
} }
}); });
// 直流中心消息推送刷新 // // 告警消息推送
publishDataToDCCenterPage(equipmentSpecificIndexList); if (!ObjectUtils.isEmpty(equipmentSpecificAlarms)) {
publishDataToDCCenterPage(equipmentSpecificIndexList);
}
// 四横八纵遥测信号信息列表刷新 // 四横八纵遥测信号信息列表刷新
publishNormalIndexValueToPage(equipmentSpecificIndexList); publishNormalIndexValueToPage(equipmentSpecificIndexList);
...@@ -862,8 +864,10 @@ public class MqttReceiveServiceImpl implements MqttReceiveService { ...@@ -862,8 +864,10 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
} }
}); });
// 直流中心消息推送刷新 // // 告警消息推送
publishDataToDCCenterPage(equipmentSpecificIndexList); if (!ObjectUtils.isEmpty(equipmentSpecificAlarms)) {
publishDataToDCCenterPage(equipmentSpecificIndexList);
}
// 四横八纵遥测信号信息列表刷新 // 四横八纵遥测信号信息列表刷新
publishNormalIndexValueToPage(equipmentSpecificIndexList); publishNormalIndexValueToPage(equipmentSpecificIndexList);
...@@ -1153,8 +1157,10 @@ public class MqttReceiveServiceImpl implements MqttReceiveService { ...@@ -1153,8 +1157,10 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
} }
}); });
// 直流中心消息推送刷新 // 告警消息推送
publishDataToDCCenterPage(equipmentSpecificIndexList); if (!ObjectUtils.isEmpty(equipmentSpecificAlarms)) {
publishDataToDCCenterPage(equipmentSpecificIndexList);
}
// 四横八纵遥测信号信息列表刷新 // 四横八纵遥测信号信息列表刷新
publishNormalIndexValueToPage(equipmentSpecificIndexList); publishNormalIndexValueToPage(equipmentSpecificIndexList);
......
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