[merge]
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user