From d1b72117058f1131046b6aa3add8e3ccfae033d8 Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 09 十一月 2026 10:36:07 +0800
Subject: [PATCH] docs: CAN 模拟器独立 TCP 服务进程设计规格(统一 CanDeviceDriver + 双工推送协议)

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