Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
commit
4f599acffe
@ -312,6 +312,11 @@ public enum BgSceneStatusRule {
|
||||
public void doHandle(Simulation simulation, MapElement mapElement, String client) {
|
||||
Section section = (Section) mapElement;
|
||||
Section.AxleFault.FAULT_LOCK.apply(section);
|
||||
if (section.isCross()) {
|
||||
section.getLogicList().get(0).setRouteLock(true);
|
||||
} else if (section.isShowLogic()) {
|
||||
section.getLogicList().forEach(s -> s.setRouteLock(true));
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user