[2.11.0/1.6.0] bus司机屏选择运营任务显示"结束任务"
This commit is contained in:
@@ -167,6 +167,7 @@ public class BusFragment extends BaseBusTabFragment<BusFragment, BusPresenter>
|
|||||||
}
|
}
|
||||||
|
|
||||||
showStationsPanel();
|
showStationsPanel();
|
||||||
|
showOrHideSwitchLineBtn(false);
|
||||||
|
|
||||||
mLineName.setText(lineName);
|
mLineName.setText(lineName);
|
||||||
mTaskTime.setText(getString(R.string.bus_line_time_tag)+ lineTime);
|
mTaskTime.setText(getString(R.string.bus_line_time_tag)+ lineTime);
|
||||||
@@ -184,16 +185,12 @@ public class BusFragment extends BaseBusTabFragment<BusFragment, BusPresenter>
|
|||||||
|
|
||||||
if (arrivingOrArrivedIndex == stationList.size() - 1 && isArrived){
|
if (arrivingOrArrivedIndex == stationList.size() - 1 && isArrived){
|
||||||
//切换路线和结束路线按钮切换
|
//切换路线和结束路线按钮切换
|
||||||
showOrHideSwitchLineBtn(false);
|
|
||||||
|
|
||||||
showSlidePanel("单程结束");
|
showSlidePanel("单程结束");
|
||||||
|
|
||||||
setOrRemoveMapMaker(false, BusConst.BUS_END_MAP_MAKER, endStation.getLat()
|
setOrRemoveMapMaker(false, BusConst.BUS_END_MAP_MAKER, endStation.getLat()
|
||||||
, endStation.getLon(),R.raw.end_marker);
|
, endStation.getLon(),R.raw.end_marker);
|
||||||
}else if (arrivingOrArrivedIndex == 0 && isArrived){
|
}else if (arrivingOrArrivedIndex == 0 && isArrived){
|
||||||
|
|
||||||
showOrHideSwitchLineBtn(true);
|
|
||||||
|
|
||||||
showSlidePanel("滑动出发");
|
showSlidePanel("滑动出发");
|
||||||
|
|
||||||
setOrRemoveMapMaker(true, BusConst.BUS_START_MAP_MAKER,
|
setOrRemoveMapMaker(true, BusConst.BUS_START_MAP_MAKER,
|
||||||
@@ -206,8 +203,6 @@ public class BusFragment extends BaseBusTabFragment<BusFragment, BusPresenter>
|
|||||||
showSlidePanel("滑动出发");
|
showSlidePanel("滑动出发");
|
||||||
}
|
}
|
||||||
|
|
||||||
showOrHideSwitchLineBtn(false);
|
|
||||||
|
|
||||||
setOrRemoveMapMaker(false, BusConst.BUS_START_MAP_MAKER, startStation.getLat()
|
setOrRemoveMapMaker(false, BusConst.BUS_START_MAP_MAKER, startStation.getLat()
|
||||||
, startStation.getLon(),R.raw.star_marker);
|
, startStation.getLon(),R.raw.star_marker);
|
||||||
setOrRemoveMapMaker(true, BusConst.BUS_END_MAP_MAKER, endStation.getLat()
|
setOrRemoveMapMaker(true, BusConst.BUS_END_MAP_MAKER, endStation.getLat()
|
||||||
|
|||||||
Reference in New Issue
Block a user