[3.4.0]增加V2X消息埋点统计

This commit is contained in:
xuxinchao
2023-07-24 21:00:48 +08:00
parent 5000a87d2e
commit 2ce531235c
16 changed files with 207 additions and 25 deletions

View File

@@ -30,4 +30,11 @@ object CallerFuncBizListenerManager: CallerBase<IFuncBizProvider>() {
listener.onV2XEvents(v2XEventData)
}
}
fun invokeAttrZombieAnalyticsEvent(){
M_LISTENERS.forEach{
val listener = it.value
listener.onAttrZombieAnalyticsEvent()
}
}
}

View File

@@ -1,10 +1,9 @@
package com.mogo.eagle.core.function.call.obu
import com.mogo.eagle.core.data.enums.CommunicationType
import com.mogo.eagle.core.data.enums.DataSourceType
import com.mogo.eagle.core.function.api.datacenter.obu.IMoGoObuSaveMessageListener
import com.mogo.eagle.core.function.api.datacenter.obu.IMoGoObuWarningRsiListener
import com.mogo.eagle.core.function.call.base.CallerBase
import com.mogo.support.obu.ObuScene
/**
* OBU 保存到数据中心,展示在消息盒子的数据
@@ -12,11 +11,11 @@ import com.mogo.support.obu.ObuScene
*/
object CallerObuSaveMessageListenerManager : CallerBase<IMoGoObuSaveMessageListener>() {
fun invokeObuSaveMessage(type: String, content: String, tts: String, sourceType: DataSourceType) {
fun invokeObuSaveMessage(type: String, content: String, tts: String, sourceType: DataSourceType,communicationType: CommunicationType) {
M_LISTENERS.forEach {
val tag = it.key
val listener = it.value
listener.onMoGoObuSaveMessage(type, content, tts, sourceType)
listener.onMoGoObuSaveMessage(type, content, tts, sourceType,communicationType)
}
}