|
@ -83,16 +83,12 @@ namespace SunlightCentralizedControlManagement_SCCM_.ViewModel |
|
|
{ |
|
|
{ |
|
|
for (int i = 0; i < Machinesdata_Count; i++) |
|
|
for (int i = 0; i < Machinesdata_Count; i++) |
|
|
{ |
|
|
{ |
|
|
// if ( Selet_Machines(Machines,"State", i).ToString() =="801")
|
|
|
if ( Selet_Machines(Machines,"State", i).ToString() =="801") |
|
|
// MachiensTcpClient[i].SendAsync("SC800:SCCM["+ MachiensTcpClient[i].IP+";"+ MachiensTcpClient[i].Port+"]");
|
|
|
MachiensTcpClient[i].SendAsync("SC800:SCCM["+ MachiensTcpClient[i].IP+";"+ MachiensTcpClient[i].Port+"]"); |
|
|
|
|
|
|
|
|
MachiensTcpClient[1].SendAsync("SC851BED2E58B6EBB4BD4"); |
|
|
// MachiensTcpClient[1].SendAsync("SC851BED2E58B6EBB4BD4");
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// DataTable obj = JsonConvert.DeserializeObject<DataTable>(yt);//反序列化
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
void DisTimer_500MS(object sender, EventArgs e)//Tick_Event周期执行事件500MS
|
|
|
void DisTimer_500MS(object sender, EventArgs e)//Tick_Event周期执行事件500MS
|
|
|
{ |
|
|
{ |
|
|