[630][adas] 修改所有下发命令返回,返回值为非0的正整数时表示下发消息的消息ID,=0:表示添加到WS发送消息队列,=0:表示乘客屏模式添加到WS发送消息队列,-1L:添加到WS发送消息队列失败

This commit is contained in:
xinfengkun
2024-03-04 11:49:20 +08:00
parent ecc48768b8
commit dadd787908
10 changed files with 1673 additions and 797 deletions

View File

@@ -241,7 +241,7 @@ interface IMoGoAutopilotControlProvider : IMoGoFunctionServerProvider {
* {@link AdasConstants.MapSystemParamType#OVERTAKE_MAX_SPEED Value类型double或double类型String}
* @return boolean
*/
fun sendSetParamReq(param: Map<AdasConstants.MapSystemParamType, Any>): Boolean
fun sendSetParamReq(param: Map<AdasConstants.MapSystemParamType, Any>): Set<Long>
/**
* 获取全部参数
* 结果回调{@link OnAdasListener#onGetParamResp(MessagePad.Header, MessagePad.SetParamReq)}
@@ -308,7 +308,7 @@ interface IMoGoAutopilotControlProvider : IMoGoFunctionServerProvider {
* 系统命令请求 关机
* 命令下发存在回执
*/
fun sendIpcPowerOff()
fun sendIpcPowerOff(): Long
/**
* 办公室调试使用,强制开启自动驾驶,将 statuspilotmodecontrol_pilotmode强追设置为 1