【修复地铁乘客乘降状态不发车BUG】

This commit is contained in:
weizhihong 2023-04-03 15:27:30 +08:00
parent 04d46be14c
commit 78e8f84382

View File

@ -73,7 +73,8 @@ public class AtsTrainStageHandler {
if (remainTime < 10000 && !trainInfo.isDoorOpen() && //2023.01.03 国赛线路在倒计时到5000时就发车了导致无法进入下面逻辑 if (remainTime < 10000 && !trainInfo.isDoorOpen() && //2023.01.03 国赛线路在倒计时到5000时就发车了导致无法进入下面逻辑
(this.atsStandService.isStandDoorCloseOrInterlockRelease(simulation, parkSection))) { //即将发车 (this.atsStandService.isStandDoorCloseOrInterlockRelease(simulation, parkSection))) { //即将发车
stageService.ready2DepartFromNormalStand(simulation, trainInfo, parkSection); stageService.ready2DepartFromNormalStand(simulation, trainInfo, parkSection);
} else if (remainTime < 10000) { // 通知列车可以关门了 }
if (remainTime < 10000) { // 通知列车可以关门了
this.onboardAtpApiService.departure(simulation, trainInfo.getGroupNumber()); this.onboardAtpApiService.departure(simulation, trainInfo.getGroupNumber());
} }
} else { // 折返轨 } else { // 折返轨