Commit e7f07544 authored by duanruiming's avatar duanruiming

[add] 优化灯态转向

parent a06a8b5c
......@@ -386,6 +386,9 @@ public class SignalStatusTask {
*/
private static void setDirTurnInfo(Map<String, Object> phaseMap, String dir, List<LightsStatusVO2.TurnInfo> turnList, Map.Entry<Integer, String> turnEntry) {
Integer turn = parseTurn(turnEntry);
if (Objects.equals(0, turn)) {
return;
}
String color = turnEntry.getValue();
LightsStatusVO2.TurnInfo turnInfo = new LightsStatusVO2.TurnInfo();
turnInfo.setTurn(String.valueOf(turn));
......
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