Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
glsx-rest-admin-job-archetype
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 896a1545
authored
Mar 29, 2021
by
fz
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1.时间触发条件值也统一转为json获取
1 parent
0485a139
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
glsx-rest-admin-job/src/main/java/cn/com/glsx/smartdevice/service/SceneService.java
glsx-rest-admin-job/src/main/java/cn/com/glsx/smartdevice/service/SceneService.java
View file @
896a154
...
@@ -146,7 +146,7 @@ public class SceneService {
...
@@ -146,7 +146,7 @@ public class SceneService {
private
boolean
getTriggerResult
(
long
rangeBegintTime
,
ScenseData
condition
,
int
conditionType
)
{
private
boolean
getTriggerResult
(
long
rangeBegintTime
,
ScenseData
condition
,
int
conditionType
)
{
String
key
=
condition
.
getParamKey
();
String
key
=
condition
.
getParamKey
();
String
value
=
condition
.
getParamValue
();
String
value
=
condition
.
getParamValue
();
//
log.info("fz====scenseId:"+condition.getSceneId()+"===key:"+key+"==VAL:"+value);
log
.
info
(
"fz====scenseId:"
+
condition
.
getSceneId
()+
"===key:"
+
key
+
"==VAL:"
+
value
);
//scene_condition_status设备状态
//scene_condition_status设备状态
if
(
Constants
.
CONDITION_STATUS
.
equals
(
key
))
{
if
(
Constants
.
CONDITION_STATUS
.
equals
(
key
))
{
//value为设备状态的条件数组
//value为设备状态的条件数组
...
...
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