修改:换端操作不再关闭ATO;进路相关移动授权计算
This commit is contained in:
parent
35d6139ed6
commit
f25c5fd5f1
@ -468,7 +468,7 @@ public class ZCLogicLoop {
|
||||
base = pre;
|
||||
}
|
||||
}
|
||||
if (!lock) {
|
||||
if (!lock && section.getSignalOf(right) == null) {
|
||||
// 未锁闭进路中,设置移动授权终点
|
||||
return new MovementAuthority.End(section, MovementAuthority.EndType.UNLOCK_SECTION);
|
||||
}
|
||||
|
@ -169,7 +169,6 @@ public class DriverOperateHandler {
|
||||
public void changeHead(Simulation simulation, String groupNumber) {
|
||||
VirtualRealityTrain train = simulation.getRepository().getOnlineTrainBy(groupNumber);
|
||||
if (train.isStop()) {
|
||||
train.setAtoOn(false);
|
||||
this.ATPService.turnDirectionImmediately(train);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user