【实训进路筛选】
This commit is contained in:
parent
695e48fc37
commit
5f7ff4b07d
@ -601,7 +601,7 @@ public enum MapDeviceRule {
|
|||||||
@Override
|
@Override
|
||||||
public List<Route> filterMapDeviceList(Simulation simulation) {
|
public List<Route> filterMapDeviceList(Simulation simulation) {
|
||||||
return generateRandomElement(queryNormalRouteList(simulation, route ->{
|
return generateRandomElement(queryNormalRouteList(simulation, route ->{
|
||||||
return route.getInterlockStation().isHasControlMode() && !route.isGuide();
|
return route.getInterlockStation().isHasControlMode() && !route.isGuide() && !route.isTurnBack();
|
||||||
}), NUMBER);
|
}), NUMBER);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user