Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/rtss-server into test-zy
This commit is contained in:
commit
f260aab664
@ -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