[Opt]全览模式View和业务分离
This commit is contained in:
@@ -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)
|
||||
}
|
||||
@@ -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>?) {}
|
||||
}
|
||||
Reference in New Issue
Block a user