修改:设置联锁自动触发不再关闭进路自动控(ats进路自动触发逻辑对应修改)
This commit is contained in:
parent
86dce84b28
commit
341a8a92bb
@ -170,7 +170,7 @@ public class AtsRouteService {
|
||||
}
|
||||
});
|
||||
for (Route route : routeList) {
|
||||
route.setAtsControl(false);
|
||||
// route.setAtsControl(false);
|
||||
if (route.isArs())
|
||||
route.setCiControl(true);
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user