新增BadCase录包设置、AI数据采集,Badcase改版
This commit is contained in:
xuxinchao
2022-07-13 18:54:13 +08:00
parent 39b9d10162
commit 749c7b4a57
42 changed files with 1740 additions and 74 deletions

View File

@@ -105,6 +105,10 @@ object CallerAutoPilotManager {
providerApi?.recordPackage(type, id, duration)
}
fun recordPackage(type: Int, id: Int, duration: Int,bduration: Int){
providerApi?.recordPackage(type, id, duration, bduration)
}
/**
* 停止录制bag包
*/

View File

@@ -3,6 +3,7 @@ package com.mogo.eagle.core.function.call.autopilot
import androidx.annotation.Nullable
import com.mogo.eagle.core.function.api.autopilot.IMoGoAutopilotRecordListener
import com.mogo.eagle.core.function.call.base.CallerBase
import mogo.telematics.pad.MessagePad
import record_cache.RecordPanelOuterClass
import java.util.concurrent.ConcurrentHashMap
@@ -66,5 +67,16 @@ object CallerAutopilotRecordListenerManager : CallerBase() {
}
}
/**
* 数据采集配置应答
*/
fun invokeAutopilotRecordConfig(config: MessagePad.RecordDataConfig){
M_AUTOPILOT_RECORD_LISTENERS.forEach{
val tag = it.key
val listener = it.value
listener.onAutopilotRecordConfig(config)
}
}
}

View File

@@ -105,8 +105,8 @@ object CallerDevaToolsManager {
/**
* 初始化BadCase相关配置
*/
fun initBadCase(view: View, onShow: (() -> Unit)? = null, onHide: (() -> Unit)? = null) {
devaToolsProviderApi?.initBadCase(view, onShow, onHide)
fun initBadCase(view: View) {
devaToolsProviderApi?.initBadCase(view)
}
/**
@@ -117,7 +117,7 @@ object CallerDevaToolsManager {
}
/**
* 展示反馈界
* 展示录包配置页
*/
fun showFeedbackView(ctx: Context) {
devaToolsProviderApi?.showFeedbackWindow(ctx)