BadCase
新增BadCase录包设置、AI数据采集,Badcase改版
This commit is contained in:
@@ -78,6 +78,16 @@ interface IMoGoAutopilotProvider : IMoGoFunctionServerProvider {
|
||||
*/
|
||||
fun stopRecord(type: Int, id: Int): Boolean
|
||||
|
||||
/**
|
||||
* 开启域控制器录制bag包
|
||||
* @param type 录制类型 1: badcase 2:map 3:rests
|
||||
* @param id 指令/任务 ID
|
||||
* @param duration 录制时长
|
||||
* @param bduration 录制前溯时长
|
||||
* @return true-成功,false-失败
|
||||
*/
|
||||
fun recordPackage(type: Int,id: Int,duration: Int,bduration: Int): Boolean
|
||||
|
||||
/**
|
||||
* Log 是否显示
|
||||
*
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.mogo.eagle.core.function.api.autopilot
|
||||
|
||||
import mogo.telematics.pad.MessagePad
|
||||
import record_cache.RecordPanelOuterClass
|
||||
|
||||
/**
|
||||
@@ -14,4 +15,9 @@ interface IMoGoAutopilotRecordListener {
|
||||
*/
|
||||
fun onAutopilotRecordResult(recordPanel: RecordPanelOuterClass.RecordPanel) {}
|
||||
|
||||
/**
|
||||
* 数据采集配置应答
|
||||
*/
|
||||
fun onAutopilotRecordConfig(config: MessagePad.RecordDataConfig){}
|
||||
|
||||
}
|
||||
@@ -74,11 +74,8 @@ interface IDevaToolsProvider : IProvider {
|
||||
/**
|
||||
* 初始化BadCase入口
|
||||
* @param view: 展示入口
|
||||
* @param onShow: BadCase入口展示时回调
|
||||
* @param onHide: BadCase入口隐藏时回调
|
||||
* 注: 此方法必须在[recoverBadCase]和[onReceiveBadCaseRecord]之前调用
|
||||
*/
|
||||
fun initBadCase(view: View, onShow: (() -> Unit)? = null, onHide: (() -> Unit)? = null)
|
||||
fun initBadCase(view: View)
|
||||
|
||||
/**
|
||||
* 当工控机回调时调用
|
||||
@@ -86,7 +83,7 @@ interface IDevaToolsProvider : IProvider {
|
||||
fun onReceiveBadCaseRecord(record: RecordPanelOuterClass.RecordPanel)
|
||||
|
||||
/**
|
||||
* 展示反馈页面
|
||||
* 展示录包配置
|
||||
*/
|
||||
fun showFeedbackWindow(ctx: Context)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user