【实训增加控制模式车站信号机筛选】
This commit is contained in:
parent
0cb9f412f2
commit
9ce414e3ee
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user