Commit cf5e9f67 by huangjy

fix:配网读取硬件系统信息

parent a71b987e
...@@ -16,5 +16,5 @@ public class DeviceProperties { ...@@ -16,5 +16,5 @@ public class DeviceProperties {
private Long timestamp; private Long timestamp;
private String type; private String type;
@ApiModelProperty("属性值") @ApiModelProperty("属性值")
private Integer value; private Object value;
} }
...@@ -69,8 +69,7 @@ public class PlatElderSleepController { ...@@ -69,8 +69,7 @@ public class PlatElderSleepController {
@AuthIgnore @AuthIgnore
@TenantIdIgnore @TenantIdIgnore
public ApiResponseEntity<?> rearDeviceProperties(@RequestBody PlatDeviceAttrWechatDTO dto) { public ApiResponseEntity<?> rearDeviceProperties(@RequestBody PlatDeviceAttrWechatDTO dto) {
platDeviceService.readDeviceProperties(dto); return ApiResponseUtils.success(platDeviceService.readDeviceProperties(dto));
return ApiResponseUtils.success();
} }
} }
......
...@@ -30,6 +30,7 @@ public class PlatDeviceAttrWechatDTO { ...@@ -30,6 +30,7 @@ public class PlatDeviceAttrWechatDTO {
"进\":1,\"单位\":\"cm\"") "进\":1,\"单位\":\"cm\"")
private Integer radarHight; private Integer radarHight;
@ApiModelProperty(value = "读取硬件的系统参数,主要读取服务信息和雷达信息,多个逗号隔开")
private String readProperties; private String readProperties;
@ApiModelProperty(value = "服务信息") @ApiModelProperty(value = "服务信息")
private String usrServerInfo; private String usrServerInfo;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment