From 7d2738a88956378265b2457e9b352947d8bfc3c5 Mon Sep 17 00:00:00 2001 From: joylink_zhangsai <1021828630@qq.com> Date: Fri, 11 Jun 2021 14:49:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=EF=BC=9AIBP=E7=9B=98?= =?UTF-8?q?=E8=AE=A1=E8=BD=B4=E9=A2=84=E5=A4=8D=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../joylink/rtss/services/VirtualRealityIbpService.java | 4 +++- .../rtss/simulation/cbtc/data/vr/VirtualRealityIbp.java | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/main/java/club/joylink/rtss/services/VirtualRealityIbpService.java b/src/main/java/club/joylink/rtss/services/VirtualRealityIbpService.java index 8848f23e3..cc0cce6ce 100644 --- a/src/main/java/club/joylink/rtss/services/VirtualRealityIbpService.java +++ b/src/main/java/club/joylink/rtss/services/VirtualRealityIbpService.java @@ -111,9 +111,11 @@ public class VirtualRealityIbpService implements IVirtualRealityIbpService { case SXYS: ibp.setSxys(!ibp.isSxys()); break; - case PRERESET: + case AXLE_RESET: ciApiService.axleReset(simulation, buttonCode); break; + case AXLE_PRE_RESET: + ciApiService.axlePreReset(simulation, buttonCode); } } diff --git a/src/main/java/club/joylink/rtss/simulation/cbtc/data/vr/VirtualRealityIbp.java b/src/main/java/club/joylink/rtss/simulation/cbtc/data/vr/VirtualRealityIbp.java index 00c6d6a48..65224215b 100644 --- a/src/main/java/club/joylink/rtss/simulation/cbtc/data/vr/VirtualRealityIbp.java +++ b/src/main/java/club/joylink/rtss/simulation/cbtc/data/vr/VirtualRealityIbp.java @@ -72,7 +72,9 @@ public class VirtualRealityIbp { SXYS, //------------------ 区段 ------------------ - /** 预复位 */ - PRERESET, + /** 计轴复位 */ + AXLE_RESET, + /** 计轴预复位 */ + AXLE_PRE_RESET, } }