添加行程信息接口

This commit is contained in:
lixiaopeng
2022-10-20 18:28:57 +08:00
parent db18f69471
commit dffef06340
10 changed files with 91 additions and 4 deletions

View File

@@ -558,6 +558,18 @@ class MoGoAutopilotProvider :
AdasManager.getInstance().sendOperatorCmdSetHorn(value)
}
/**
* 行程信息
* @param type 事件类型, 1:行程开始, 2:行程结束, 3:出站, 4:进站, 5:城市占道施工预警
* @param lineName 路线名, for type 1, 2
* @param stopName 站点名, for type 3, 4
* @param isLastStop
* @return
*/
override fun sendTripInfo(type: Int, lineName: String, stopName: String, isLastStop: Boolean) {
AdasManager.getInstance().sendTripInfoReq(type, lineName, stopName, isLastStop)
}
/**
* 发送工控机所有节点重启命令
*/