BadCase
新增BadCase录包设置、AI数据采集,Badcase改版
This commit is contained in:
@@ -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包
|
||||
*/
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user