From 2e889843b4c171f2d6ad8e0d53084040703d11f6 Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 09 十一月 2026 13:18:21 +0800
Subject: [PATCH] docs: CAN 总线级应答器 + 硬件调试页多标签多会话 设计规格

---
 WPFProject/ResourceListener.cs |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/WPFProject/ResourceListener.cs b/WPFProject/ResourceListener.cs
index cbd8f05..3759620 100644
--- a/WPFProject/ResourceListener.cs
+++ b/WPFProject/ResourceListener.cs
@@ -1,10 +1,8 @@
-锘縰sing HMI.Simple.Util;
-using log4net;
+锘縰sing log4net;
 using System;
 using System.Diagnostics;
 using System.Management;
 using System.Timers;
-using System.Xml.Linq;
 
 namespace WPFProject
 {
@@ -97,11 +95,11 @@
                         totalCpuRate = totalCpuRate,
                         totalRemRate = usagePercent
                     });
-                    log.Info(info);
-                    //if (usagePercent > 80)
-                    //{
-                    //    AlarmUtil.CreateAlarm("App", "鍐呭瓨鍗犵敤杩囬珮锛岃秴80%", out _);
-                    //}
+                    if (usagePercent > 80)
+                    {
+                        log.Info(info);
+                        //AlarmUtil.CreateAlarm("App", "鍐呭瓨鍗犵敤杩囬珮锛岃秴80%", out _);
+                    }
                 }
             }
             catch (Exception ex)

--
Gitblit v1.9.1