From e8b3c75ba0e68e7cdd98e85387223ec160261f42 Mon Sep 17 00:00:00 2001 From: xuxinchao <13522809046@163.com> Date: Thu, 7 Jul 2022 18:09:39 +0800 Subject: [PATCH] BadCase MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加badcase获取数据采集录制模式配置列表获取接口 --- .../eagle/core/function/autopilot/MoGoAutopilotProvider.kt | 7 +++++++ .../core/function/api/autopilot/IMoGoAutopilotProvider.kt | 5 +++++ .../core/function/call/autopilot/CallerAutoPilotManager.kt | 7 +++++++ 3 files changed, 19 insertions(+) diff --git a/core/function-impl/mogo-core-function-autopilot/src/main/java/com/mogo/eagle/core/function/autopilot/MoGoAutopilotProvider.kt b/core/function-impl/mogo-core-function-autopilot/src/main/java/com/mogo/eagle/core/function/autopilot/MoGoAutopilotProvider.kt index a0c609d172..91b76640ad 100644 --- a/core/function-impl/mogo-core-function-autopilot/src/main/java/com/mogo/eagle/core/function/autopilot/MoGoAutopilotProvider.kt +++ b/core/function-impl/mogo-core-function-autopilot/src/main/java/com/mogo/eagle/core/function/autopilot/MoGoAutopilotProvider.kt @@ -405,6 +405,13 @@ class MoGoAutopilotProvider : } } + /** + * 获取数据采集录制模式配置列表 + */ + override fun getBadCaseConfig() { + AdasManager.getInstance().sendRecordDataConfigReq() + } + /** * 发送工控机所有节点重启命令 */ diff --git a/core/mogo-core-function-api/src/main/java/com/mogo/eagle/core/function/api/autopilot/IMoGoAutopilotProvider.kt b/core/mogo-core-function-api/src/main/java/com/mogo/eagle/core/function/api/autopilot/IMoGoAutopilotProvider.kt index d5be6e2fde..020ca59254 100644 --- a/core/mogo-core-function-api/src/main/java/com/mogo/eagle/core/function/api/autopilot/IMoGoAutopilotProvider.kt +++ b/core/mogo-core-function-api/src/main/java/com/mogo/eagle/core/function/api/autopilot/IMoGoAutopilotProvider.kt @@ -134,6 +134,11 @@ interface IMoGoAutopilotProvider : IMoGoFunctionServerProvider { */ fun setRainMode(isEnable: Boolean) + /** + * 获取数据采集录制模式配置列表 + */ + fun getBadCaseConfig() + /** * 发送工控机所有节点重启命令 */ diff --git a/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/autopilot/CallerAutoPilotManager.kt b/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/autopilot/CallerAutoPilotManager.kt index 3f730d231c..07c33331aa 100644 --- a/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/autopilot/CallerAutoPilotManager.kt +++ b/core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/autopilot/CallerAutoPilotManager.kt @@ -174,6 +174,13 @@ object CallerAutoPilotManager { providerApi?.setRainMode(isEnable) } + /** + * 获取数据采集录制模式配置列表 + */ + fun getBadCaseConfig(){ + providerApi?.getBadCaseConfig() + } + /** * 发送工控机所有节点重启命令 */