[6.10.0]栅格和Islam地图版本调整,不再进行截取
This commit is contained in:
@@ -311,20 +311,11 @@ object CallerAutoPilotStatusListenerManager : CallerBase<IMoGoAutopilotStatusLis
|
||||
}
|
||||
}
|
||||
if(status.gridMapVer != null && status.gridMapVer.isNotEmpty()){
|
||||
//对栅格地图版本进行截取
|
||||
val gridCity = status.gridMapVer.substringAfter(".sqlite|").substringBefore("|")
|
||||
val gridVersion = status.gridMapVer.substringAfter("$gridCity|").substringBefore("|")
|
||||
if(AppConfigInfo.gridMapVersion != "${gridCity}_${gridVersion}"){
|
||||
AppConfigInfo.gridMapVersion = "${gridCity}_${gridVersion}"
|
||||
}
|
||||
AppConfigInfo.gridMapVersion = status.gridMapVer
|
||||
}
|
||||
if(status.slamMapVer != null && status.slamMapVer.isNotEmpty()){
|
||||
//对激光slam地图版本进行截取
|
||||
val slamCity = status.slamMapVer.substringAfter(".sqlite|").substringBefore("|")
|
||||
val slamVersion = status.slamMapVer.substringAfter("$slamCity|").substringBefore("|")
|
||||
if(AppConfigInfo.slamMapVersion != "${slamCity}_${slamVersion}"){
|
||||
AppConfigInfo.slamMapVersion = "${slamCity}_${slamVersion}"
|
||||
}
|
||||
AppConfigInfo.slamMapVersion = status.slamMapVer
|
||||
}
|
||||
M_LISTENERS.forEach { itx ->
|
||||
val listener = itx.value
|
||||
@@ -349,20 +340,10 @@ object CallerAutoPilotStatusListenerManager : CallerBase<IMoGoAutopilotStatusLis
|
||||
}
|
||||
}
|
||||
if(statusInf.gridMapVer != null && statusInf.gridMapVer.isNotEmpty()){
|
||||
//对栅格地图版本进行截取
|
||||
val gridCity = statusInf.gridMapVer.substringAfter(".sqlite|").substringBefore("|")
|
||||
val gridVersion = statusInf.gridMapVer.substringAfter("$gridCity|").substringBefore("|")
|
||||
if(AppConfigInfo.gridMapVersion != "${gridCity}_${gridVersion}"){
|
||||
AppConfigInfo.gridMapVersion = "${gridCity}_${gridVersion}"
|
||||
}
|
||||
AppConfigInfo.gridMapVersion = statusInf.gridMapVer
|
||||
}
|
||||
if(statusInf.slamMapVer != null && statusInf.slamMapVer.isNotEmpty()){
|
||||
//对激光slam地图版本进行截取
|
||||
val slamCity = statusInf.slamMapVer.substringAfter(".sqlite|").substringBefore("|")
|
||||
val slamVersion = statusInf.slamMapVer.substringAfter("$slamCity|").substringBefore("|")
|
||||
if(AppConfigInfo.slamMapVersion != "${slamCity}_${slamVersion}"){
|
||||
AppConfigInfo.slamMapVersion = "${slamCity}_${slamVersion}"
|
||||
}
|
||||
AppConfigInfo.slamMapVersion = statusInf.slamMapVer
|
||||
}
|
||||
M_LISTENERS.forEach { itx ->
|
||||
val listener = itx.value
|
||||
|
||||
Reference in New Issue
Block a user