diff --git a/src/main/java/club/joylink/rtss/services/draftData/DraftMapCiDataGeneratorImpl.java b/src/main/java/club/joylink/rtss/services/draftData/DraftMapCiDataGeneratorImpl.java index bb5b10d3f..1e365d95a 100644 --- a/src/main/java/club/joylink/rtss/services/draftData/DraftMapCiDataGeneratorImpl.java +++ b/src/main/java/club/joylink/rtss/services/draftData/DraftMapCiDataGeneratorImpl.java @@ -187,8 +187,9 @@ public class DraftMapCiDataGeneratorImpl implements DraftMapCiDataGenerator { List approachList = new ArrayList<>(); log.info(String.format("共有信号机[%s]个", signalList.size())); for (Signal signal : signalList) { - if (signal.isBlockingSignal()) { + if (signal.isBlockingSignal() || signal.isTransmissionSignal()) { // 阻挡信号机永远红灯,不生成联锁 + // 传输信号机不需要生成联锁 continue; } // 信号机接近区段构建 diff --git a/src/main/java/club/joylink/rtss/simulation/cbtc/data/map/Signal.java b/src/main/java/club/joylink/rtss/simulation/cbtc/data/map/Signal.java index 6e9ff2745..c6041745b 100644 --- a/src/main/java/club/joylink/rtss/simulation/cbtc/data/map/Signal.java +++ b/src/main/java/club/joylink/rtss/simulation/cbtc/data/map/Signal.java @@ -339,6 +339,13 @@ public class Signal extends MayOutOfOrderDevice { return Objects.equals(this.type, SignalType.PROTECTION); } + /** + * 是否传输信号机 + */ + public boolean isTransmissionSignal() { + return SignalType.TRANSMISSION.equals(this.type); + } + /** * 是否与轨道常规运行方向相反 *