[fix]
[数据类型错误]
This commit is contained in:
yangyakun
2024-07-01 10:58:08 +08:00
parent 172c5a6503
commit 903d0ea4aa

View File

@@ -666,7 +666,7 @@ object TrajectoryAndDistanceManager : IMoGoPlanningRottingListener {
return "请确认线路ID"
}
OchAutopilotAnalytics.triggerDistance2LineorStation("条件记录:lineId:${lineId}----this.lineId:${this.lineId}")
OchAutopilotAnalytics.triggerDistance2LineorStation("条件记录:lineId:${lineId}----this.lineId:${this.lineId}、mRoutePoints情况:${mRoutePoints?.size}")
try {
if (mRoutePoints.isNullOrEmpty()) {
@@ -688,7 +688,7 @@ object TrajectoryAndDistanceManager : IMoGoPlanningRottingListener {
CallerChassisLocationGCJ02ListenerManager.getChassisLocationGCJ02()
distanceWithTrajectory(mRoutePoints!!,currentPoint)
} else {
if (lineId != this.lineId) {
if (lineId.toLong() != this.lineId) {
// 判断距离起始站的距离
distanceWithStartStation()
} else {