[fix]
[添加指导下载轨迹的日志]
This commit is contained in:
yangyakun
2024-10-15 15:24:51 +08:00
parent c1a6a97db8
commit 1e4e60d0d1
2 changed files with 6 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ public class BusTrajectoryManager {
* 同步Bus路线信息
*/
public void syncTrajectoryInfo() {
OchChainLogManager.writeChainLog("轨迹监控","开始或者结束下发轨迹 轨迹id"+mAutoPilotLine.getLineId(), true, OchChainLogManager.EVENT_KEY_INFE_WITH_TRAJECTORY);
if (LoginStatusManager.isLogin() && LineModel.INSTANCE.getCurrentTask() != null
&& LineModel.getStartStationIndex() == 0
&& !OrderModel.isGoingToNextStation()) {
@@ -159,6 +160,7 @@ public class BusTrajectoryManager {
}
private void startTrajReqLoop() {
OchChainLogManager.writeChainLog("轨迹监控","开始下发轨迹 轨迹id"+mAutoPilotLine.getLineId(), true, OchChainLogManager.EVENT_KEY_INFE_WITH_TRAJECTORY);
if (mSendReqDisposable != null && !mSendReqDisposable.isDisposed()) {
return;
}
@@ -180,6 +182,7 @@ public class BusTrajectoryManager {
}
public void stopTrajReqLoop() {
OchChainLogManager.writeChainLog("轨迹监控","结束下发轨迹 轨迹id"+mAutoPilotLine.getLineId(), true, OchChainLogManager.EVENT_KEY_INFE_WITH_TRAJECTORY);
if (mSendReqDisposable != null) {
CallerLogger.d(M_BUS + TAG, "stopTrajReqLoop()");
mSendReqDisposable.dispose();