|
|
@ -204,7 +204,10 @@ public class DcWarningServiceImpl implements IDcWarningService |
|
|
|
} |
|
|
|
} |
|
|
|
String content= direction+" " + dcWarning.getStakeMark()+" "+HAPPEN+EventSubclass+EVENT ; |
|
|
|
WebSocketService.broadcast(SUBEVENT, content); //推送事件消息 0不是感知事件
|
|
|
|
Map<String,Object> contentMap = new HashMap<>(); |
|
|
|
contentMap.put("content",content); |
|
|
|
contentMap.put("event",dcWarning); |
|
|
|
WebSocketService.broadcast(SUBEVENT, contentMap); //推送事件消息 0不是感知事件
|
|
|
|
} |
|
|
|
|
|
|
|
//优先级策略(还差优先级策略需要配置)
|
|
|
|