| | |
| | | /// <param name="attributeDataType">数据类型</param>
|
| | | /// <param name="attributeData">需要写入的数据</param>
|
| | | /// <returns></returns>
|
| | | public async System.Threading.Tasks.Task<CommonDevice.SetWritableValueResponAllData> WriteDeviceAttribute(CommonDevice device, int clusterId, int attributeId, int attributeDataType, int attributeData)
|
| | | public async System.Threading.Tasks.Task<CommonDevice.SetWritableValueResponAllData> WriteDeviceAttribute(CommonDevice device, int clusterId, int attributeId, int attributeDataType, string attributeData)
|
| | | {
|
| | | var MyGateway = device.Gateway;
|
| | | if (MyGateway == null)
|