diff --git a/src/main/java/club/joylink/xiannccda/ats/cache/LineGraphicDataRepository.java b/src/main/java/club/joylink/xiannccda/ats/cache/LineGraphicDataRepository.java index 42645c5..4bfbb34 100644 --- a/src/main/java/club/joylink/xiannccda/ats/cache/LineGraphicDataRepository.java +++ b/src/main/java/club/joylink/xiannccda/ats/cache/LineGraphicDataRepository.java @@ -138,6 +138,10 @@ public class LineGraphicDataRepository { } } + private void initDeviceStationCenter() { + + } + public static Optional findLayoutPlatformFromSection(Integer lineId, String sectionName) { MessageOrBuilder sectionMsg = LineGraphicDataRepository.getDeviceByCodeNotException(lineId, sectionName); if (Objects.isNull(sectionMsg)) { diff --git a/src/main/java/club/joylink/xiannccda/ats/warn/BuleDisplayMonitoringTask.java b/src/main/java/club/joylink/xiannccda/ats/warn/BuleDisplayMonitoringTask.java index fcf7313..eb9e316 100644 --- a/src/main/java/club/joylink/xiannccda/ats/warn/BuleDisplayMonitoringTask.java +++ b/src/main/java/club/joylink/xiannccda/ats/warn/BuleDisplayMonitoringTask.java @@ -97,7 +97,7 @@ public class BuleDisplayMonitoringTask implements AlertMonitoringTask { if (allShutdownList.size() == interLockCount && allShutdownList.stream().allMatch(d -> d)) { if (alertManager.putAlterDevice(lineId, ALL_BULE_DISPLAY_NAME, "All")) { - NccAlertInfo alertInfo = this.alertInfoService.createAlert2(null, AlertType.BLUE_DISPLAY, lineId, LocalDateTime.now(), "全线蓝线", null, + NccAlertInfo alertInfo = this.alertInfoService.createAlert2(null, AlertType.ALL_LINE_BLUE_DISPLAY, lineId, LocalDateTime.now(), "全线蓝线", null, AlertDeviceType.DEVICE_TYPE_RTU, false); alertManager.emit(alertInfo); }