[6.11.0][adas] 新增云端配置查询和响应接口
This commit is contained in:
@@ -1132,5 +1132,10 @@ object CallerAutoPilotControlManager {
|
||||
fun sendCopyBagAbortCopy(): Boolean{
|
||||
return providerApi?.sendCopyBagAbortCopy()?:false
|
||||
}
|
||||
|
||||
/**
|
||||
* 云端配置查询
|
||||
*/
|
||||
fun sendCloudConfigRequest(): Boolean{
|
||||
return providerApi?.sendCloudConfigRequest()?:false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.mogo.eagle.core.function.call.autopilot
|
||||
|
||||
import com.mogo.eagle.core.function.api.autopilot.IMoGoCloudConfigListener
|
||||
import com.mogo.eagle.core.function.call.base.CallerBase
|
||||
import mogo.telematics.pad.MessagePad
|
||||
|
||||
/**
|
||||
*云端配置
|
||||
*/
|
||||
object CallerCloudConfigListenerManager : CallerBase<IMoGoCloudConfigListener>() {
|
||||
|
||||
|
||||
fun invokeCloudConfig(config: MessagePad.CloudConfig) {
|
||||
M_LISTENERS.forEach {
|
||||
val listener = it.value
|
||||
listener.onCloudConfig(config)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user