This commit is contained in:
sc committed 2025-04-05 21:16:24 +08:00
commit 41350cbd12
1 file changed
+1 -1
+1 -1
View File
@@ -128,7 +128,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.View
DataRow drEmployee = MainWindowViewModel.Machines.Select("NAME='" + machine + "'").First(); DataRow drEmployee = MainWindowViewModel.Machines.Select("NAME='" + machine + "'").First();
string host = drEmployee.Field<string>("IP"); string host = drEmployee.Field<string>("IP");
int port = Convert.ToInt16(drEmployee.Field<int>("PORT")); int port = Convert.ToInt16(drEmployee.Field<int>("PORT"));
string password = drEmployee.Field<string>("SYSKEY"); string password = "123456";//drEmployee.Field<string>("SYSKEY");
if (await PingTest(host)) if (await PingTest(host))
{ {