| | |
| | | if (value) |
| | | { |
| | | MainPage.Log($"网关在线,刷新设备状态"); |
| | | FunctionList.List.ReadAllFunctionStatus(); |
| | | new System.Threading.Thread(() => |
| | | { |
| | | System.Threading.Thread.Sleep(1000); |
| | | FunctionList.List.ReadAllFunctionStatus(); |
| | | }) |
| | | { IsBackground = true, Priority = System.Threading.ThreadPriority.AboveNormal }.Start(); |
| | | } |
| | | } |
| | | } |
| | |
| | | else |
| | | { |
| | | Dictionary<string, string> keys = new Dictionary<string, string>(); |
| | | keys.Add("sid", scene.userSceneId); |
| | | keys.Add("sid", scene.sid); |
| | | var aLinkData = new AlinkReadFunctionStatusObj() |
| | | { |
| | | id = Ins.msg_id.ToString(), |