From b729f33ce8544499e81e8005587949e470f49137 Mon Sep 17 00:00:00 2001 From: weizhihong Date: Thu, 5 Jan 2023 09:15:31 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=AE=9E=E8=AE=AD=E9=81=93=E5=B2=94?= =?UTF-8?q?=E5=88=97=E8=A1=A8=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 | 6 ++++++ 1 file changed, 6 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 b228d550f..1dddbc467 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 @@ -566,6 +566,12 @@ public enum MapDeviceRule { return generateRandomElement(switchList, NUMBER); } }, + SWITCH_CONTROL_UN_SINGLE_LOCK_LIST("控制模式车站非锁定道岔列表") { + @Override + public List filterMapDeviceList(Simulation simulation) { + return generateRandomElement(queryNormalSwitchList(simulation, s -> !s.isSingleLock() && s.getDeviceStation().isHasControlMode()), NUMBER); + } + }, /**************************************** 进路列表 *********************************************/ ROUTE_NORMAL_LIST("进路列表") { @Override