修改<未锁闭的区段>移动授权终点判定条件

This commit is contained in:
joylink_zhangsai 2021-02-04 18:25:22 +08:00
parent 5f8c2039c5
commit 33ade9bc31

View File

@ -143,7 +143,16 @@ public class ZCLogicLoop {
++count; ++count;
// 区段未进路锁闭或延时解锁中转换轨除外因为出库列车加载到转换轨没有进路 // 区段未进路锁闭或延时解锁中转换轨除外因为出库列车加载到转换轨没有进路
if (!section.isTransferTrack()) { if (!section.isTransferTrack()) {
if (!section.isRouteLock() || section.isDelayUnlock()) { if (section.isDelayUnlock()) {
deviceEnd = new MovementAuthority.End(section, MovementAuthority.EndType.UNLOCK_SECTION);
break;
}
if (section.isTurnBackTrack()) {
if (!section.isRouteLock()) {
deviceEnd = new MovementAuthority.End(section, MovementAuthority.EndType.UNLOCK_SECTION);
break;
}
} else if (!section.isRouteLockOn(right)) {
deviceEnd = new MovementAuthority.End(section, MovementAuthority.EndType.UNLOCK_SECTION); deviceEnd = new MovementAuthority.End(section, MovementAuthority.EndType.UNLOCK_SECTION);
break; break;
} }