From 37402ba638ef33b742892078590a4bc11746f9d8 Mon Sep 17 00:00:00 2001 From: tiger_zhou Date: Fri, 22 Dec 2023 10:31:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=93=9D=E7=BA=BF=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xiannccda/ats/cache/LineGraphicDataRepository.java | 4 ++++ .../joylink/xiannccda/ats/warn/BuleDisplayMonitoringTask.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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); }