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
46d2a6ac
Commit
46d2a6ac
authored
Jul 10, 2020
by
liyuanhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
M500模拟器增加固定在当前位置的功能
parent
bf0c5e45
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
data/protocolTools/carData/M202003060520.json
data/protocolTools/carData/M202003060520.json
+1
-1
templates/protocolTools/report/M_carSimulater_page.html
templates/protocolTools/report/M_carSimulater_page.html
+1
-1
No files found.
data/protocolTools/carData/M202003060520.json
View file @
46d2a6ac
{
"time"
:
{
"dateTime"
:
"2020-07-10 10:37:16"
,
"date"
:
"2020-07-10"
,
"time"
:
"10:37:16"
},
"curDayTravel"
:
{
"todayTotalMilleage"
:
6554
,
"todayTotalOil"
:
539
,
"todayTotalTime"
:
401
,
"theMilleage"
:
1904
,
"theOil"
:
119
,
"theTime"
:
119
},
"travelData"
:
{
"totalMilleage"
:
570978
,
"totalOil"
:
51933
,
"totalTime"
:
34259
},
"event"
:
{
"threeRapid"
:
{
"totalRapidlyAccelerate"
:
43
,
"totalSharpSlowdown"
:
31
,
"totalSharpTurn"
:
34
}}}
\ No newline at end of file
{
"time"
:
{
"dateTime"
:
"2020-07-10 10:37:16"
,
"date"
:
"2020-07-10"
,
"time"
:
"10:37:16"
},
"curDayTravel"
:
{
"todayTotalMilleage"
:
10669
,
"todayTotalOil"
:
799
,
"todayTotalTime"
:
658
,
"theMilleage"
:
1987
,
"theOil"
:
127
,
"theTime"
:
124
},
"travelData"
:
{
"totalMilleage"
:
575093
,
"totalOil"
:
52193
,
"totalTime"
:
34516
},
"event"
:
{
"threeRapid"
:
{
"totalRapidlyAccelerate"
:
43
,
"totalSharpSlowdown"
:
31
,
"totalSharpTurn"
:
34
}}}
\ No newline at end of file
templates/protocolTools/report/M_carSimulater_page.html
View file @
46d2a6ac
...
...
@@ -1136,7 +1136,7 @@ function fixCurPosition(e){
url
=
"
/protocolTools/M_carSimulater_process/fixCurPosition
"
;
var
host
=
window
.
location
.
host
;
sendjson
(
data
,
url
);
$
(
e
).
text
(
"
取消
固定在当前位置
"
)
$
(
e
).
text
(
"
固定在当前位置
"
)
}
}
// -------------------------------- 其他操作js代码-------------------------------------------
...
...
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