| | |
| | | { |
| | | function.usageCount++; |
| | | function.refreshTime = DateTime.Now; |
| | | DAL.Server.HttpServerRequest httpServer = new DAL.Server.HttpServerRequest(); |
| | | |
| | | //远程通讯 |
| | | if (Ins.IsRemote) |
| | | { |
| | | DAL.Server.HttpServerRequest httpServer = new DAL.Server.HttpServerRequest(); |
| | | //ALink控制、Bus控制使用同一个接口控制,由云端负责解析 |
| | | var apiControlData = function.GetApiControlData(commandDictionary); |
| | | var actionObjs = new List<ApiAlinkControlActionObj>(); |
| | |
| | | public void UpdataFunctionStatus(string revString,byte []usefulBytes) |
| | | { |
| | | MainPage.Log($"A协议更新状态:{revString}"); |
| | | if(Control.Ins.myUdp!= null) |
| | | { |
| | | //重置重启udp判断调整 |
| | | Ins.myUdp.controlLostCount = 0; |
| | | } |
| | | var temp = Newtonsoft.Json.JsonConvert.DeserializeObject<AlinkFunctionStatusObj>(revString); |
| | | if (temp != null) |
| | | { |