From 12e606635c42ea20f4b7c2bdda5204237a4b4c96 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 02 三月 2026 16:14:49 +0800
Subject: [PATCH] 优化

---
 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