sc 7 months ago
parent
commit
41350cbd12
  1. 2
      View/MonitorView.xaml.cs

2
View/MonitorView.xaml.cs

@ -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))
{ {

Loading…
Cancel
Save