Browse Source

取消负载控制验证

dev
吴远 3 days ago
parent
commit
caef6c0cff
  1. 2
      dk-modules/sample/src/main/java/org/dromara/sample/manage/service/impl/DeviceServiceImpl.java

2
dk-modules/sample/src/main/java/org/dromara/sample/manage/service/impl/DeviceServiceImpl.java

@ -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();

Loading…
Cancel
Save