From 9ce414e3ee0c2c8cf2f2b8fa987fcdb9185d7aee Mon Sep 17 00:00:00 2001 From: weizhihong Date: Mon, 9 Jan 2023 13:15:06 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=AE=9E=E8=AE=AD=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E6=A8=A1=E5=BC=8F=E8=BD=A6=E7=AB=99=E4=BF=A1?= =?UTF-8?q?=E5=8F=B7=E6=9C=BA=E7=AD=9B=E9=80=89=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../club/joylink/rtss/vo/training2/rule/MapDeviceRule.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/club/joylink/rtss/vo/training2/rule/MapDeviceRule.java b/src/main/java/club/joylink/rtss/vo/training2/rule/MapDeviceRule.java index 5ff75b424..17414b316 100644 --- a/src/main/java/club/joylink/rtss/vo/training2/rule/MapDeviceRule.java +++ b/src/main/java/club/joylink/rtss/vo/training2/rule/MapDeviceRule.java @@ -517,6 +517,13 @@ public enum MapDeviceRule { ? signal.getStation().isCentralized() : signal.getDeviceStation().isCentralized()), NUMBER); } }, + SIGNAL_CONTROL_LIST("控制模式车站信号机列表") { + @Override + public List filterMapDeviceList(Simulation simulation) { + return generateRandomElement(queryNormalSignalList(simulation, signal -> signal.getStation() != null + ? signal.getStation().isInterlock() : signal.getDeviceStation().isInterlock()), NUMBER); + } + }, SIGNAL_FIRST_STATION_LIST("获取第一个站信号机列表") { @Override public List filterMapDeviceList(Simulation simulation) {