【大铁车站重启时间使用仿真时间】

This commit is contained in:
weizhihong 2022-12-27 14:23:13 +08:00
parent 0d4d91d9b8
commit a77a4ecaed

View File

@ -694,7 +694,7 @@ public enum BgSceneStatusRule {
station = station.getDeviceStation(); station = station.getDeviceStation();
} }
station.setInterlockMachineStarting(true); station.setInterlockMachineStarting(true);
station.setRestartTime(LocalTime.now()); station.setRestartTime(simulation.getCorrectSystemTime().toLocalTime());
Station.Fault.INTERLOCK_FAULT.fix(station); //恢复联锁机故障 Station.Fault.INTERLOCK_FAULT.fix(station); //恢复联锁机故障
SimulationDataRepository repository = simulation.getRepository(); SimulationDataRepository repository = simulation.getRepository();
//该站范围内区段故障锁闭 //该站范围内区段故障锁闭