抽离自车状态回调监听

Signed-off-by: 董宏宇 <martindhy@gmail.com>
This commit is contained in:
董宏宇
2021-11-02 14:21:03 +08:00
parent 246998e46c
commit 7fd5b7e9d6
9 changed files with 115 additions and 39 deletions

View File

@@ -0,0 +1,18 @@
package com.mogo.eagle.core.function.api.autopilot
import com.mogo.eagle.core.data.autopilot.AutopilotCarStateInfo
/**
*@author xiaoyuzhou
*@date 2021/11/2 2:06 下午
* 车辆状态&定位 数据 数据 回调监听
*/
interface IMoGoAutopilotCarStateListener {
/**
* 车辆状态&定位 数据
*
* @param autoPilotCarStateInfo
*/
fun onAutopilotCarStateData(autoPilotCarStateInfo: AutopilotCarStateInfo?)
}

View File

@@ -1,8 +1,8 @@
package com.mogo.eagle.core.function.api.autopilot
import com.mogo.eagle.core.data.autopilot.*
import com.mogo.eagle.core.data.traffic.TrafficData
import java.util.*
import com.mogo.eagle.core.data.autopilot.AutopilotGuardianStatusInfo
import com.mogo.eagle.core.data.autopilot.AutopilotStationInfo
import com.mogo.eagle.core.data.autopilot.AutopilotStatusInfo
/**
* @author xiaoyuzhou
@@ -25,13 +25,6 @@ interface IMoGoAutopilotStatusListener {
*/
fun onAutopilotArriveAtStation(autopilotWayArrive: AutopilotStationInfo?)
/**
* 车辆状态数据
*
* @param autoPilotCarStateInfo
*/
fun onAutopilotCarStateData(autoPilotCarStateInfo: AutopilotCarStateInfo?)
/**
* 工控机获取SN
*/