Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-devicemonitor
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 02062ea7
authored
Feb 16, 2022
by
yangll
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
gps数据添加速度,海拔和风向参数
1 parent
20c47e3c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
src/main/java/cn/com/glsx/devicemonitor/modules/converter/DataLocationConvert.java
src/main/java/cn/com/glsx/devicemonitor/modules/converter/DataLocationConvert.java
View file @
02062ea
...
@@ -76,6 +76,9 @@ public class DataLocationConvert {
...
@@ -76,6 +76,9 @@ public class DataLocationConvert {
dataGpsLocation
.
setBlng
(
LocationUtil
.
latlng
(
gpsDevInfo
.
record
.
bLng
));
dataGpsLocation
.
setBlng
(
LocationUtil
.
latlng
(
gpsDevInfo
.
record
.
bLng
));
dataGpsLocation
.
setBlat
(
LocationUtil
.
latlng
(
gpsDevInfo
.
record
.
bLat
));
dataGpsLocation
.
setBlat
(
LocationUtil
.
latlng
(
gpsDevInfo
.
record
.
bLat
));
dataGpsLocation
.
setSpeed
(
String
.
valueOf
(
gpsDevInfo
.
record
.
speed
));
dataGpsLocation
.
setAlt
(
String
.
valueOf
(
gpsDevInfo
.
record
.
alt
));
dataGpsLocation
.
setDir
(
String
.
valueOf
(
gpsDevInfo
.
record
.
dir
));
dataGpsLocation
.
setGeoLocationEnum
(
GeoLocationEnum
.
findByLocationType
(
Integer
.
parseInt
(
String
.
valueOf
(
gpsDevInfo
.
locType
))));
dataGpsLocation
.
setGeoLocationEnum
(
GeoLocationEnum
.
findByLocationType
(
Integer
.
parseInt
(
String
.
valueOf
(
gpsDevInfo
.
locType
))));
dataGpsLocation
.
setDateTime
(
DateFormatUtil
.
toStringFromTimestamp
(
gpsDevInfo
.
record
.
gpsTime
,
DateFormatUtil
.
pattern01
));
dataGpsLocation
.
setDateTime
(
DateFormatUtil
.
toStringFromTimestamp
(
gpsDevInfo
.
record
.
gpsTime
,
DateFormatUtil
.
pattern01
));
...
...
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