| | |
| | | if (Common.Config.Instance.Home.IsVirtually == true) |
| | | { |
| | | //直接添加缓存 |
| | | TemplateData.TemplateDeviceDataLogic.Current.SetAcModeSupport(device, data, null); |
| | | HdlTemplateDeviceDataLogic.Current.SetAcModeSupport(device, data, null); |
| | | return true; |
| | | } |
| | | //发送数据 |
| | |
| | | } |
| | | |
| | | //添加缓存 |
| | | TemplateData.TemplateDeviceDataLogic.Current.SetAcModeSupport(device, data, result.JsonData[0]); |
| | | HdlTemplateDeviceDataLogic.Current.SetAcModeSupport(device, data, result.JsonData[0]); |
| | | |
| | | return true; |
| | | } |
| | |
| | | if (Common.Config.Instance.Home.IsVirtually == true) |
| | | { |
| | | //直接添加缓存 |
| | | TemplateData.TemplateDeviceDataLogic.Current.SetAcSwingModeSupport(device, data, null); |
| | | HdlTemplateDeviceDataLogic.Current.SetAcSwingModeSupport(device, data, null); |
| | | return true; |
| | | } |
| | | //发送数据 |
| | |
| | | } |
| | | |
| | | //添加缓存 |
| | | TemplateData.TemplateDeviceDataLogic.Current.SetAcSwingModeSupport(device, data, result.JsonData[0]); |
| | | HdlTemplateDeviceDataLogic.Current.SetAcSwingModeSupport(device, data, result.JsonData[0]); |
| | | |
| | | return true; |
| | | } |