Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-capstone-design1
/
RIT_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박권수
2021-09-15 23:06:10 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5e88494f7bb2d78f8810aad16bd35a742cbd74f3
5e88494f
1 parent
0d93023f
fix. bug
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
server/src/util/DataProcess.js
server/src/util/DataProcess.js
View file @
5e88494
...
...
@@ -22,7 +22,7 @@ const factoring = async (topic, message) => {
const
data
=
message
.
split
(
'/'
);
let
[
isOpen
,
temperature
,
humidity
,
balance
]
=
data
;
if
(
isOpen
===
'
0
'
)
if
(
isOpen
===
'
1
'
)
balance
=
await
balanceFactoring
(
balance
);
else
balance
=
'-1'
;
...
...
Please
register
or
login
to post a comment