From 0f99680aff09e91f521b5909aab42811c1c3e6f1 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期三, 09 四月 2025 15:28:16 +0800 Subject: [PATCH] 优化Revit=>HydroModelInfo转换方法 --- Service/HStation.Service.Xhs.Core/00-core/ConfigHelper.cs | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Service/HStation.Service.Xhs.Core/00-core/ConfigHelper.cs b/Service/HStation.Service.Xhs.Core/00-core/ConfigHelper.cs index b9bc8df..1086af4 100644 --- a/Service/HStation.Service.Xhs.Core/00-core/ConfigHelper.cs +++ b/Service/HStation.Service.Xhs.Core/00-core/ConfigHelper.cs @@ -1,6 +1,6 @@ 锘縩amespace HStation.Xhs { - public class ConfigHelper + internal class ConfigHelper { /// <summary> /// 榛樿杩炴帴閰嶇疆 @@ -17,11 +17,13 @@ connectConfig = PostgreSqlConnectionConfig; } break; + case DbType.SQLite: { connectConfig = SQLiteConnectionConfig; } break; + default: break; } return connectConfig; @@ -31,7 +33,7 @@ /// <summary> /// PostgreSql杩炴帴閰嶇疆 /// </summary> - public static ConnectionConfig PostgreSqlConnectionConfig + internal static ConnectionConfig PostgreSqlConnectionConfig { get { @@ -61,7 +63,7 @@ /// <summary> /// SQLite杩炴帴閰嶇疆 /// </summary> - public static ConnectionConfig SQLiteConnectionConfig + internal static ConnectionConfig SQLiteConnectionConfig { get { -- Gitblit v1.9.3