| | |
| | | if (propertyEnumOpt.isEmpty()) { |
| | | return ResponseResult.error(CommonErrorEnum.ILLEGAL_ARGUMENT); |
| | | } |
| | | deviceService.devicePropertySet(dockSn, propertyEnumOpt.get(), param.get(property)); |
| | | deviceService.devicePropertySet(dockSn, propertyEnumOpt.get(), param); |
| | | return ResponseResult.success(); |
| | | } |
| | | |
| | | //.get(property) |
| | | |
| | | // /** |
| | | // * 查询机场设备列表 |
| | |
| | | .domain(dto.getDomain()) |
| | | .firmwareVersion(dto.getFirmwareVersion()) |
| | | .workType(dto.getWorkType()) |
| | | .webrtcUrl(dto.getWebrtcUrl()) |
| | | .compatibleStatus(dto.getFirmwareStatus() == null ? null : |
| | | DeviceFirmwareStatusEnum.CONSISTENT_UPGRADE != DeviceFirmwareStatusEnum.find(dto.getFirmwareStatus())) |
| | | .build(); |