[650] feat: 乘客屏 路侧 V2N 事件弹框完成功能实现,以及 Caller 调用接口;
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package com.mogo.eagle.core.function.call.hmi
|
||||
|
||||
import com.mogo.eagle.core.data.road.RoadV2NEventWindowBean
|
||||
import com.mogo.eagle.core.data.v2x.RoadV2NEventWindowBean
|
||||
import com.mogo.eagle.core.function.api.hmi.v2n.IRoadV2NEventWindowListener
|
||||
import com.mogo.eagle.core.function.call.base.CallerBase
|
||||
import java.util.UUID
|
||||
@@ -15,10 +15,21 @@ object CallerRoadV2NEventWindowListenerManager : CallerBase<IRoadV2NEventWindowL
|
||||
iconResId: Int,
|
||||
hintStr: String,
|
||||
isNeedTTS: Boolean,
|
||||
cameraIp: String
|
||||
cameraIp: String,
|
||||
lon: Double,
|
||||
lat: Double
|
||||
): String {
|
||||
val uuid = UUID.randomUUID().toString()
|
||||
val data = RoadV2NEventWindowBean(uuid, timestamp, iconResId, hintStr, isNeedTTS, cameraIp)
|
||||
val data = RoadV2NEventWindowBean(
|
||||
uuid,
|
||||
timestamp,
|
||||
iconResId,
|
||||
hintStr,
|
||||
isNeedTTS,
|
||||
cameraIp,
|
||||
lon,
|
||||
lat
|
||||
)
|
||||
M_LISTENERS.forEach {
|
||||
val listener = it.value
|
||||
listener.show(data)
|
||||
|
||||
Reference in New Issue
Block a user