@@ -1,6 +1,7 @@
|
||||
package com.mogo.eagle.core.function.api.autopilot;
|
||||
|
||||
import com.mogo.eagle.core.data.autopilot.AdasOCHData;
|
||||
import com.mogo.eagle.core.data.autopilot.AutopilotStatusInfo;
|
||||
|
||||
/**
|
||||
* @author xiaoyuzhou
|
||||
@@ -24,15 +25,24 @@ public interface IMoGoAutoPilotStatusListener {
|
||||
|
||||
|
||||
/**
|
||||
* 到站
|
||||
* 自动驾驶到站
|
||||
*
|
||||
* @param data 所到车站的简单信息
|
||||
*/
|
||||
void onArriveAt( AdasOCHData data );
|
||||
void onAutoPilotArriveAtStation(AdasOCHData data);
|
||||
|
||||
/**
|
||||
* 自动驾驶状态发生改变
|
||||
* @param state {@link #STATUS_AUTOPILOT_DISABLE}
|
||||
*
|
||||
* @param state {@link #STATUS_AUTOPILOT_DISABLE}
|
||||
* @param reason 不能自动驾驶的原因
|
||||
*/
|
||||
void onStateChanged(int state, String reason);
|
||||
void onAutoPilotStateChanged(int state, String reason);
|
||||
|
||||
/**
|
||||
* 自动驾驶状态信息
|
||||
*
|
||||
* @param autopilotStatusInfo 状态信息
|
||||
*/
|
||||
void onAutoPilotStatusResponse(AutopilotStatusInfo autopilotStatusInfo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user