From 3272ca5b51e19f7f8a827b0f68400570a547fe60 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期二, 28 四月 2020 15:02:44 +0800
Subject: [PATCH] 2020-04-28-1

---
 ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs |   18 +++++-------------
 1 files changed, 5 insertions(+), 13 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs
index 7b1109c..f95c63a 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/IndoorUnitListForm.cs
@@ -211,21 +211,13 @@
             {
                 for (int i = 0; i < listDevice.Count; i++)
                 {
-                    if (i != 0 && i % 3 == 0)
+                    if (this.Parent == null)
                     {
-                        //璇诲彇5涓悗锛岄棿闅斾竴娈垫椂闂�
-                        System.Threading.Thread.Sleep(200);
-                        if (this.Parent == null)
-                        {
-                            return;
-                        }
+                        return;
                     }
-                    //鑾峰彇褰撳墠瀹ゆ俯
-                    ((AC)listDevice[i]).ReadLocalTemperature();
-                    //鑾峰彇寮�鍏崇姸鎬�(澶勪簬鏌愮宸ヤ綔鐘舵��,鍗充负鎵撳紑鐘舵��)
-                    ((AC)listDevice[i]).ReadSystemMode();
-                    //娓呮礂婊ょ綉
-                    listDevice[i].ReadAttri(Cluster_ID.Thermostat, AttriButeId.FilterCleaningStatus);
+                    //璇诲彇鐘舵��
+                    HdlDeviceAttributeLogic.Current.SendThermostatStatuComand(listDevice[i]);
+                    System.Threading.Thread.Sleep(200);
                 }
             });
         }

--
Gitblit v1.8.0