Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DoorLock
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
felix
DoorLock
Commits
9aeba3d0
Commit
9aeba3d0
authored
Mar 15, 2018
by
朱建香
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
823f2321
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
dev/src/view/device/v_index.js
+10
-3
No files found.
dev/src/view/device/v_index.js
View file @
9aeba3d0
...
@@ -1046,11 +1046,15 @@ function setRemoteOpendoor(self, time){
...
@@ -1046,11 +1046,15 @@ function setRemoteOpendoor(self, time){
if
(
window
.
iotDebug
){
if
(
window
.
iotDebug
){
iotDebug
.
push
(
'end: 远程开门'
+
'设备当前时间'
+
now
.
unix
()
+
'通知时间'
+
time
.
unix
());
iotDebug
.
push
(
'end: 远程开门'
+
'设备当前时间'
+
now
.
unix
()
+
'通知时间'
+
time
.
unix
());
}
}
if
(
window
.
iotDebug
)
{
iotDebug
.
upload
(
iot
,
'远程开门'
);
}
console
.
log
(
now
.
diff
(
time
,
'seconds'
));
console
.
log
(
now
.
diff
(
time
,
'seconds'
));
if
(
window
.
iotDebug
){
iotDebug
.
push
(
'end: 远程开门'
+
now
.
diff
(
time
,
'seconds'
)
+
'权限'
+
self
.
getRole
()
+
''
);
}
if
(
now
.
diff
(
time
,
'seconds'
)
<
config
.
pushMsg_timeout
&&
now
.
diff
(
time
,
'seconds'
)
>=
0
&&
(
self
.
getRole
()
==
0
)){
if
(
now
.
diff
(
time
,
'seconds'
)
<
config
.
pushMsg_timeout
&&
now
.
diff
(
time
,
'seconds'
)
>=
0
&&
(
self
.
getRole
()
==
0
)){
if
(
window
.
iotDebug
){
iotDebug
.
push
(
'end: 远程开门'
+
'进入展示'
);
}
self
.
setValueRemoteOpendoor
(
true
);
self
.
setValueRemoteOpendoor
(
true
);
self
.
setRemoteOpendoorDisabledFlag
(
false
);
self
.
setRemoteOpendoorDisabledFlag
(
false
);
//停止响铃
//停止响铃
...
@@ -1074,6 +1078,9 @@ function setRemoteOpendoor(self, time){
...
@@ -1074,6 +1078,9 @@ function setRemoteOpendoor(self, time){
}
}
},(
config
.
remote_timeout
-
now
.
diff
(
time
,
'seconds'
))
*
1000
);
},(
config
.
remote_timeout
-
now
.
diff
(
time
,
'seconds'
))
*
1000
);
}
}
if
(
window
.
iotDebug
)
{
iotDebug
.
upload
(
iot
,
'远程开门'
);
}
}
}
//设置信息提示
//设置信息提示
...
...
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