修改:设置扣车后不触发进路问题(西安三39)

This commit is contained in:
joylink_zhangsai 2021-06-16 10:10:51 +08:00
parent c3d4688268
commit fa76a0502a

View File

@ -716,10 +716,10 @@ public class AtsRouteSettingService {
continue; continue;
} }
} }
//如果扣车且信号机属于预计到达站台轨取消列车的排列信号机 // //如果扣车且信号机属于预计到达站台轨取消列车的排列信号机
if (train.isHold() && Objects.equals(signal.getSection().getCode(), train.getEstimatedArriveStandTrack())) { // if (train.isHold() && Objects.equals(signal.getSection().getCode(), train.getEstimatedArriveStandTrack())) {
signalTrainMap.remove(signal); // signalTrainMap.remove(signal);
} // }
//如果信号机所属集中站ats故障取消进路排列 //如果信号机所属集中站ats故障取消进路排列
if (signal.getDeviceStation() != null && Station.Fault.ATS_FAULT.equals(signal.getDeviceStation().getFault())) { if (signal.getDeviceStation() != null && Station.Fault.ATS_FAULT.equals(signal.getDeviceStation().getFault())) {
signalTrainMap.remove(signal); signalTrainMap.remove(signal);