From bc874187e679e4a9941631d3196b14034fb993d2 Mon Sep 17 00:00:00 2001 From: weizhihong Date: Sun, 21 May 2023 15:54:05 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=A2=9E=E5=8A=A0=E5=AE=9E=E8=AE=AD?= =?UTF-8?q?=E4=B8=AD=E8=BF=9B=E8=B7=AF=E5=A7=8B=E7=BB=88=E4=BF=A1=E5=8F=B7?= =?UTF-8?q?=E6=9C=BA=E5=9C=A8=E5=90=8C=E4=B8=80=E8=81=94=E9=94=81=E7=AB=99?= =?UTF-8?q?=E7=9A=84=E8=A7=84=E5=88=99=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../joylink/rtss/vo/training2/rule/MapDeviceRule.java | 8 ++++++++ 1 file changed, 8 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 17414b316..d2c3e41b0 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 @@ -614,6 +614,14 @@ public enum MapDeviceRule { return generateRandomElement(queryNormalRouteList(simulation, r -> r.getInterlockStation().isHasControlMode() && !r.isGuide() && !r.isTurnBack()), NUMBER); } }, + ROUTE_CONTROL_SAME_STATION_LIST("控制模式车站进路始终信号机在同一站列表") { + @Override + public List filterMapDeviceList(Simulation simulation) { + return generateRandomElement(queryNormalRouteList(simulation, + r -> r.getInterlockStation().isHasControlMode() && !r.isGuide() && !r.isTurnBack() + && Objects.equals(r.getStart().getInterlockStation(), r.getDestination().getInterlockStation())), NUMBER); + } + }, ROUTE_GUIDE_LIST("引导进路列表") { @Override public List filterMapDeviceList(Simulation simulation) {