From 944b87b6bcccb095cd73f13f4410fb20faf48f74 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期三, 25 十二月 2019 11:21:06 +0800 Subject: [PATCH] 2019.12.25 --- ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs index ad4b485..b61a0b0 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs @@ -206,7 +206,7 @@ if (i != 0 && i % 5 == 0) { //璇诲彇5涓悗锛岄棿闅斾竴娈垫椂闂� - System.Threading.Thread.Sleep(500); + System.Threading.Thread.Sleep(200); if (this.Parent == null) { return; @@ -231,7 +231,7 @@ /// </summary> private void StartReceiveDataEvent() { - HdlDeviceAttributeLogic.Current.AddAttributeEvent("IndoorUnitListFormEvent", "DeviceStatusReport", (device) => + HdlGatewayReceiveLogic.Current.AddAttributeEvent("IndoorUnitListFormEvent", ReceiveComandDiv.A璁惧灞炴�т笂鎶�, (device) => { string mainkeys = Common.LocalDevice.Current.GetDeviceMainKeys(device); if (dicControl.ContainsKey(mainkeys) == false || device.DeviceStatusReport.CluterID != 513) @@ -299,11 +299,11 @@ /// <summary> /// 鐣岄潰鍏抽棴 /// </summary> - public override void CloseForm() + public override void CloseFormBefore() { - HdlDeviceAttributeLogic.Current.RemoveEvent("IndoorUnitListFormEvent"); + HdlGatewayReceiveLogic.Current.RemoveEvent("IndoorUnitListFormEvent"); - base.CloseForm(); + base.CloseFormBefore(); } #endregion -- Gitblit v1.8.0