修改<未锁闭的区段>移动授权终点判定条件
This commit is contained in:
parent
5f8c2039c5
commit
33ade9bc31
@ -143,7 +143,16 @@ public class ZCLogicLoop {
|
||||
++count;
|
||||
// 区段未进路锁闭或延时解锁中(转换轨除外,因为出库列车加载到转换轨没有进路)
|
||||
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);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user