Commit 6be106a5 authored by duanruiming's avatar duanruiming

[update] 测试websocket连接断开

parent f3bae88a
...@@ -119,6 +119,7 @@ public class SignalStatusTask { ...@@ -119,6 +119,7 @@ public class SignalStatusTask {
} }
Constants.controlModeMap.put(crossId, lightsStatusVO.getRunMode()); Constants.controlModeMap.put(crossId, lightsStatusVO.getRunMode());
try { try {
log.error("{}路口倒计时:{}", lightsStatusVOS.get(0).getCycleCountDown());
webSocket.sendInfo(JSONObject.toJSONString(lightsStatusVOS, SerializerFeature.WriteMapNullValue), crossIdStr); webSocket.sendInfo(JSONObject.toJSONString(lightsStatusVOS, SerializerFeature.WriteMapNullValue), crossIdStr);
} catch (Exception e) { } catch (Exception e) {
log.error("RealTimeDataWebSocket发送异常,异常信息:", e); log.error("RealTimeDataWebSocket发送异常,异常信息:", e);
......
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