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
9a29f55d
Commit
9a29f55d
authored
Oct 20, 2020
by
liyuanhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复了M500事件经纬度写死的问题
parent
f5619885
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
150 additions
and
4 deletions
+150
-4
lib/protocol/report/EventReport_protocol.py
lib/protocol/report/EventReport_protocol.py
+0
-4
views/protocolTools/M_carSimulater_process.py
views/protocolTools/M_carSimulater_process.py
+150
-0
No files found.
lib/protocol/report/EventReport_protocol.py
View file @
9a29f55d
...
...
@@ -45,10 +45,6 @@ class EventReport_protocol(ProtocolBase):
self
.
securityData
=
securityData
event
=
data
[
"event"
]
self
.
event
=
event
timeStamp
=
time
.
time
()
-
8
*
3600
timeArray
=
time
.
localtime
(
timeStamp
)
curTime
=
time
.
strftime
(
"
%
Y-
%
m-
%
d
%
H:
%
M:
%
S"
,
timeArray
)
gpsInfo
[
"UTCTime"
]
=
curTime
self
.
GPSPkg
=
GPSReport_protocol
(
1
,
self
.
WATER_CODE
,
self
.
DEV_ID
,
gpsInfo
[
"UTCTime"
],
gpsInfo
[
"latitude"
],
gpsInfo
[
"longitude"
]
\
,
gpsInfo
[
"speed"
],
gpsInfo
[
"directionAngle"
],
gpsInfo
[
"elevation"
],
gpsInfo
[
"positionStar"
],
gpsInfo
[
"Pdop"
]
\
,
gpsInfo
[
"Hdop"
],
gpsInfo
[
"Vdop"
],
gpsInfo
[
"statusBit"
],
gpsInfo
[
"valtage"
],
gpsInfo
[
"OBDSpeed"
],
gpsInfo
[
"engineSpeed"
]
\
...
...
views/protocolTools/M_carSimulater_process.py
View file @
9a29f55d
This diff is collapsed.
Click to expand it.
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