From b544d5cccd76735e034c8055918a50927b437474 Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期二, 10 十一月 2026 08:29:04 +0800
Subject: [PATCH] fix: 维护模式重复进入失败与按钮灰死 + Broker 并发验证用例

---
 HMI.Core/Api/IAlarmShow.cs |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/HMI.Core/Api/IAlarmShow.cs b/HMI.Core/Api/IAlarmShow.cs
index 65c2243..971e124 100644
--- a/HMI.Core/Api/IAlarmShow.cs
+++ b/HMI.Core/Api/IAlarmShow.cs
@@ -1,4 +1,5 @@
-锘縰sing System;
+锘縰sing HMI.Core.Entity;
+using System;
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
@@ -8,6 +9,11 @@
 {
     public interface IAlarmShow
     {
-        bool ShowAlarm(string message);
+        bool ShowAlarm(AlarmText alarm);
+    }
+
+    public interface IAlarmHandler
+    {
+        void HandleAlarm(AlarmText alarm);
     }
 }

--
Gitblit v1.9.1