From 559890c482f5973f06aafdfec9550fee5ba3c7f2 Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 09 十一月 2026 17:02:15 +0800
Subject: [PATCH] feat: CAN 模拟器 TCP 化 + 多设备并发调试 + 后台生命周期管理

---
 HMI.Util/Alarm/AlarmUtil.cs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/HMI.Util/Alarm/AlarmUtil.cs b/HMI.Util/Alarm/AlarmUtil.cs
index ea9988f..35ad725 100644
--- a/HMI.Util/Alarm/AlarmUtil.cs
+++ b/HMI.Util/Alarm/AlarmUtil.cs
@@ -20,7 +20,7 @@
 
         public event EventHandler<LoadMsg> LoadMessageAppend;
 
-        private static ILog log = LogManager.GetLogger("AlarmHelper");
+        internal static ILog log = LogManager.GetLogger("AlarmHelper");
 
         internal AlarmHelper()
         {
@@ -353,10 +353,12 @@
 
         public static void Init()
         {
+            AlarmHelper.log.Info("AlarmUtil initing...");
             Instance = new AlarmHelper();
             Instance.LoadMessageAppend += Instance_LoadMessageAppend; ;
             Instance.InitInstance();
             Instance.OnAlarm += Instance_OnAlarm;
+            AlarmHelper.log.Info("AlarmUtil inited finished.");
         }
 
         private static void Instance_LoadMessageAppend(object sender, LoadMsg e)

--
Gitblit v1.9.1