|
@ -687,7 +687,7 @@ public class DeviceServiceImpl implements IDeviceService { |
|
|
if (!isPublish) { |
|
|
if (!isPublish) { |
|
|
return PropertySetReplyResultEnum.SUCCESS.getResult(); |
|
|
return PropertySetReplyResultEnum.SUCCESS.getResult(); |
|
|
} |
|
|
} |
|
|
BaseModel baseModel = objectMapper.convertValue(param.get("thermal_current_palette_style"), propertyEnum.getProperty().getClazz()); |
|
|
BaseModel baseModel = objectMapper.convertValue(param, propertyEnum.getProperty().getClazz()); |
|
|
PropertySetReplyResultEnum result = abstractPropertyService.propertySet( |
|
|
PropertySetReplyResultEnum result = abstractPropertyService.propertySet( |
|
|
SDKManager.getDeviceSDK(dockSn), propertyEnum.getProperty(), baseModel); |
|
|
SDKManager.getDeviceSDK(dockSn), propertyEnum.getProperty(), baseModel); |
|
|
return result.getResult(); |
|
|
return result.getResult(); |
|
|