Commit d1d78c81 authored by duanruiming's avatar duanruiming

[add] 海信灯态延迟时间

parent 88e44e38
......@@ -223,6 +223,7 @@ public class SignalStatusServiceImpl implements SignalStatusService {
Date date = new Date();
Long time = date.getTime();
int offsetTime = (int) ((time - signalMachineStamp) / 1000);
log.info("海信灯态延迟时间:{}秒", offsetTime);
int cycleCountDown = content.getCycleCountDown() - Math.max(offsetTime, 0);
int hiControlMode = content.getControlMode();
int period = content.getPeriod();
......
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