ATS进路排列逻辑,已经或正在排列的进路不再重复排列
This commit is contained in:
parent
daf2d16cb7
commit
5ea8b122eb
@ -47,7 +47,9 @@ public class AtsRouteSettingService {
|
||||
// 执行进路排列
|
||||
for (TrainRoute trainRoute : waitSetList) {
|
||||
Route route = trainRoute.getRoute();
|
||||
this.ciApiService.settingRoute(simulation, route.getCode());
|
||||
if (!route.isSetting() && !route.isLock()) {
|
||||
this.ciApiService.settingRoute(simulation, route.getCode());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user