黄学彪
2020-04-02 9904031f5291daaf56985146bb671f25e18ebbdf
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);
                    //读取状态
                    Phone.Device.DeviceLogic.ReadDeviceAttributeLogic.Instance.SendThermostatStatuComand(listDevice[i]);
                    System.Threading.Thread.Sleep(200);
                }
            });
        }