diff --git a/src/main/java/club/joylink/rtss/services/training/generatornew/base/SignalGeneratorNew.java b/src/main/java/club/joylink/rtss/services/training/generatornew/base/SignalGeneratorNew.java index 42873b668..c59494014 100644 --- a/src/main/java/club/joylink/rtss/services/training/generatornew/base/SignalGeneratorNew.java +++ b/src/main/java/club/joylink/rtss/services/training/generatornew/base/SignalGeneratorNew.java @@ -280,27 +280,27 @@ public class SignalGeneratorNew implements GeneratorNew { continue; } case Signal_Set_Guide: { - // 若信号机可开引导信号,则生成实训,暂不设置背景(暂时先简单处理,此处业务比较复杂,需明确后再生成各种情况的实训) - if (!signal.isCallOn()) { // 不是引导信号机,不生成 - continue; - } else { - //非折返进路办理引导 - List notTurnBackRouteList = routeList.stream() - .filter(route -> !route.isTurnBack()) - .collect(Collectors.toList()); - if (routeLikeHa1) { - // 对于ATP进路、地面联锁进路、引导进路类的,取引导进路 - notTurnBackRouteList = notTurnBackRouteList.stream() - .filter(route -> route.isGuide()) - .collect(Collectors.toList()); - } - for (Route route : notTurnBackRouteList) { - trainingVOList.add(this.build(config, simulation, route, operateDefinitionVO)); - // 仿真重置 - simulation.reset(); - } - continue; - } +// // 若信号机可开引导信号,则生成实训,暂不设置背景(暂时先简单处理,此处业务比较复杂,需明确后再生成各种情况的实训) +// if (!signal.isCallOn()) { // 不是引导信号机,不生成 +// continue; +// } else { +// //非折返进路办理引导 +// List notTurnBackRouteList = routeList.stream() +// .filter(route -> !route.isTurnBack()) +// .collect(Collectors.toList()); +// if (routeLikeHa1) { +// // 对于ATP进路、地面联锁进路、引导进路类的,取引导进路 +// notTurnBackRouteList = notTurnBackRouteList.stream() +// .filter(route -> route.isGuide()) +// .collect(Collectors.toList()); +// } +// for (Route route : notTurnBackRouteList) { +// trainingVOList.add(this.build(config, simulation, route, operateDefinitionVO)); +// // 仿真重置 +// simulation.reset(); +// } +// continue; +// } } case Signal_Close_Guide: { // 若信号可开放引导信号,生成实训,背景设置为开放引导进路/开放引导信号