[dev_arch_opt_3.0]
[Change] [ 1、关闭经纬度记录操作 ] Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
@@ -100,11 +100,11 @@ object CallerChassisLocationGCJ02ListenerManager : CallerBase<IMoGoChassisLocati
|
|||||||
M_LISTENERS_HZ_LAST_SEND_TIME[tag] = TimeUtils.getNowMills()
|
M_LISTENERS_HZ_LAST_SEND_TIME[tag] = TimeUtils.getNowMills()
|
||||||
val listener = it.value
|
val listener = it.value
|
||||||
listener.onChassisLocationGCJ02(mogoLocation)
|
listener.onChassisLocationGCJ02(mogoLocation)
|
||||||
FileUtils.writeToFile(
|
// FileUtils.writeToFile(
|
||||||
"/sdcard/Download/",
|
// "/sdcard/Download/",
|
||||||
"location_gcj02.txt",
|
// "location_gcj02.txt",
|
||||||
"${mogoLocation.longitude},${mogoLocation.latitude},${sourceType}\n"
|
// "${mogoLocation.longitude},${mogoLocation.latitude},${sourceType}\n"
|
||||||
)
|
// )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ object CallerChassisLocationWGS84ListenerManager : CallerBase<IMoGoChassisLocati
|
|||||||
* @param gnssInfo
|
* @param gnssInfo
|
||||||
*/
|
*/
|
||||||
@Synchronized
|
@Synchronized
|
||||||
fun invokeChassisLocationWGS84(gnssInfo: MogoLocation,sourceType: DataSourceType) {
|
fun invokeChassisLocationWGS84(gnssInfo: MogoLocation, sourceType: DataSourceType) {
|
||||||
this.mGnssInfo = gnssInfo.clone()
|
this.mGnssInfo = gnssInfo.clone()
|
||||||
M_LISTENERS.forEach {
|
M_LISTENERS.forEach {
|
||||||
val tag = it.key
|
val tag = it.key
|
||||||
@@ -82,7 +82,11 @@ object CallerChassisLocationWGS84ListenerManager : CallerBase<IMoGoChassisLocati
|
|||||||
M_LISTENERS_HZ_LAST_SEND_TIME[tag] = TimeUtils.getNowMills()
|
M_LISTENERS_HZ_LAST_SEND_TIME[tag] = TimeUtils.getNowMills()
|
||||||
val listener = it.value
|
val listener = it.value
|
||||||
listener.onChassisLocationWGS84(mogoLocation)
|
listener.onChassisLocationWGS84(mogoLocation)
|
||||||
FileUtils.writeToFile("/sdcard/Download/", "location_wgs84.txt", "${mogoLocation.longitude},${mogoLocation.latitude},${sourceType}\n")
|
// FileUtils.writeToFile(
|
||||||
|
// "/sdcard/Download/",
|
||||||
|
// "location_wgs84.txt",
|
||||||
|
// "${mogoLocation.longitude},${mogoLocation.latitude},${sourceType}\n"
|
||||||
|
// )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user