From 5130b67ddd789da04c2210754dfb908e58695eb2 Mon Sep 17 00:00:00 2001 From: Jade Date: Wed, 24 Nov 2021 09:36:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=97=E4=BA=AC=E4=BA=8C=20=E5=AE=9E?= =?UTF-8?q?=E8=AE=AD=E9=97=AE=E9=A2=98=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../rtss/simulation/cbtc/ATS/service/AtsStandService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/club/joylink/rtss/simulation/cbtc/ATS/service/AtsStandService.java b/src/main/java/club/joylink/rtss/simulation/cbtc/ATS/service/AtsStandService.java index d8b67baa1..2fbfe7328 100644 --- a/src/main/java/club/joylink/rtss/simulation/cbtc/ATS/service/AtsStandService.java +++ b/src/main/java/club/joylink/rtss/simulation/cbtc/ATS/service/AtsStandService.java @@ -453,7 +453,7 @@ public class AtsStandService { */ public void cancelSetting(Simulation simulation, String standCode) { Stand stand = simulation.getRepository().getByCode(standCode, Stand.class); - if (stand.isStationHoldTrain()) { + if (stand.isStationHoldTrain() || stand.isCenterHoldTrain()) { cancelHoldTrain(simulation, standCode); } else if (stand.isAllSkip()) { cancelJumpStop(simulation, standCode, null);