This commit is contained in:
Administrator committed 2026-06-25 12:38:04 +08:00
commit ee65be0f93
5 files changed
+27 -4

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
[SYS]
Language=zh-CN
Name=YZ
Enterprise=YONGZHAO
[SQL_SERVER]
SQL1=192.168.15.248
SQL2=BatchDyeingCentral
SQL3=SQL SERVER
SQL4=sa
SQL5=yf888999
[NETWORK]
TCP=1
HTTP=1
TLS=0
TCP_PORT1=7789
TCP_PORT2=7790
HTTP_PORT=7791
[SERVER]
SERVERIP=www.scserverddns.top:7795
SERVERNAME=SUNLIGHT
SERVERUSER=SUNLIGHT
SERRVERPASWORD=SUNLIGHT
Binary file not shown.
+2 -2
View File
@@ -264,8 +264,8 @@ namespace SunlightAggregationManager.UserClass
"Groups", "User='" + person?.User + "'");
DataTable resultTable = MainWindowViewModel.SQLiteHelpers.ExecuteDataSet("" +
"select * from Notification WHERE Groups='" + groups + "' and Time>'" +
s_ + "' and Time<'" + e_ + "'", null)?.Tables[0] ?? new DataTable();
"select * from Notification WHERE Groups='" + groups + "' and Id>'" +
s_ + "'", null)?.Tables[0] ?? new DataTable();
if(resultTable.Rows.Count==0) resultTable.Rows.Add();
//格式化返回信息
+1 -1
View File
@@ -99,7 +99,7 @@ namespace SunlightAggregationManager.View
{
string text_APP = "TEST"; //
string text_LINK = MainWindowViewModel.MachineIP + ":"+ MainWindowViewModel.MachineIPP1 +
"," + MainWindowViewModel.SERVERIP + "/"+ MainWindowViewModel.Enterprise;
"," + MainWindowViewModel.SERVERIP + ":7791/"+ MainWindowViewModel.Enterprise;
// 要生成二维码的内容
imgQR_CREATE(text_APP, imgQR_app);
+1 -1
View File
@@ -67,7 +67,7 @@ namespace SunlightAggregationManager.ViewModel
TCP_E = Configini.IniReadvalue("NETWORK", "TCP");
HTTP_E = Configini.IniReadvalue("NETWORK", "HTTP");
TLS_E = Configini.IniReadvalue("NETWORK", "TLS");
SERVERIP = Configini.IniReadvalue("SERVER", "SERVERIP");
SERVERIP = Configini.IniReadvalue("SERVER", "SERVERIP") + ":7795";
SERVERNAME = Configini.IniReadvalue("SERVER", "SERVERNAME");
SERVERUSER = Configini.IniReadvalue("SERVER", "SERVERUSER");
SERRVERPASWORD = Configini.IniReadvalue("SERVER", "SERRVERPASWORD");