From d350f15260821abf33921376eec9cccdda683d8f Mon Sep 17 00:00:00 2001 From: joylink_zhangsai <1021828630@qq.com> Date: Mon, 21 Jun 2021 14:17:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=9AIBP=E7=9B=98?= =?UTF-8?q?=E8=9C=82=E9=B8=A3=E5=99=A8bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../club/joylink/rtss/services/VirtualRealityIbpService.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/club/joylink/rtss/services/VirtualRealityIbpService.java b/src/main/java/club/joylink/rtss/services/VirtualRealityIbpService.java index 8f07afdd5..53f929577 100644 --- a/src/main/java/club/joylink/rtss/services/VirtualRealityIbpService.java +++ b/src/main/java/club/joylink/rtss/services/VirtualRealityIbpService.java @@ -100,6 +100,7 @@ public class VirtualRealityIbpService implements IVirtualRealityIbpService { case JJTC: element.setOn(true); stands.forEach(stand -> ciApiService.standEC(simulation, stand)); + ibp.query(VirtualRealityIbp.Mean.ALARM, element.getUp()).forEach(alarm -> alarm.setOn(true)); break; case QXJJTC: element.setOn(true); @@ -265,9 +266,7 @@ public class VirtualRealityIbpService implements IVirtualRealityIbpService { case KM: case AXLE_RESET: case PRERESET_Z: - break; case ALARM: - element.setOn(stands.stream().anyMatch(Stand::isEmergencyClosed)); break; case kcLight: element.setOn(stands.stream().anyMatch(Stand::isIbpHoldTrain));