From b302bb360b8b220e924a7ce74d9861d1431d61ba Mon Sep 17 00:00:00 2001 From: thesai <1021828630@qq.com> Date: Thu, 26 Sep 2024 15:20:55 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=96=B0=E5=A2=9E]=E5=BC=80=E5=90=AF=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E8=BF=9B=E8=B7=AF=E7=9A=84=E4=BF=A1=E5=8F=B7=E6=9C=BA?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E5=BC=80=E6=94=BE=E5=BC=95=E5=AF=BC=E4=BF=A1?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../joylink/rtss/simulation/cbtc/CI/CiApiServiceImpl2.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/club/joylink/rtss/simulation/cbtc/CI/CiApiServiceImpl2.java b/src/main/java/club/joylink/rtss/simulation/cbtc/CI/CiApiServiceImpl2.java index 7372f307e..0e7e266ce 100644 --- a/src/main/java/club/joylink/rtss/simulation/cbtc/CI/CiApiServiceImpl2.java +++ b/src/main/java/club/joylink/rtss/simulation/cbtc/CI/CiApiServiceImpl2.java @@ -413,6 +413,10 @@ public class CiApiServiceImpl2 implements CiApiService { throw BusinessExceptionAssertEnum.ARGUMENT_ILLEGAL.exception( "signalCode和routeCode不能都为空"); } + //开启联锁自动进路的信号机不能办理引导进路,需先解除自动进路(成都三操作文档) + if (signal.getRouteList().stream().anyMatch(Route::isFleetMode)) { + throw BusinessExceptionAssertEnum.OPERATION_FAIL.exception("需先解除自动进路状态"); + } if (route == null && signal.getRouteList().stream().anyMatch(Route::isAnySwitchMasterLock)) { openGuideAspect4GuideMasterLock(simulation, signal);