From 4917fb959e2befec07a693e72d7010c09494ec7c Mon Sep 17 00:00:00 2001
From: ningshuxia <ningshuxia0927@outlook.com>
Date: 星期四, 03 四月 2025 15:38:34 +0800
Subject: [PATCH] 1.新增二输水流量压力偏差曲线

---
 02-desktop/DAL/IStation.DAL.Monitor/Core/FileHelper.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/02-desktop/DAL/IStation.DAL.Monitor/Core/FileHelper.cs b/02-desktop/DAL/IStation.DAL.Monitor/Core/FileHelper.cs
index 169f383..03cde04 100644
--- a/02-desktop/DAL/IStation.DAL.Monitor/Core/FileHelper.cs
+++ b/02-desktop/DAL/IStation.DAL.Monitor/Core/FileHelper.cs
@@ -13,7 +13,7 @@
         /// </summary>
         public static string GetDataFolder()
         {
-            var path = Path.Combine(Settings.File.RootDirectory, Settings.File.DataFolder);
+            var path = Path.Combine(SettingsD.File.RootDirectory, SettingsD.File.DataFolder);
             if (!Directory.Exists(path))
                 Directory.CreateDirectory(path);
             return path;
@@ -25,7 +25,7 @@
         public static string GetWorkFolder()
         {
             var dataFolder = GetDataFolder();
-            var workFolder = Path.Combine(dataFolder, Settings.File.WorkFolder);
+            var workFolder = Path.Combine(dataFolder, SettingsD.File.WorkFolder);
             if (!Directory.Exists(workFolder))
                 Directory.CreateDirectory(workFolder);
             return workFolder;
@@ -86,7 +86,7 @@
             if (!Directory.Exists(folderPath))
                 Directory.CreateDirectory(folderPath);
             var objType = typeof(T);
-            var fileName = Path.Combine(folderPath, objType.Name + Settings.File.FileExtension);
+            var fileName = Path.Combine(folderPath, objType.Name + SettingsD.File.FileExtension);
             return fileName;
         }
 

--
Gitblit v1.9.3