Commit a9695b8f authored by duanruiming's avatar duanruiming

[update] 优化红灯倒计时

parent 481bec46
...@@ -241,6 +241,8 @@ public class HisensePhaseCountDownTask { ...@@ -241,6 +241,8 @@ public class HisensePhaseCountDownTask {
lightsStatusVO.setCyclePhaseCountDown(nextPhaseTime); lightsStatusVO.setCyclePhaseCountDown(nextPhaseTime);
} else { } else {
lightsStatusVO.setCyclePhaseCountDown(lightsStatusVO.getCyclePhaseCountDown() - 1); lightsStatusVO.setCyclePhaseCountDown(lightsStatusVO.getCyclePhaseCountDown() - 1);
Integer cycleCountDown = lightsStatusVO.getCycleCountDown();
lightsStatusVO.setCycleCountDown(--cycleCountDown);
} }
} }
......
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