[fea]
[暴露orderId]
This commit is contained in:
yangyakun
2024-09-27 19:46:49 +08:00
parent 9346d4b722
commit e87b63f770
3 changed files with 20 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ import com.mogo.eagle.core.function.api.autopilot.IMoGoChassisLocationGCJ02Liste
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotControlManager
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotStatusListenerManager
import com.mogo.eagle.core.function.call.map.CallerMapGlobalTrajectoryDrawManager
import com.mogo.eagle.core.function.call.och.CallerEagleBaseFunctionCall4OchManager
import com.mogo.eagle.core.function.call.order.CallerOrderListenerManager
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger.d
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger.e
@@ -253,6 +254,7 @@ object LineManager : CallerBase<ILineCallback>() {
CallerAutoPilotStatusListenerManager.updateAutopilotControlParameters(null)
TrajectoryAndDistanceManager.setStationPoint(null, null, null)
this.orderId = ""
CallerEagleBaseFunctionCall4OchManager.setOchAutopilotOrderId(this.orderId)
OchLocationManager.removeGCJ02Listener(TAG)
}
@@ -300,6 +302,7 @@ object LineManager : CallerBase<ILineCallback>() {
this.orderId = "${lineInfo.lineId}_${start.siteId}_${end.siteId}"
parameters?.orderId = this.orderId
parameters?.firstAutopilotFlag = isFirstStartAutopilot
CallerEagleBaseFunctionCall4OchManager.setOchAutopilotOrderId(this.orderId)
if (parameters?.autoPilotLine == null) {
parameters?.autoPilotLine = AutoPilotLine(