[Opt]全览模式View和业务分离

This commit is contained in:
chenfufeng
2023-02-06 18:45:30 +08:00
parent 2ce02f2a5b
commit 2c6684b617
23 changed files with 206 additions and 1107 deletions

View File

@@ -1,5 +1,6 @@
package com.mogo.eagle.core.function.api.biz
import android.content.Context
import com.mogo.eagle.core.data.camera.CameraEntity
import com.mogo.eagle.core.function.api.base.IMoGoFunctionServerProvider
@@ -51,4 +52,10 @@ interface IMoGoFuncBizProvider : IMoGoFunctionServerProvider {
*/
fun closeCameraLive()
/*----------------------------------------全览模式----------------------------------------*/
fun fetchInfStructures()
fun getAllV2XEvents()
fun initOverViewDb(context: Context)
}

View File

@@ -0,0 +1,16 @@
package com.mogo.eagle.core.function.api.v2x
import com.mogo.eagle.core.data.map.Infrastructure
import com.mogo.eagle.core.data.v2x.V2XEvent
interface IFuncBizProvider {
/**
* 查询衡阳所有的摄像头数据
*/
fun onInfStructures(map: HashMap<String, ArrayList<Infrastructure>>?) {}
/**
* 根据lineId获取整条道路的V2X事件
*/
fun onV2XEvents(v2xEvents: List<V2XEvent>?) {}
}