From c39648bd5955c8aec260f5de29b04ed736ef855a Mon Sep 17 00:00:00 2001 From: joylink_zhangsai <1021828630@qq.com> Date: Wed, 16 Jun 2021 15:02:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=9A=E6=8D=A2=E7=AB=AF?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E7=9A=84=E5=BE=AA=E7=8E=AF=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../joylink/rtss/simulation/cbtc/onboard/ATP/ATPLogicLoop.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/club/joylink/rtss/simulation/cbtc/onboard/ATP/ATPLogicLoop.java b/src/main/java/club/joylink/rtss/simulation/cbtc/onboard/ATP/ATPLogicLoop.java index 3930acded..fbcec8419 100644 --- a/src/main/java/club/joylink/rtss/simulation/cbtc/onboard/ATP/ATPLogicLoop.java +++ b/src/main/java/club/joylink/rtss/simulation/cbtc/onboard/ATP/ATPLogicLoop.java @@ -59,7 +59,7 @@ public class ATPLogicLoop { this.onboardLogicRun2(simulation, train); SimulationMember member = simulation .findMemberByRoleAndDeviceCode(SimulationMember.Type.DRIVER, train.getGroupNumber()); - if (Objects.nonNull(member) && member.isRobot()) { + if (Objects.nonNull(member) && train.isAtoOn()/*&& member.isRobot()*/) { this.driveLogicRun(simulation, train); } }