Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
new-socketemulator
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李远洪
new-socketemulator
Commits
e46b925e
Commit
e46b925e
authored
Apr 27, 2020
by
liyuanhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了新车机复位没有设置websocket = none 的bug
parent
fd57fc86
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
templates/messageTools/message/M_simulater_page.html
templates/messageTools/message/M_simulater_page.html
+1
-0
templates/protocolTools/report/M_carSimulater_page.html
templates/protocolTools/report/M_carSimulater_page.html
+1
-0
views/messageTools/M_simulater_process.py
views/messageTools/M_simulater_process.py
+1
-0
No files found.
templates/messageTools/message/M_simulater_page.html
View file @
e46b925e
...
@@ -261,6 +261,7 @@ function reset(){
...
@@ -261,6 +261,7 @@ function reset(){
sendHttpMsg
(
data
,
url
);
sendHttpMsg
(
data
,
url
);
$
(
"
#curStatus
"
).
val
(
"
断网
"
);
$
(
"
#curStatus
"
).
val
(
"
断网
"
);
$
(
"
#showFeedback
"
).
val
(
""
)
$
(
"
#showFeedback
"
).
val
(
""
)
$
(
"
#totalSessionNums
"
).
val
(
0
)
//endService()
//endService()
ws
.
close
();
ws
.
close
();
}
}
...
...
templates/protocolTools/report/M_carSimulater_page.html
View file @
e46b925e
...
@@ -289,6 +289,7 @@ function reset(){
...
@@ -289,6 +289,7 @@ function reset(){
$
(
"
#showFeedback
"
).
val
(
""
)
$
(
"
#showFeedback
"
).
val
(
""
)
//endService()
//endService()
$
(
"
#curStatus
"
).
val
(
"
断网
"
)
$
(
"
#curStatus
"
).
val
(
"
断网
"
)
$
(
"
#totalSessionNums
"
).
val
(
0
)
ws
.
close
();
ws
.
close
();
}
}
}
}
...
...
views/messageTools/M_simulater_process.py
View file @
e46b925e
...
@@ -251,6 +251,7 @@ def reset():
...
@@ -251,6 +251,7 @@ def reset():
service
.
stopTravel
()
service
.
stopTravel
()
service
.
stopService
()
service
.
stopService
()
service
.
socket
.
close
()
service
.
socket
.
close
()
websocket
=
None
connects
=
{}
connects
=
{}
data
[
"status"
]
=
"200"
data
[
"status"
]
=
"200"
data
[
"message"
]
=
"复位成功!"
data
[
"message"
]
=
"复位成功!"
...
...
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