|
|
|
@ -274,7 +274,7 @@ public class AlarmServiceImpl implements AlarmService {
|
|
|
|
|
alarm.setType(Integer.parseInt(entity.getType())); |
|
|
|
|
alarm.setStation(entity.getStationId()); |
|
|
|
|
alarm.setRealId(entity.getRealId()); |
|
|
|
|
alarm.setContext(entity.getStationName() + "." + entity.getSoeExplain()); |
|
|
|
|
alarm.setContext(entity.getSoeExplain()); |
|
|
|
|
alarm.setState(entity.getStatus()); |
|
|
|
|
log.error("send_interruption_msg : {}",JsonUtil.toJson(alarm)); |
|
|
|
|
mqttSender.sendToMqtt(InterruptionConstants.HZ3000_TOPIC_PREFIX + entity.getStationId(), JsonUtil.toJson(alarm)); |
|
|
|
|