【大铁删除列车条件注释】
This commit is contained in:
parent
2a3f937fdb
commit
a007c12b50
@ -124,9 +124,9 @@ public class AtsTrainService {
|
||||
String.format("不存在车组号为[%s]的车次", groupNumber));
|
||||
}
|
||||
if (repository.getConfig().isHasCTC()) {// 大铁、删除列车
|
||||
if (!trainInfo.isStop()) {
|
||||
throw new SimulationException(SimulationExceptionType.Operation_Handle_FAIL, String.format("列车[%s]未停稳的车次", groupNumber));
|
||||
}
|
||||
// if (!trainInfo.isStop()) {
|
||||
// throw new SimulationException(SimulationExceptionType.Operation_Handle_FAIL, String.format("列车[%s]未停稳的车次", groupNumber));
|
||||
// }
|
||||
repository.deleteOnlineTrain(trainInfo.getGroupNumber());
|
||||
repository.deleteSuperviseTrain(trainInfo.getGroupNumber());
|
||||
} else if (!trainInfo.isCtcLevel()) { // 原始
|
||||
|
Loading…
Reference in New Issue
Block a user