[B1/B2]乘客屏路线状态更新

This commit is contained in:
wangmingjun
2023-04-06 21:02:13 +08:00
parent d11710ee11
commit 01fde7ba85
3 changed files with 7 additions and 2 deletions

View File

@@ -273,6 +273,9 @@ public class BusPassengerModel {
clearLocalRouteResult();
return;
}
routesResult = result;
if (mRouteLineInfoCallback != null){
mRouteLineInfoCallback.updateLineInfo(result.getName(),result.getRunningDur());
mRouteLineInfoCallback.hideNoTaskView();

View File

@@ -105,7 +105,7 @@ class PM2DrivingModel private constructor() {
private fun queryDriverByLocalDriver() {
//本地去请求司机端
val msg = TaskDetailsMsg("")
val msg = TaskDetailsMsg("task")
sendMsgToServer(GsonUtils.toJson(msg))
}
@@ -422,6 +422,8 @@ class PM2DrivingModel private constructor() {
return
}
routesResult = result
mDrivingInfoCallback?.updateLine(result.name, result.runningDur)
if (result.sites != null) {
mDrivingInfoCallback?.showNoTaskView(false)

View File

@@ -228,7 +228,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp_50"
android:layout_marginTop="@dimen/dp_27"
android:text="60"
android:text="0"
android:textColor="@color/m2_p_speed_tv_color"
android:textSize="@dimen/dp_60"
android:textStyle="bold"