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