Merge branch 'master' of http://www.scserverddns.top:13000/sc/SunlightCentralizedControlManagement
This commit is contained in:
commit
87d131b5e8
9 files changed
+139
-18
No files matched your search
@@ -108,9 +108,8 @@ namespace SunlightCentralizedControlManagement_SCCM_.UserClass
|
||||
}
|
||||
else if (SYSAPI == "SC831")
|
||||
{
|
||||
DAT = DAT.Substring(DAT.IndexOf("]") + 1);
|
||||
|
||||
MonitorView.TechnologicalProcess = JsonConvert.DeserializeObject<DataTable>(DAT);//反序列化
|
||||
DAT = DAT.Substring(DAT.IndexOf("]") + 1);
|
||||
MonitorView.TechnologicalProcess = JsonConvert.DeserializeObject<DataTable>(DAT);//反序列化
|
||||
}
|
||||
else if (SYSAPI == "SC832")
|
||||
{
|
||||
@@ -125,20 +124,9 @@ namespace SunlightCentralizedControlManagement_SCCM_.UserClass
|
||||
else if (SYSAPI == "SC851")
|
||||
{
|
||||
DAT = DAT.Substring(DAT.IndexOf("]") + 1);
|
||||
|
||||
|
||||
|
||||
DataTable obj = JsonConvert.DeserializeObject<DataTable>(DAT);//反序列化
|
||||
|
||||
|
||||
|
||||
// client.SendAsync("SC851" + "[" + MainWindowViewModel.S01 + "]" + MainWindowViewModel.dt_d.ToJsonString());//数字开关信息
|
||||
|
||||
|
||||
}//数字开关表
|
||||
|
||||
|
||||
// tcpClient.Logger.Info($"客户端接收到信息:{mes}");
|
||||
return EasyTask.CompletedTask;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user