diff --git a/src/main/java/club/joylink/xiannccda/ats/warn/SwitchAndLedInterlockTask.java b/src/main/java/club/joylink/xiannccda/ats/warn/SwitchAndLedInterlockTask.java index 00e2d20..15a05cc 100644 --- a/src/main/java/club/joylink/xiannccda/ats/warn/SwitchAndLedInterlockTask.java +++ b/src/main/java/club/joylink/xiannccda/ats/warn/SwitchAndLedInterlockTask.java @@ -51,10 +51,11 @@ public class SwitchAndLedInterlockTask implements AlertMonitoringTask { for (String interlockLevel : interlockOneList) { Map detailMap = interLockData.getDetailByInterlockKey(interlockLevel); for (InterLockDetail detail : detailMap.values()) { - if (StringUtils.endsWith(interlockLevel, AlertDeviceType.DEVICE_TYPE_SWITCH.name())) { + /*if (StringUtils.endsWith(interlockLevel, AlertDeviceType.DEVICE_TYPE_SWITCH.name())) { int total = this.handle2(AlertType.SWITCH_LOST, lineIdInt, detail.getRtuId()); this.validateAlert(detail, total, AlertType.SWITCH_LOST_INTERLOCK_AREA, AlertDeviceType.DEVICE_TYPE_SWITCH, lineIdInt); - } else if (StringUtils.endsWith(interlockLevel, AlertDeviceType.DEVICE_TYPE_TRACK.name())) { + } else*/ + if (StringUtils.endsWith(interlockLevel, AlertDeviceType.DEVICE_TYPE_TRACK.name())) { int redTotal = this.handle2(AlertType.AXLE_LED_RED, lineIdInt, detail.getRtuId()); int orangeTotal = this.handle2(AlertType.AXLE_LED_ORANGE, lineIdInt, detail.getRtuId()); this.validateAlert(detail, redTotal, AlertType.AXLE_LED_RED_INTERLOCK_AREA, AlertDeviceType.DEVICE_TYPE_TRACK, lineIdInt); diff --git a/xian-ncc-da-message b/xian-ncc-da-message index 2b147a0..30dfea6 160000 --- a/xian-ncc-da-message +++ b/xian-ncc-da-message @@ -1 +1 @@ -Subproject commit 2b147a06d065df7743012cf63cfcbfee0ef3dcd4 +Subproject commit 30dfea6f7f1dc81f91d2eca4bdbe13623cba0d1c