Merge branch 'dev_arch_opt_3.0' into dev_robobus-m1-p-app-module_1.0.0_230112_1.0.0
# Conflicts: # core/mogo-core-data/src/main/java/com/mogo/eagle/core/data/constants/MogoServicePaths.java
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package com.mogo.eagle.core.function.api.v2x
|
||||
package com.mogo.eagle.core.function.api.biz
|
||||
|
||||
import com.mogo.eagle.core.data.map.Infrastructure
|
||||
import com.mogo.eagle.core.data.v2x.V2XEvent
|
||||
import com.mogo.eagle.core.data.v2x.V2XEventData
|
||||
|
||||
interface IFuncBizProvider {
|
||||
/**
|
||||
@@ -12,5 +12,5 @@ interface IFuncBizProvider {
|
||||
/**
|
||||
* 根据lineId获取整条道路的V2X事件
|
||||
*/
|
||||
fun onV2XEvents(v2xEvents: List<V2XEvent>?) {}
|
||||
fun onV2XEvents(v2XEventData: List<V2XEventData>?) {}
|
||||
}
|
||||
@@ -56,4 +56,8 @@ interface IMoGoFuncBizProvider : IMoGoFunctionServerProvider {
|
||||
fun fetchInfStructures()
|
||||
|
||||
fun getAllV2XEvents()
|
||||
|
||||
fun queryV2XEvents()
|
||||
|
||||
|
||||
}
|
||||
@@ -1,6 +1,25 @@
|
||||
package com.mogo.eagle.core.function.api.cloud
|
||||
|
||||
interface IMoGoCloudListener {
|
||||
import com.mogo.eagle.core.data.v2x.V2XEvent
|
||||
|
||||
fun tokenGot(token: String, sn: String)
|
||||
interface IMoGoCloudListener{
|
||||
|
||||
fun tokenGot(token: String, sn: String){}
|
||||
|
||||
/**
|
||||
* 获取到V2X事件成功回调
|
||||
* @param event
|
||||
* - 参数说明:目前此参数支持以下类型
|
||||
* - [V2XEvent.ForwardsWarning]: 路口碰撞预警、盲区预警等预警事件, 数据实体取自[V2XEvent.ForwardsWarning.data]
|
||||
* - [V2XEvent.Road]: 道路事件, 数据实体取自[V2XEvent.Road.data]
|
||||
* - [V2XEvent.Warning]: 预警目标物事件, 数据实体取自[V2XEvent.Warning.data]
|
||||
* - [V2XEvent.Marker]: 道路标记事件, 数据实体取自[V2XEvent.Marker.data]
|
||||
*/
|
||||
fun onAck(event: V2XEvent){}
|
||||
|
||||
/**
|
||||
* V2X事件获取过程中,出现的异常信息,用于问题排查
|
||||
* @param msg 异常信息
|
||||
*/
|
||||
fun onFail(msg: String){}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mogo.eagle.core.function.api.msgbox
|
||||
package com.mogo.eagle.core.function.api.datacenter.msgbox
|
||||
|
||||
import com.mogo.eagle.core.data.msgbox.MsgBoxBean
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mogo.eagle.core.function.api.msgbox
|
||||
package com.mogo.eagle.core.function.api.datacenter.msgbox
|
||||
|
||||
import com.mogo.eagle.core.data.msgbox.MsgBoxBean
|
||||
import com.mogo.eagle.core.data.msgbox.MsgCategory
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mogo.eagle.core.function.api.msgbox
|
||||
package com.mogo.eagle.core.function.api.datacenter.msgbox
|
||||
|
||||
import android.content.Context
|
||||
import com.mogo.eagle.core.data.msgbox.MsgBoxBean
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mogo.eagle.core.function.api.v2x
|
||||
package com.mogo.eagle.core.function.api.datacenter.union
|
||||
|
||||
import com.mogo.eagle.core.data.enums.DataSourceType
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mogo.eagle.core.function.api.v2x
|
||||
package com.mogo.eagle.core.function.api.datacenter.union
|
||||
|
||||
import com.mogo.eagle.core.data.enums.DataSourceType
|
||||
import com.mogo.eagle.core.data.enums.TrafficLightEnum
|
||||
@@ -6,5 +6,7 @@ package com.mogo.eagle.core.function.api.hmi.autopilot
|
||||
* 自动驾驶控制按钮回调监听
|
||||
*/
|
||||
interface IMoGoCheckAutoPilotBtnListener {
|
||||
fun onCheck(isChecked: Boolean)
|
||||
fun onCheck(isChecked: Boolean) {}
|
||||
|
||||
fun updateHDDataCacheStatus(isCached: Boolean) {}
|
||||
}
|
||||
@@ -14,4 +14,6 @@ interface IMoGoObuProvider : IMoGoFunctionServerProvider {
|
||||
fun disConnect()
|
||||
|
||||
fun isConnected(): Boolean
|
||||
|
||||
fun setObuLog(isChecked: Boolean)
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
package com.mogo.eagle.core.function.api.v2x
|
||||
|
||||
import com.mogo.eagle.core.function.api.base.IMoGoFunctionServerProvider
|
||||
|
||||
interface IV2XEventProvider: IMoGoFunctionServerProvider {
|
||||
fun queryWholeRoadEvents()
|
||||
}
|
||||
Reference in New Issue
Block a user