Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
glsx-smart-message-channel
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit dcbd0da6
authored
Apr 13, 2021
by
111-PC\111
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]pulsar消费服务
1 parent
469d69a7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
src/main/java/cn/com/glsx/consumer/service/TuyaConmsumerService.java
src/main/java/cn/com/glsx/consumer/service/TuyaConmsumerService.java
View file @
dcbd0da
...
@@ -168,7 +168,9 @@ public class TuyaConmsumerService {
...
@@ -168,7 +168,9 @@ public class TuyaConmsumerService {
String
Value
=
null
;
String
Value
=
null
;
//触发状态值,如果value没有值,则取ordervalue
//触发状态值,如果value没有值,则取ordervalue
if
(
deviceOrderCode
.
equals
(
"va_temperature"
)
||
deviceOrderCode
.
equals
(
"va_humidity"
))
{
if
(
deviceOrderCode
.
equals
(
"va_temperature"
)
||
deviceOrderCode
.
equals
(
"va_humidity"
))
{
if
(
StringUtils
.
isNotBlank
(
paramValue
.
getValue
()))
{
Value
=
Integer
.
parseInt
(
paramValue
.
getValue
())
*
10
+
""
;
Value
=
Integer
.
parseInt
(
paramValue
.
getValue
())
*
10
+
""
;
}
}
else
{
}
else
{
Value
=
paramValue
.
getValue
();
Value
=
paramValue
.
getValue
();
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment