Commit 247f5e47 authored by duanruiming's avatar duanruiming

[update] 信号机状态代码优化

parent 916ef98f
......@@ -84,7 +84,7 @@ public class SignalStatusTask {
} else if (StringUtils.equals(lightsStatusVO.getRunMode(), "11")) {
runModeTimeMap.remove(crossIdStr);
}
Constants.controlModeMap.putIfAbsent(crossId, lightsStatusVO.getRunMode());
Constants.controlModeMap.put(crossId, lightsStatusVO.getRunMode());
try {
webSocket.sendInfo(JSONObject.toJSONString(lightsStatusVOS, SerializerFeature.WriteMapNullValue), crossIdStr);
} catch (Exception 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