黄学彪
2020-12-16 0d9f64668fd7350d6a21fd157e32009a96d98134
ZigbeeApp/Shared/Phone/UserCenter/Device/AirConditioner/AirConditionerModeForm.cs
@@ -79,7 +79,7 @@
                {
                    //获取空调模式失败
                    string msg = Language.StringByID(R.MyInternationalizationString.uGetAcModeFail);
                    msg = UserCenterLogic.CombineGatewayTimeOutMsg(msg, null, "回复超时");
                    msg = HdlCommonLogic.Current.CombineGatewayTimeOutMsg(msg, null, "回复超时");
                    this.ShowMassage(ShowMsgType.Tip, msg);
                    this.CloseProgressBar(ShowReLoadMode.YES);
                    return;
@@ -198,7 +198,7 @@
            //如果是虚拟住宅
            if (Common.Config.Instance.Home.IsVirtually == true || Common.Config.Instance.Home.IsShowTemplate == true)
            {
                var data = TemplateData.TemplateDeviceDataLogic.Current.GetAcModeSupport(deviceAc);
                var data = HdlTemplateDeviceDataLogic.Current.GetAcModeSupport(deviceAc);
                //转换为二进制
                var value = Convert.ToString(data, 2).PadLeft(16, '0');
                //这五个设置是放在后面的
@@ -208,10 +208,10 @@
                return;
            }
            string mainkeys = Common.LocalDevice.Current.GetDeviceMainKeys(deviceAc);
            string mainkeys = HdlDeviceCommonLogic.Current.GetDeviceMainKeys(deviceAc);
            HdlGatewayReceiveLogic.Current.AddAttributeEvent("ReadAirConditionerModeSupport", ReceiveComandDiv.A设备属性上报, (report) =>
            {
                string checkKeys = Common.LocalDevice.Current.GetDeviceMainKeys(report);
                string checkKeys = HdlDeviceCommonLogic.Current.GetDeviceMainKeys(report);
                if (checkKeys != mainkeys || report.DeviceStatusReport.CluterID != 513)
                {
                    return;