Merge branch 'dev_arch_opt_3.0' into dev_robobus-m1-p-app-module_1.0.0_230112_1.0.0
# Conflicts: # app/build.gradle # app/src/main/AndroidManifest.xml # core/mogo-core-function-call/build.gradle
This commit is contained in:
@@ -2,6 +2,7 @@ package com.mogo.eagle.core.function.api.autopilot
|
||||
|
||||
import chassis.SpecialVehicleTaskCmdOuterClass
|
||||
import com.mogo.eagle.core.data.autopilot.AutopilotControlParameters
|
||||
import com.mogo.eagle.core.data.badcase.BagManagerEntity
|
||||
import com.mogo.eagle.core.data.trafficlight.TrafficLightResult
|
||||
import com.mogo.eagle.core.function.api.base.IMoGoFunctionServerProvider
|
||||
|
||||
@@ -187,6 +188,12 @@ interface IMoGoAutopilotControlProvider : IMoGoFunctionServerProvider {
|
||||
*/
|
||||
fun getBadCaseConfig(reqType: Int,recordType: Int,topicsNeedToCache: List<String>): Boolean
|
||||
|
||||
/**
|
||||
* 获取Bag包管理信息
|
||||
* @param bagManagerEntity 包管理请求实体类
|
||||
*/
|
||||
fun sendBagManagerCmd(bagManagerEntity: BagManagerEntity): Boolean
|
||||
|
||||
/**
|
||||
* 发送工控机所有节点重启命令
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.mogo.eagle.core.function.api.autopilot
|
||||
|
||||
import bag_manager.BagManagerOuterClass
|
||||
import mogo.telematics.pad.MessagePad
|
||||
import record_cache.RecordPanelOuterClass
|
||||
|
||||
@@ -20,4 +21,9 @@ interface IMoGoAutopilotRecordListener {
|
||||
*/
|
||||
fun onAutopilotRecordConfig(config: MessagePad.RecordDataConfig){}
|
||||
|
||||
/**
|
||||
* 录包任务管理应答
|
||||
*/
|
||||
fun onBagManagerResult(bagManager: BagManagerOuterClass.BagManager){}
|
||||
|
||||
}
|
||||
@@ -11,6 +11,7 @@ import com.mogo.eagle.core.data.deva.chain.ChainLogParam
|
||||
import com.mogo.eagle.core.data.deva.scene.SceneModule
|
||||
import com.mogo.eagle.core.data.deva.scene.SceneTAG
|
||||
import com.mogo.eagle.core.data.msgbox.MsgBoxBean
|
||||
import com.mogo.eagle.core.function.api.devatools.apm.*
|
||||
|
||||
/**
|
||||
* 开发套件工具接口
|
||||
@@ -171,6 +172,11 @@ interface IDevaToolsProvider : IProvider {
|
||||
*/
|
||||
fun queryAppUpgrade()
|
||||
|
||||
/**
|
||||
* 查询obu是否有更新
|
||||
*/
|
||||
fun queryObuUpgrade(obuVersionName: String)
|
||||
|
||||
fun getEnvConfig(): EnvConfig?
|
||||
|
||||
fun getEnvCityName():String
|
||||
@@ -182,4 +188,6 @@ interface IDevaToolsProvider : IProvider {
|
||||
fun envConfigChange(cityCode: String, netMode: Int)
|
||||
|
||||
fun dockerVersion(dockerVersion: String?)
|
||||
|
||||
fun apmEnvProvider(): IApmEnvProvider
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.mogo.eagle.core.function.api.devatools.apm
|
||||
|
||||
interface IApmEnvProvider {
|
||||
|
||||
fun init(buildType: String, netType: String, dockerVersion: String)
|
||||
|
||||
fun onEnvChanged(buildType: String, netType: String, dockerVersion: String)
|
||||
|
||||
fun isDebugEnabled(): Boolean?
|
||||
}
|
||||
@@ -16,4 +16,8 @@ interface IMoGoObuProvider : IMoGoFunctionServerProvider {
|
||||
fun isConnected(): Boolean
|
||||
|
||||
fun setObuLog(isChecked: Boolean)
|
||||
|
||||
fun uploadObuPack(filePathArray: Array<String>)
|
||||
|
||||
fun deleteObuFile()
|
||||
}
|
||||
Reference in New Issue
Block a user