[B1/B2]乘客屏路线状态更新
This commit is contained in:
@@ -273,6 +273,9 @@ public class BusPassengerModel {
|
||||
clearLocalRouteResult();
|
||||
return;
|
||||
}
|
||||
|
||||
routesResult = result;
|
||||
|
||||
if (mRouteLineInfoCallback != null){
|
||||
mRouteLineInfoCallback.updateLineInfo(result.getName(),result.getRunningDur());
|
||||
mRouteLineInfoCallback.hideNoTaskView();
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user