Commit a29c8876 authored by duanruiming's avatar duanruiming

[add] 红灯倒计时优化

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