黄学彪
2020-09-18 c7df85937f73fb347ee0b19e9c052d2d00a6df6c
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlDeviceAirConditionerLogic.cs
@@ -125,7 +125,7 @@
            if (Common.Config.Instance.Home.IsVirtually == true)
            {
                //直接添加缓存
                ModelData.DeviceModelDataLogic.Current.SetAcModeSupport(device, data, "SetWritableValue");
                TemplateData.TemplateDeviceDataLogic.Current.SetAcModeSupport(device, data, null);
                return true;
            }
            //发送数据
@@ -155,6 +155,9 @@
                return false;
            }
            //添加缓存
            TemplateData.TemplateDeviceDataLogic.Current.SetAcModeSupport(device, data, result.JsonData[0]);
            return true;
        }
@@ -174,7 +177,7 @@
            if (Common.Config.Instance.Home.IsVirtually == true)
            {
                //直接添加缓存
                ModelData.DeviceModelDataLogic.Current.SetAcSwingModeSupport(device, data, "SetWritableValue");
                TemplateData.TemplateDeviceDataLogic.Current.SetAcSwingModeSupport(device, data, null);
                return true;
            }
            //发送数据
@@ -203,6 +206,9 @@
                this.ShowTipMsg(msg);
                return false;
            }
            //添加缓存
            TemplateData.TemplateDeviceDataLogic.Current.SetAcSwingModeSupport(device, data, result.JsonData[0]);
            return true;
        }
@@ -599,7 +605,7 @@
        ///读取IRACC模块固件版本
        /// <para>reserve:0-ff</para>
        /// </summary>
        public async void UpgradeAsync(CommonDevice device, SendUpgradeData upgradeData)
        public void UpgradeAsync(CommonDevice device, SendUpgradeData upgradeData)
        {
            var Gateway = device.Gateway;
            if (Gateway == null)
@@ -752,7 +758,7 @@
        ///读取IRACC模块固件版本
        /// <para>status:0--成功;1--失败;ff--无效 .</para>
        /// </summary>
        public async void SendFinishAsync(CommonDevice device, int status)
        public void SendFinishAsync(CommonDevice device, int status)
        {
            var Gateway = device.Gateway;
            if (Gateway == null)