From dedcf4174c8540ee3a912daad2ff13e014e495b1 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期五, 28 三月 2025 16:28:30 +0800
Subject: [PATCH] 优化UI组件;
---
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