列车车头/车尾在计轴故障区段时无法升级至CBTC
This commit is contained in:
parent
1b6ffa0b8c
commit
ea64d61fa5
@ -85,7 +85,13 @@ public class ATPLogicLoop {
|
||||
atpService.updateRunLevel(train, RunLevel.IL, preselectionMode);
|
||||
atpService.triggerSignalEB(train);
|
||||
} else if (!train.isCBTC() && !train.isCbtcMaMiss() && defaultRunLevel.equals(RunLevel.CBTC)) {
|
||||
atpService.updateRunLevel(train, RunLevel.CBTC, preselectionMode);
|
||||
boolean headSectionAxleFault = Section.AxleFault.FAULT
|
||||
.equals(train.getHeadPosition().getSection().getFault()); //车头区段计轴故障
|
||||
boolean tailSectionAxleFault = Section.AxleFault.FAULT
|
||||
.equals(train.calculateTailPosition().getSection().getFault()); //车尾区段计轴故障
|
||||
if (!headSectionAxleFault && !tailSectionAxleFault) {
|
||||
atpService.updateRunLevel(train, RunLevel.CBTC, preselectionMode);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user