[6.0.0] roam change
This commit is contained in:
@@ -55,7 +55,7 @@ class AiCloudIdentifyDataManager : IMoGoPlanningRottingListener,
|
||||
private const val H_ERROR_MAP = 2
|
||||
private const val H_DELAY_TIME = 3_000L
|
||||
|
||||
var START_METRE = 3
|
||||
var START_METRE = 200
|
||||
var END_METRE = 2000
|
||||
|
||||
@JvmStatic
|
||||
@@ -164,12 +164,14 @@ class AiCloudIdentifyDataManager : IMoGoPlanningRottingListener,
|
||||
}
|
||||
|
||||
private fun openRoma() {
|
||||
CallerMapUIServiceManager.getMapUIController()?.visualAngleLock(true)
|
||||
updateLongSightLevel(true)
|
||||
requestRangeOfIdentify(true)
|
||||
}
|
||||
|
||||
@Synchronized
|
||||
private fun closeRoma(manual: Boolean = true) {
|
||||
CallerMapUIServiceManager.getMapUIController()?.visualAngleLock(false)
|
||||
updateLongSightLevel(false)
|
||||
requestRangeOfIdentify(false)
|
||||
MapIdentifySubscriber.instance.clearAiCloudRoma()
|
||||
@@ -260,11 +262,14 @@ class AiCloudIdentifyDataManager : IMoGoPlanningRottingListener,
|
||||
mutableMapOf("romaStart" to "地图漫游动画结束,开始漫游")
|
||||
)
|
||||
showAiCloud.set(true)
|
||||
FunctionBuildConfig.isDrawIdentifyData = false
|
||||
// FunctionBuildConfig.isDrawIdentifyData = false
|
||||
CallerMapRomaListener.invokeMapRoma(true)
|
||||
// 5秒没有触发 则预警日志写入
|
||||
handler.sendEmptyMessageDelayed(H_ERROR_CLOUD, H_DELAY_TIME)
|
||||
}
|
||||
5 -> {
|
||||
CallerMapRomaListener.invokeRomaDistance(msg)
|
||||
}
|
||||
1 -> {
|
||||
val m = Message.obtain()
|
||||
m.what = H_ERROR_MAP
|
||||
@@ -296,7 +301,7 @@ class AiCloudIdentifyDataManager : IMoGoPlanningRottingListener,
|
||||
showAiCloud.set(false)
|
||||
aiCloudDataChange.set(false)
|
||||
MapIdentifySubscriber.instance.clearAiCloudRoma()
|
||||
FunctionBuildConfig.isDrawIdentifyData = true
|
||||
// FunctionBuildConfig.isDrawIdentifyData = true
|
||||
CallerMapRomaListener.invokeMapRoma(false)
|
||||
if (invokeCloud) {
|
||||
closeRoma(false)
|
||||
|
||||
Reference in New Issue
Block a user