Merge branch 'dev_arch_opt_3.0' into dev_robobus-m1-p-app-module_1.0.0_230112_1.0.0

This commit is contained in:
yangyakun
2023-02-20 19:28:36 +08:00
40 changed files with 422 additions and 488 deletions

View File

@@ -43,18 +43,16 @@ android {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation rootProject.ext.dependencies.kotlinstdlibjdk7
implementation rootProject.ext.dependencies.arouter
kapt rootProject.ext.dependencies.aroutercompiler
implementation rootProject.ext.dependencies.coroutinescore
implementation rootProject.ext.dependencies.coroutinesandroid
implementation project(':libraries:mogo-obu')
if (Boolean.valueOf(USE_MAVEN_PACKAGE)) {
implementation rootProject.ext.dependencies.mogo_core_data
compileOnly project(path: ':libraries:mogo-adas')
compileOnly rootProject.ext.dependencies.mogo_core_data
compileOnly rootProject.ext.dependencies.mogomapapi
} else {
implementation project(':core:mogo-core-data')
compileOnly project(':core:mogo-core-data')
compileOnly project(':libraries:mogo-obu')
compileOnly project(':libraries:mogo-adas')
compileOnly project(':libraries:mogo-map-api')
}

View File

@@ -200,5 +200,5 @@ interface IMoGoMediaFacade {
interface IMoGoAnalyticsFacade {
fun track(eventType: String, data: Map<String, Any>? = hashMapOf())
fun track(eventType: String, data: MutableMap<String, Any> = hashMapOf())
}

View File

@@ -0,0 +1,18 @@
package com.mogo.eagle.core.function.api.obu
/**
* OBU 数据保存
* @author lixiaopeng
* @date 2023-02-01
*/
interface IMoGoObuSaveMessageListener {
/**
* @param type 事件id类似与uuid
* @param content 事件内容
* @param tts 事件语音播报
*
*/
fun onMoGoObuSaveMessage(type: String, content: String, tts: String)
}

View File

@@ -13,5 +13,4 @@ interface IMoGoObuDcCombineListener {
*/
fun onMoGoObuDcCombineData(obuWarningData: ObuWarningEvent.ObuWarningData?)
}