侧防锁闭逻辑问题修改
This commit is contained in:
parent
5965385be5
commit
a166f3e4be
@ -71,8 +71,10 @@ public class RouteFls {
|
||||
public void lock() {
|
||||
for (FlsElement flsElement : this.getLevel1List()) {
|
||||
SwitchElement pSwitch = flsElement.getPSwitch();
|
||||
if (pSwitch != null && (pSwitch.isOnPosition() || !pSwitch.getASwitch().isSectionOccupied())) {
|
||||
if (pSwitch != null) {
|
||||
if (pSwitch.isOnPosition() || (pSwitch.getASwitch().isLoss())) {
|
||||
pSwitch.getASwitch().fpLock();
|
||||
}
|
||||
} else {
|
||||
Signal pSignal = flsElement.getPSignal();
|
||||
SwitchElement fpae = flsElement.getFpae();
|
||||
|
Loading…
Reference in New Issue
Block a user