【实训进路筛选】

This commit is contained in:
weizhihong 2022-12-29 14:16:37 +08:00
parent 695e48fc37
commit 5f7ff4b07d

View File

@ -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);
} }
}, },