From 12e606635c42ea20f4b7c2bdda5204237a4b4c96 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 02 三月 2026 16:14:49 +0800
Subject: [PATCH] 优化

---
 HMI.Core/Util/PathHelper.cs |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/HMI.Core/Util/PathHelper.cs b/HMI.Core/Util/PathHelper.cs
index ad80093..956c8bc 100644
--- a/HMI.Core/Util/PathHelper.cs
+++ b/HMI.Core/Util/PathHelper.cs
@@ -155,6 +155,18 @@
             return Path;
         }
 
+        public static string BlockAlarmSettingPath()
+        {
+            string Path = RootPath() + "\\Config\\AlarmInfo\\BlockSetting.xml";
+            return Path;
+        }
+
+        public static string MarkAlarmSettingPath()
+        {
+            string Path = RootPath() + "\\Config\\AlarmInfo\\MarkSetting.xml";
+            return Path;
+        }
+
         /// <summary>
         /// 鎻掍欢瀛樺偍鐩綍
         /// </summary>
@@ -174,7 +186,7 @@
                     Directory.CreateDirectory(path);
                 }
             }
-            catch (Exception ex)
+            catch
             {
 
             }

--
Gitblit v1.9.1