From c7df85937f73fb347ee0b19e9c052d2d00a6df6c Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期五, 18 九月 2020 13:58:19 +0800 Subject: [PATCH] 新版本 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlDeviceAirConditionerLogic.cs | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlDeviceAirConditionerLogic.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlDeviceAirConditionerLogic.cs index 8ff084f..2193c34 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlDeviceAirConditionerLogic.cs +++ b/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) -- Gitblit v1.8.0