ATS进路排列逻辑,已经或正在排列的进路不再重复排列

This commit is contained in:
joylink_zhangsai 2020-12-21 17:59:42 +08:00
parent daf2d16cb7
commit 5ea8b122eb

View File

@ -47,7 +47,9 @@ public class AtsRouteSettingService {
// 执行进路排列 // 执行进路排列
for (TrainRoute trainRoute : waitSetList) { for (TrainRoute trainRoute : waitSetList) {
Route route = trainRoute.getRoute(); Route route = trainRoute.getRoute();
this.ciApiService.settingRoute(simulation, route.getCode()); if (!route.isSetting() && !route.isLock()) {
this.ciApiService.settingRoute(simulation, route.getCode());
}
} }
} }