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
6f8e08f2
authored
Oct 07, 2023
by
杨伟程
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
老人实时状态
parent
635e7a96
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
server-service/src/main/java/com/makeit/service/platform/elder/impl/PlatElderRealTimeServiceImpl.java
server-service/src/main/java/com/makeit/service/platform/elder/impl/PlatElderRealTimeServiceImpl.java
View file @
6f8e08f2
...
...
@@ -156,7 +156,7 @@ public class PlatElderRealTimeServiceImpl implements PlatElderRealTimeService {
return
;
}
boolean
flag
=
DeviceInfoContentBreatheEnum
.
PersonStateEnum
.
NOBODY
.
getValue
().
equals
(
nowDataBreathe
.
getProperties
().
getPersonState
());
boolean
flag
=
DeviceInfoContentBreatheEnum
.
PersonStateEnum
.
NOBODY
.
getValue
().
equals
(
nowDataBreathe
.
getProperties
().
getPersonState
()
+
""
);
if
(!
flag
)
{
return
;
...
...
@@ -177,7 +177,7 @@ public class PlatElderRealTimeServiceImpl implements PlatElderRealTimeService {
return
;
}
boolean
flag
=
DeviceInfoContentBreatheEnum
.
PersonStateEnum
.
NOBODY
.
getValue
().
equals
(
nowDataBreathe
.
getProperties
().
getPersonState
());
boolean
flag
=
DeviceInfoContentBreatheEnum
.
PersonStateEnum
.
NOBODY
.
getValue
().
equals
(
nowDataBreathe
.
getProperties
().
getPersonState
()
+
""
);
if
(!
flag
)
{
return
;
...
...
@@ -198,7 +198,7 @@ public class PlatElderRealTimeServiceImpl implements PlatElderRealTimeService {
return
;
}
boolean
flag
=
!
DeviceInfoContentBreatheEnum
.
PersonStateEnum
.
NOBODY
.
getValue
().
equals
(
nowDataBreathe
.
getProperties
().
getPersonState
());
boolean
flag
=
!
DeviceInfoContentBreatheEnum
.
PersonStateEnum
.
NOBODY
.
getValue
().
equals
(
nowDataBreathe
.
getProperties
().
getPersonState
()
+
""
);
if
(!
flag
)
{
return
;
}
...
...
@@ -256,6 +256,10 @@ public class PlatElderRealTimeServiceImpl implements PlatElderRealTimeService {
nowStatusSleepAndBed
(
platElderRealTimeNowVO
,
platElderIdDTO
,
deviceInfoContentBreathe
);
// if(StringUtils.isBlank(platElderRealTimeNowVO.getStatus())){
// platElderRealTimeNowVO.setStatus();
// }
platElderRealTimeNowVO
.
setHeartRate
(
deviceInfoContentBreathe
.
getProperties
().
getHr
());
platElderRealTimeNowVO
.
setRespiratoryRate
(
deviceInfoContentBreathe
.
getProperties
().
getBr
());
platElderRealTimeNowVO
.
setBodyMove
(
deviceInfoContentBreathe
.
getProperties
().
getBodymove
());
...
...
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