【实训道岔列表】

This commit is contained in:
weizhihong 2023-01-05 09:15:31 +08:00
parent 8484acceb0
commit b729f33ce8

View File

@ -566,6 +566,12 @@ public enum MapDeviceRule {
return generateRandomElement(switchList, NUMBER);
}
},
SWITCH_CONTROL_UN_SINGLE_LOCK_LIST("控制模式车站非锁定道岔列表") {
@Override
public List<Switch> filterMapDeviceList(Simulation simulation) {
return generateRandomElement(queryNormalSwitchList(simulation, s -> !s.isSingleLock() && s.getDeviceStation().isHasControlMode()), NUMBER);
}
},
/**************************************** 进路列表 *********************************************/
ROUTE_NORMAL_LIST("进路列表") {
@Override