南京二 实训问题处理
This commit is contained in:
parent
002fca4c64
commit
5130b67ddd
@ -453,7 +453,7 @@ public class AtsStandService {
|
|||||||
*/
|
*/
|
||||||
public void cancelSetting(Simulation simulation, String standCode) {
|
public void cancelSetting(Simulation simulation, String standCode) {
|
||||||
Stand stand = simulation.getRepository().getByCode(standCode, Stand.class);
|
Stand stand = simulation.getRepository().getByCode(standCode, Stand.class);
|
||||||
if (stand.isStationHoldTrain()) {
|
if (stand.isStationHoldTrain() || stand.isCenterHoldTrain()) {
|
||||||
cancelHoldTrain(simulation, standCode);
|
cancelHoldTrain(simulation, standCode);
|
||||||
} else if (stand.isAllSkip()) {
|
} else if (stand.isAllSkip()) {
|
||||||
cancelJumpStop(simulation, standCode, null);
|
cancelJumpStop(simulation, standCode, null);
|
||||||
|
Loading…
Reference in New Issue
Block a user