Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄嘉阳
/
iot-platform-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
cf5e9f67
authored
Oct 27, 2023
by
huangjy
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix:配网读取硬件系统信息
parent
a71b987e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
server-common/src/main/java/com/makeit/module/iot/vo/DeviceProperties.java
server-module/src/main/java/com/makeit/module/controller/elder/PlatElderSleepController.java
server-service/src/main/java/com/makeit/dto/wechat/device/PlatDeviceAttrWechatDTO.java
server-common/src/main/java/com/makeit/module/iot/vo/DeviceProperties.java
View file @
cf5e9f67
...
@@ -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
;
}
}
server-module/src/main/java/com/makeit/module/controller/elder/PlatElderSleepController.java
View file @
cf5e9f67
...
@@ -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
();
}
}
}
}
...
...
server-service/src/main/java/com/makeit/dto/wechat/device/PlatDeviceAttrWechatDTO.java
View file @
cf5e9f67
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment