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 bf2b9415
authored
Oct 26, 2021
by
刘宇峰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复obd设备类型错误bug
1 parent
d599a6e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/cn/com/glsx/devicemonitor/modules/components/HdaoGpsComponent.java
src/main/java/cn/com/glsx/devicemonitor/modules/components/HdaoGpsComponent.java
View file @
bf2b941
...
@@ -486,7 +486,7 @@ public class HdaoGpsComponent {
...
@@ -486,7 +486,7 @@ public class HdaoGpsComponent {
BsDataReq
req
=
new
BsDataReq
(
bsData
);
BsDataReq
req
=
new
BsDataReq
(
bsData
);
BsDataRespHolder
respHolder
=
new
BsDataRespHolder
();
BsDataRespHolder
respHolder
=
new
BsDataRespHolder
();
boolean
resultFlag
=
baseStationServicePrx
.
GetGpsByBs
(
req
,
respHolder
);
boolean
resultFlag
=
baseStationServicePrx
.
GetGpsByBs
(
req
,
respHolder
);
if
(!
resultFlag
||
respHolder
==
null
||
respHolder
.
value
.
ret
!=
0
)
{
if
(!
resultFlag
||
respHolder
.
value
.
ret
!=
0
)
{
log
.
info
(
"failed to getBaseStationByIce!"
);
log
.
info
(
"failed to getBaseStationByIce!"
);
return
null
;
return
null
;
}
}
...
@@ -598,7 +598,7 @@ public class HdaoGpsComponent {
...
@@ -598,7 +598,7 @@ public class HdaoGpsComponent {
List
<
DataGpsLocation
>
dataGpsLocationList
=
new
ArrayList
<>();
List
<
DataGpsLocation
>
dataGpsLocationList
=
new
ArrayList
<>();
try
{
try
{
boolean
ret
=
daoGpsServicePrx
.
getGpsRecords
(
req
,
res
);
boolean
ret
=
daoGpsServicePrx
.
getGpsRecords
(
req
,
res
);
log
.
info
(
"getGpsRecords return is {}"
,
JSONUtil
.
toJsonStr
(
res
));
//
log.info("getGpsRecords return is {}", JSONUtil.toJsonStr(res));
if
(
ret
&&
res
.
value
!=
null
&&
res
.
value
.
oprResult
==
0
)
{
if
(
ret
&&
res
.
value
!=
null
&&
res
.
value
.
oprResult
==
0
)
{
GpsRecord
[]
r
=
res
.
value
.
records
;
GpsRecord
[]
r
=
res
.
value
.
records
;
for
(
int
i
=
0
;
i
<
r
.
length
;
i
++)
{
for
(
int
i
=
0
;
i
<
r
.
length
;
i
++)
{
...
...
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