【增加实训中进路始终信号机在同一联锁站的规则】
This commit is contained in:
parent
6331e723eb
commit
bc874187e6
@ -614,6 +614,14 @@ public enum MapDeviceRule {
|
||||
return generateRandomElement(queryNormalRouteList(simulation, r -> r.getInterlockStation().isHasControlMode() && !r.isGuide() && !r.isTurnBack()), NUMBER);
|
||||
}
|
||||
},
|
||||
ROUTE_CONTROL_SAME_STATION_LIST("控制模式车站进路始终信号机在同一站列表") {
|
||||
@Override
|
||||
public List<Route> filterMapDeviceList(Simulation simulation) {
|
||||
return generateRandomElement(queryNormalRouteList(simulation,
|
||||
r -> r.getInterlockStation().isHasControlMode() && !r.isGuide() && !r.isTurnBack()
|
||||
&& Objects.equals(r.getStart().getInterlockStation(), r.getDestination().getInterlockStation())), NUMBER);
|
||||
}
|
||||
},
|
||||
ROUTE_GUIDE_LIST("引导进路列表") {
|
||||
@Override
|
||||
public List<Route> filterMapDeviceList(Simulation simulation) {
|
||||
|
Loading…
Reference in New Issue
Block a user