[6.0.0] fix bug of autopilot connect status
This commit is contained in:
@@ -479,13 +479,6 @@ object CallerAutoPilotControlManager {
|
||||
providerApi?.setControlAutopilotCarAuto(isEnable)
|
||||
}
|
||||
|
||||
/**
|
||||
* 车机与工控机是否连上了
|
||||
*/
|
||||
fun isConnected(): Boolean {
|
||||
return providerApi?.isConnected() ?: false
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询工控机基础配置信息
|
||||
*/
|
||||
|
||||
@@ -83,7 +83,7 @@ object CallerAutoPilotStatusListenerManager : CallerBase<IMoGoAutopilotStatusLis
|
||||
return mAutopilotStatusInfo.dockVersion
|
||||
}
|
||||
|
||||
fun getConnectStates():Boolean{
|
||||
fun isConnect():Boolean{
|
||||
return mAutopilotStatusInfo.connectStatus
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user