From fe2aa4880d5c9fd88088ad0ed81ebaca05629f5f Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 02 十一月 2026 17:59:45 +0800
Subject: [PATCH] feat: 集成CAN驱动/模拟器 + 仪器仪表注册/硬件调试模块
---
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