Merge branch 'master' of http://www.scserverddns.top:13000/sc/SunlightAggregationManager
This commit is contained in:
commit
84b14491e2
4 files changed
+74
-16
No files matched your search
@@ -28,6 +28,7 @@ namespace SunlightAggregationManager.ViewModel
|
||||
public static string TCP_E = "0";
|
||||
public static string HTTP_E = "0";
|
||||
public static string TLS_E = "0";
|
||||
public static DataBase dataBase = new DataBase();
|
||||
public static UserClass.SqliteHelper SQLiteHelpers = null!; //定义数据库
|
||||
private readonly string DBAddress = Environment.CurrentDirectory + "\\DataBase\\SunlightAggregationManager.db"; //数据库路径
|
||||
|
||||
@@ -78,8 +79,7 @@ namespace SunlightAggregationManager.ViewModel
|
||||
Console.WriteLine(ex.ToString());
|
||||
}
|
||||
|
||||
//运行数据库
|
||||
DataBase dataBase = new DataBase();
|
||||
//运行数据库
|
||||
dataBase.Config(SQLIP, SQLNAME, SQMOD, SQLUSER, SQLPASWORD);
|
||||
|
||||
if (TCP_E == "1")//启动tcp(内网直连)
|
||||
|
||||
Reference in new issue
Block a user