From 7442082a7a9c5dff0a7c19e4b5d3ac319131cfba Mon Sep 17 00:00:00 2001 From: weizhihong Date: Tue, 25 Oct 2022 14:01:25 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=A9=BA=E6=8C=87=E9=92=88BUG?= =?UTF-8?q?=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../rtss/simulation/cbtc/CI/device/CiDeviceStatusCollector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/club/joylink/rtss/simulation/cbtc/CI/device/CiDeviceStatusCollector.java b/src/main/java/club/joylink/rtss/simulation/cbtc/CI/device/CiDeviceStatusCollector.java index ca43eeaf5..19fb6bd75 100644 --- a/src/main/java/club/joylink/rtss/simulation/cbtc/CI/device/CiDeviceStatusCollector.java +++ b/src/main/java/club/joylink/rtss/simulation/cbtc/CI/device/CiDeviceStatusCollector.java @@ -74,7 +74,7 @@ public class CiDeviceStatusCollector { } VirtualRealitySignal virtualSignal = signal.getVirtualSignal(); SignalAspect aspect = virtualSignal.getAspect(); - if (aspect.equals(SignalAspect.No)) { + if (SignalAspect.No.equals(aspect)) { signal.setLogicLight(true); } else { signal.setLogicLight(false);