修改:设置联锁自动触发不再关闭进路自动控(ats进路自动触发逻辑对应修改)

This commit is contained in:
joylink_zhangsai 2021-07-16 11:16:43 +08:00
parent 86dce84b28
commit 341a8a92bb
2 changed files with 2 additions and 2 deletions

View File

@ -170,7 +170,7 @@ public class AtsRouteService {
}
});
for (Route route : routeList) {
route.setAtsControl(false);
// route.setAtsControl(false);
if (route.isArs())
route.setCiControl(true);
}

View File

@ -526,7 +526,7 @@ public class AtsRouteSettingService {
private boolean isAtsTrigger(Simulation simulation, TrainInfo train, Route route,
boolean turnBack, List<TrainInfo> trainList) {
if (route.isAtsControl() && !route.isOpen()) {
if (route.isAtsControl() && !route.isCiControl() && !route.isOpen()) {
if (route.hasSwitchFault()) { // 进路内存在故障道岔不触发办理
return false;
}