Merge branch 'dev_MogoAP_wuhan-sikua_211018_8.0.13' into dev/dev_eagle_architecture_upgrade2
This commit is contained in:
@@ -36,7 +36,7 @@ project.android.productFlavors {
|
||||
// 是否需要悬浮窗权限申请
|
||||
buildConfigField 'boolean', 'IS_NEED_REQUEST_FLOAT_PERMISSION', 'true'
|
||||
// GPS数据提供源: 0-Android系统,1-工控机,2-OBU
|
||||
buildConfigField 'int', 'GPS_PROVIDER', "1"
|
||||
buildConfigField 'int', 'GPS_PROVIDER', "2"
|
||||
// 默认进入的地图模式
|
||||
buildConfigField 'int', 'MAP_STYLE_MODE', "1"
|
||||
}
|
||||
|
||||
@@ -23,20 +23,21 @@ class MoGoAutopilotProvider :
|
||||
override val functionName: String
|
||||
get() = TAG
|
||||
|
||||
|
||||
override fun init(context: Context) {
|
||||
// 初始化ADAS 域控制器
|
||||
//AdasManager.getInstance().create(context)
|
||||
|
||||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
|
||||
}
|
||||
|
||||
override fun connectAutoPilot() {
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun startAutoPilot(result: AutopilotControlParameters) {
|
||||
if (AdasManager.getInstance().isSocketConnect) {
|
||||
val parameter =
|
||||
|
||||
@@ -14,5 +14,9 @@ class MoGoNoticeProvider : IMoGoNoticeProvider {
|
||||
override val functionName: String
|
||||
get() = TAG
|
||||
|
||||
override fun onDestroy() {
|
||||
|
||||
}
|
||||
|
||||
override fun init(context: Context) {}
|
||||
}
|
||||
@@ -3,9 +3,9 @@ package com.mogo.eagle.core.function.obu.mogo
|
||||
import android.content.Context
|
||||
import com.alibaba.android.arouter.facade.annotation.Route
|
||||
import com.mogo.eagle.core.data.constants.MoGoConfig
|
||||
import com.mogo.eagle.core.data.constants.MogoServicePaths
|
||||
import com.mogo.eagle.core.function.api.obu.IMoGoObuProvider
|
||||
import com.mogo.eagle.core.utilcode.util.LogUtils
|
||||
import com.mogo.eagle.core.data.constants.MogoServicePaths
|
||||
import com.mogo.utils.storage.SharedPrefsMgr
|
||||
|
||||
/**
|
||||
@@ -21,6 +21,10 @@ class MoGoObuProvider : IMoGoObuProvider {
|
||||
override val functionName: String
|
||||
get() = TAG
|
||||
|
||||
override fun onDestroy() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun init(context: Context) {
|
||||
LogUtils.dTag(TAG, "初始化蘑菇自研OBU……")
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
package com.mogo.eagle.core.function.api.base
|
||||
|
||||
import android.util.Log
|
||||
import com.alibaba.android.arouter.facade.template.IProvider
|
||||
|
||||
/**
|
||||
@@ -19,7 +18,5 @@ interface IMoGoFunctionServerProvider : IProvider {
|
||||
/**
|
||||
* 功能销毁回调
|
||||
*/
|
||||
fun onDestroy() {
|
||||
Log.d("IMoGoFunctionServerProvider", "onDestroy")
|
||||
}
|
||||
fun onDestroy()
|
||||
}
|
||||
Reference in New Issue
Block a user