[8.1.0]多链路数据控制
This commit is contained in:
@@ -774,4 +774,41 @@ interface IMoGoAutopilotControlProvider : IMoGoFunctionServerProvider {
|
||||
*/
|
||||
fun sendCloudConfigRequest(): Boolean
|
||||
|
||||
/**
|
||||
* NDE下行感知进PNC开关
|
||||
* @param enable 0: 不发给PnC 1:发给Pnc
|
||||
*/
|
||||
fun sendNdeDownPerceptionToPnc(enable: Int): Boolean
|
||||
|
||||
/**
|
||||
* NDE下行事件进PNC开关
|
||||
* @param enable 0: 不发给PnC 1:发给Pnc
|
||||
*/
|
||||
fun sendNdeDownEventToPnc(enable: Int): Boolean
|
||||
|
||||
/**
|
||||
* V2I下行感知进PNC开关
|
||||
* @param enable 0: 不发给PnC 1:发给Pnc
|
||||
*/
|
||||
fun sendV2iDownPerceptionToPnc(enable: Int): Boolean
|
||||
|
||||
/**
|
||||
* 云端配置控制
|
||||
* @param type 0:蘑菇云 1:NDE云 2:基础平台云
|
||||
* @param direction 0:上行和下行 1:上行 2:下行 当 type == 0 或 1 时 此值只能是 0(蘑菇云和NDE云只能上下行同时控制;当 type == 2 时 此值不能是 0(基础平台云只能上下行分开控制);
|
||||
* @param enable 连接使能开关, true:开 false:关闭
|
||||
*/
|
||||
fun sendForceStopOrStartCloudReq(type: Int,direction: Int,enable: Boolean): Boolean
|
||||
|
||||
/**
|
||||
* 域控上报OBU开关控制
|
||||
* @param enable 0:关 1:开
|
||||
*/
|
||||
fun sendSetObuUploadReq(enable: Int): Boolean
|
||||
|
||||
/**
|
||||
* 域控上报OBU开关状态查询
|
||||
*/
|
||||
fun sendObuUploadStatusQuery(): Boolean
|
||||
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
package com.mogo.eagle.core.function.api.devatools
|
||||
|
||||
import mogo.telematics.pad.MessagePad
|
||||
|
||||
/**
|
||||
* 域控摄像头上传NDE云开关状态回调
|
||||
*/
|
||||
interface IImgUploadCloudListener {
|
||||
|
||||
/**
|
||||
* 查询状态回调
|
||||
*/
|
||||
fun onImgUploadCloudStatusResp(resp: MessagePad.ImgUploadCloudStatusResp)
|
||||
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
package com.mogo.eagle.core.function.api.devatools
|
||||
|
||||
import com.zhjt.mogo.adas.data.bean.AdasParam
|
||||
import mogo.telematics.pad.MessagePad
|
||||
|
||||
/**
|
||||
* 域控摄像头上传NDE云开关状态回调
|
||||
*/
|
||||
interface IV2XListener {
|
||||
|
||||
/**
|
||||
* 云端配置查询响应
|
||||
* @param config 数据
|
||||
*/
|
||||
fun onCloudConfig(config: MessagePad.CloudConfig)
|
||||
|
||||
/**
|
||||
* 摄像头上传NDE云状态响应
|
||||
* @param resp 数据
|
||||
*/
|
||||
fun onImgUploadCloudStatusResp(resp: MessagePad.ImgUploadCloudStatusResp)
|
||||
|
||||
/**
|
||||
* 查询 NDE下行事件数据进pnc 与 V2I下行感知数据进pnc 与 NDE下行感知数据进pnc参数获取应答
|
||||
* @param getParamResp 配置参数
|
||||
* @param adasParam 解析后的配置参数
|
||||
*/
|
||||
fun onGetParamResp(getParamResp: MessagePad.SetParamReq,adasParam: AdasParam)
|
||||
|
||||
/**
|
||||
* 域控上报OBU开关状态响应
|
||||
* @param enable 数据
|
||||
*/
|
||||
fun onObuUploadStatus(enable: MessagePad.SetEnableReq)
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user