Commit a29c8876 authored by duanruiming's avatar duanruiming

[add] 红灯倒计时优化

parent c549def2
...@@ -325,8 +325,8 @@ public class SignalStatusTask { ...@@ -325,8 +325,8 @@ public class SignalStatusTask {
} else { } else {
Integer countDown = null; Integer countDown = null;
if (phaseMap.get(dir) instanceof Map) { if (phaseMap.get(dir) instanceof Map) {
Map<Integer, Integer> turnMap = (Map<Integer, Integer>) phaseMap.get(dir); Map<String, Integer> turnMap = (Map<String, Integer>) phaseMap.get(dir);
countDown = turnMap.get(turn); countDown = turnMap.get(String.valueOf(turn));
} else { } else {
countDown = (Integer) phaseMap.get(key); countDown = (Integer) phaseMap.get(key);
} }
......
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