This commit is contained in:
tiger_zhou 2023-05-21 16:00:10 +08:00
commit f260aab664

View File

@ -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) {