This commit is contained in:
zhongchao
2023-04-04 15:09:31 +08:00
parent 8d41c335d6
commit c52c3828f8
63 changed files with 875 additions and 426 deletions

View File

@@ -184,7 +184,7 @@ object CallerAutoPilotStatusListenerManager : CallerBase<IMoGoAutopilotStatusLis
*/
fun updateAutopilotControlParameters(autopilotControlParameters: AutopilotControlParameters? = null) {
mAutopilotStatusInfo.autopilotControlParameters = autopilotControlParameters
lineId = autopilotControlParameters?.autoPilotLine?.lineId
lineId = autopilotControlParameters?.autoPilotLine?.lineId?:0
invokeAutoPilotStatus(mAutopilotStatusInfo)
}
}

View File

@@ -1,19 +1,17 @@
package com.mogo.eagle.core.function.call.map
import com.alibaba.android.arouter.launcher.ARouter
import com.mogo.eagle.core.data.constants.MogoServicePaths.PATH_IDENTIFY
import com.mogo.eagle.core.function.api.map.marker.IMoGoIdentifyListener
import com.mogo.eagle.core.function.call.base.CallerBase
import mogo.telematics.pad.MessagePad
import com.mogo.eagle.core.data.constants.MogoServicePaths.PATH_ROMA
import com.mogo.eagle.core.function.api.map.roma.IMogoRoma
object CallerMapIdentifyManager : CallerBase<IMoGoIdentifyListener>() {
object CallerMapIdentifyManager {
private val identifyApi: IMoGoIdentifyListener
get() = ARouter.getInstance().build(PATH_IDENTIFY)
.navigation() as IMoGoIdentifyListener
private val romaApi:IMogoRoma
get() = ARouter.getInstance().build(PATH_ROMA)
.navigation() as IMogoRoma
fun getIdentifyObj(uuid: String): MessagePad.TrackedObject? {
return identifyApi.getIdentifyObj(uuid)
fun romaTrigger(romaStatus:Boolean){
romaApi.trigger(romaStatus)
}
}