diff --git a/OCH/mogo-och-charter-passenger/src/main/java/com/mogo/och/bus/passenger/ui/MainFragment.kt b/OCH/mogo-och-charter-passenger/src/main/java/com/mogo/och/bus/passenger/ui/MainFragment.kt index bfb52aeef9..329942c194 100644 --- a/OCH/mogo-och-charter-passenger/src/main/java/com/mogo/och/bus/passenger/ui/MainFragment.kt +++ b/OCH/mogo-och-charter-passenger/src/main/java/com/mogo/och/bus/passenger/ui/MainFragment.kt @@ -22,6 +22,7 @@ import com.mogo.map.uicontroller.VisualAngleMode import com.mogo.och.bus.passenger.R import com.mogo.och.bus.passenger.bean.event.DebugView import com.mogo.och.bus.passenger.bean.event.EventLineSites +import com.mogo.och.bus.passenger.bean.response.OrderInfoResponse import com.mogo.och.bus.passenger.model.CharterPassengerModel import com.mogo.och.bus.passenger.presenter.BusPassengerPresenter import com.mogo.och.bus.passenger.ui.dialogfragment.DebugViewWatchDogFragment @@ -126,6 +127,23 @@ class MainFragment : debug_show_noviceGuidance.setOnClickListener { showNoviceGuidanceFragment() } + debug_change_modle.setOnClickListener { + when (HdMapBuildConfig.currentCarVrIconRes) { + R.raw.aiqinghao -> { + mPresenter?.setCarChangeListener(OrderInfoResponse.M1_FAMILY) + } + R.raw.jiatinghao -> { + mPresenter?.setCarChangeListener(OrderInfoResponse.M1_FRIENDLY) + } + R.raw.pengyouhao -> { + mPresenter?.setCarChangeListener(0) + } + else -> { + mPresenter?.setCarChangeListener(OrderInfoResponse.M1_LOVE) + } + } + + } } private fun openSettingPage(tab: String) { diff --git a/OCH/mogo-och-charter-passenger/src/main/res/layout/m1_main_fragment.xml b/OCH/mogo-och-charter-passenger/src/main/res/layout/m1_main_fragment.xml index eebd97bc98..60cc4b0319 100644 --- a/OCH/mogo-och-charter-passenger/src/main/res/layout/m1_main_fragment.xml +++ b/OCH/mogo-och-charter-passenger/src/main/res/layout/m1_main_fragment.xml @@ -268,10 +268,19 @@ android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content"/> + diff --git a/OCH/mogo-och-charter-passenger/src/main/res/raw/aiqinghao.nt3d b/OCH/mogo-och-charter-passenger/src/main/res/raw/aiqinghao.nt3d index 1c77386d32..95db07b1e9 100755 Binary files a/OCH/mogo-och-charter-passenger/src/main/res/raw/aiqinghao.nt3d and b/OCH/mogo-och-charter-passenger/src/main/res/raw/aiqinghao.nt3d differ diff --git a/OCH/mogo-och-charter-passenger/src/main/res/raw/jiatinghao.nt3d b/OCH/mogo-och-charter-passenger/src/main/res/raw/jiatinghao.nt3d index 14e07ff1cc..0a8ae1ef31 100755 Binary files a/OCH/mogo-och-charter-passenger/src/main/res/raw/jiatinghao.nt3d and b/OCH/mogo-och-charter-passenger/src/main/res/raw/jiatinghao.nt3d differ diff --git a/OCH/mogo-och-charter-passenger/src/main/res/raw/m1.nt3d b/OCH/mogo-och-charter-passenger/src/main/res/raw/m1.nt3d index d0f375886a..2d51e00594 100644 Binary files a/OCH/mogo-och-charter-passenger/src/main/res/raw/m1.nt3d and b/OCH/mogo-och-charter-passenger/src/main/res/raw/m1.nt3d differ diff --git a/OCH/mogo-och-charter-passenger/src/main/res/raw/pengyouhao.nt3d b/OCH/mogo-och-charter-passenger/src/main/res/raw/pengyouhao.nt3d index c56e908166..c76eccfd5c 100755 Binary files a/OCH/mogo-och-charter-passenger/src/main/res/raw/pengyouhao.nt3d and b/OCH/mogo-och-charter-passenger/src/main/res/raw/pengyouhao.nt3d differ