Merge remote-tracking branch 'origin/dev_robobus-m1-p-app-module_1.1.0_230112_1.1.0' into dev_robobus-m1-p-app-module_1.1.0_230112_1.1.0

This commit is contained in:
wangmingjun
2023-03-16 15:30:05 +08:00
3 changed files with 28 additions and 10 deletions

View File

@@ -29,12 +29,14 @@ import com.mogo.och.bus.passenger.presenter.BusPassengerFunctionDevicePresenter
import com.mogo.och.bus.passenger.ui.M1ContainFragment
import com.mogo.och.bus.passenger.ui.adapter.OrderLineItemAdapter
import com.mogo.och.bus.passenger.ui.adapter.OrderSiteItemAdapter
import com.mogo.och.bus.passenger.utils.RxUtils
import com.mogo.och.bus.passenger.view.BottomDecoration
import com.mogo.och.common.module.bean.dpmsg.ChangeDestMsg
import com.mogo.och.common.module.bean.dpmsg.DPMsgType
import com.mogo.och.common.module.biz.constant.OchCommonConst
import com.mogo.och.common.module.biz.network.OchCommonServiceCallback
import com.mogo.och.common.module.manager.OCHPlanningStopSideStatusManager
import io.reactivex.disposables.Disposable
import kotlinx.android.synthetic.m1.m1_order_lineside.view.*
import me.jessyan.autosize.utils.AutoSizeUtils
@@ -84,6 +86,8 @@ class LineSiteView @JvmOverloads constructor(
duration = 1000
}
private var changeCheck: M1ContainFragment.ChangeCheck?=null
private var subscribeSelectLine: Disposable? = null
private var subscribeSelectSite: Disposable? = null
init {
LayoutInflater.from(context).inflate(R.layout.m1_order_lineside, this, true)
@@ -284,6 +288,11 @@ class LineSiteView @JvmOverloads constructor(
TAGLINELOOP,
LoopInfo(3, ::checkServerStatus)
)
RxUtils.disposeSubscribe(subscribeSelectLine)
subscribeSelectLine= RxUtils.createSubscribe(120_1000){
ToastUtils.showShort("请联系安全员确认")
endAni()
}
}
}
tv_site_only_submit.onClick {
@@ -313,6 +322,11 @@ class LineSiteView @JvmOverloads constructor(
TAGLINELOOP,
LoopInfo(3, ::checkServerStatus)
)
RxUtils.disposeSubscribe(subscribeSelectSite)
subscribeSelectSite = RxUtils.createSubscribe(120_1000){
ToastUtils.showShort("请联系安全员确认")
endAni()
}
}
tv_loading_wait_driver_title.onClick {
endAni()
@@ -408,6 +422,7 @@ class LineSiteView @JvmOverloads constructor(
tempCheckLineIsSubmit = false
ToastUtils.showShort("司机端拒绝请重新选择")
}
RxUtils.disposeSubscribe(subscribeSelectLine)
} else {
if (msg.isConfirmed) {
ToastUtils.showShort("站点确定")
@@ -430,6 +445,7 @@ class LineSiteView @JvmOverloads constructor(
tempCheckLineIsSubmit = true
ToastUtils.showShort("司机端拒绝请重新选择")
}
RxUtils.disposeSubscribe(subscribeSelectSite)
}
BusPassengerModelLoopManager.removeLoopFunction(TAGLINELOOP)
endAni()
@@ -465,6 +481,8 @@ class LineSiteView @JvmOverloads constructor(
override fun onDetachedFromWindow() {
super.onDetachedFromWindow()
loadingAni.cancel()
RxUtils.disposeSubscribe(subscribeSelectLine)
RxUtils.disposeSubscribe(subscribeSelectSite)
CallerTelematicListenerManager.removeListener(TAG)
BusPassengerModelLoopManager.removeLoopFunction(TAGLINELOOP)
CharterPassengerModel.setControllerStatusCallback(TAG, null)

View File

@@ -261,7 +261,7 @@ class OverMapView @JvmOverloads constructor(
CallerPlanningRottingListenerManager.addListener(TAG, this)
initAMapView(context)
// 注册定位监听
CallerChassisLocationGCJ02ListenerManager.addListener(TAG, 20, this)
CallerChassisLocationGCJ02ListenerManager.addListener(TAG, this)
//设置全览模式
overLayerView?.setOnClickListener { displayCustomOverView() }
overLayerView?.let {

View File

@@ -66,23 +66,23 @@ SERVICE_BIZ_VERSION=1.2.4
LOGLIB_VERSION=1.5.11
######## MogoAiCloudSDK Version ########
# 网络请求LOGLIB_VERSION
MOGO_NETWORK_VERSION=1.4.5.10
MOGO_NETWORK_VERSION=1.4.5.12
# 鉴权
MOGO_PASSPORT_VERSION=1.4.5.10
MOGO_PASSPORT_VERSION=1.4.5.12
# 常链接
MOGO_SOCKET_VERSION=1.4.5.10
MOGO_SOCKET_VERSION=1.4.5.12
# 数据采集
MOGO_REALTIME_VERSION=1.4.5.10
MOGO_REALTIME_VERSION=1.4.5.12
# 探路,道路事件发布,获取
MOGO_TANLU_VERSION=1.4.5.10
MOGO_TANLU_VERSION=1.4.5.12
# 直播推流
MOGO_LIVE_VERSION=1.4.5.10
MOGO_LIVE_VERSION=1.4.5.12
# 直播拉流
MOGO_TRAFFICLIVE_VERSION=1.4.5.10
MOGO_TRAFFICLIVE_VERSION=1.4.5.12
# 定位服务
MOGO_LOCATION_VERSION=1.4.5.10
MOGO_LOCATION_VERSION=1.4.5.12
# 远程通讯模块
MOGO_TELEMATIC_VERSION=1.4.5.10
MOGO_TELEMATIC_VERSION=1.4.5.12
######## MogoAiCloudSDK Version ########
# 自研地图
MAP_SDK_VERSION=2.10.0.9