【实训增加控制模式车站信号机筛选】

This commit is contained in:
weizhihong 2023-01-09 13:15:06 +08:00
parent 0cb9f412f2
commit 9ce414e3ee

View File

@ -517,6 +517,13 @@ public enum MapDeviceRule {
? signal.getStation().isCentralized() : signal.getDeviceStation().isCentralized()), NUMBER);
}
},
SIGNAL_CONTROL_LIST("控制模式车站信号机列表") {
@Override
public List<Signal> filterMapDeviceList(Simulation simulation) {
return generateRandomElement(queryNormalSignalList(simulation, signal -> signal.getStation() != null
? signal.getStation().isInterlock() : signal.getDeviceStation().isInterlock()), NUMBER);
}
},
SIGNAL_FIRST_STATION_LIST("获取第一个站信号机列表") {
@Override
public List<Signal> filterMapDeviceList(Simulation simulation) {