From a3ba25607612818c28d421bfa8eb2f92339d71ac Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期四, 13 三月 2025 20:30:48 +0800
Subject: [PATCH] 优化项目;

---
 HMI.Core/Util/SqliteHelper.cs |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/HMI.Core/Util/SqliteHelper.cs b/HMI.Core/Util/SqliteHelper.cs
index 34502b6..5541091 100644
--- a/HMI.Core/Util/SqliteHelper.cs
+++ b/HMI.Core/Util/SqliteHelper.cs
@@ -1,15 +1,13 @@
 锘縰sing System;
 using System.Collections.Generic;
 using System.Data;
-using System.Data.Common;
-using System.Data.Odbc;
 using System.Data.SQLite;
 
 namespace HMI.Core.Util
 {
     public class SqliteHelper
     {
-        private string DataBaseFile = string.Empty;
+        public string DataBaseFile { get; private set; } = string.Empty;
 
         private string ConnectString = string.Empty;
 
@@ -188,7 +186,7 @@
             }
             catch (Exception ex)
             {
-                throw new Exception("鑾峰彇瀛楁鍚嶇О澶辫触:" + ex.Message);
+                throw new Exception("鑾峰彇琛ㄥ瓧娈靛悕绉板け璐�:" + ex.Message);
             }
         }
 
@@ -210,7 +208,7 @@
             }
             catch (Exception ex)
             {
-                throw new Exception("鑾峰彇瀛楁鍚嶇О澶辫触:" + ex.Message);
+                throw new Exception("鑾峰彇琛ㄥ悕澶辫触:" + ex.Message);
             }
         }
 

--
Gitblit v1.9.1