规范自动驾驶命名

Signed-off-by: 董宏宇 <martindhy@gmail.com>
This commit is contained in:
董宏宇
2021-10-13 15:01:01 +08:00
parent 78daacaae7
commit ef0c6da1d8
19 changed files with 79 additions and 77 deletions

View File

@@ -1,7 +1,7 @@
package com.mogo.eagle.core.function.call.autopilot
import androidx.annotation.Nullable
import com.mogo.eagle.core.data.autopilot.AdasOCHData
import com.mogo.eagle.core.data.autopilot.AutoPilotStationInfo
import com.mogo.eagle.core.data.autopilot.AutoPilotStatusInfo
import com.mogo.eagle.core.function.api.autopilot.IMoGoAutoPilotStatusListener
import com.mogo.eagle.core.function.api.obu.IMoGoObuStatusListener
@@ -97,15 +97,15 @@ object CallerAutoPilotStatusListenerManager : CallerBase() {
/**
* 自动驾驶网约车回调数据 回调
* @param adasOCHData 自动驾驶网约车回调数据
* @param autoPilotStationInfo 自动驾驶网约车回调数据
*/
fun invokeArriveAtStationListener(adasOCHData: AdasOCHData) {
LogUtils.dTag(TAG, "$adasOCHData")
fun invokeArriveAtStationListener(autoPilotStationInfo: AutoPilotStationInfo) {
LogUtils.dTag(TAG, "$autoPilotStationInfo")
mAutoPilotStatusListeners.forEach {
val tag = it.key
val listener = it.value
LogUtils.dTag(TAG, "tag:$tag listener:$listener")
listener.onAutoPilotArriveAtStation(adasOCHData)
listener.onAutoPilotArriveAtStation(autoPilotStationInfo)
}
}