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