[charter]
[3.2.0] [关闭页面、核销动作]
This commit is contained in:
@@ -43,24 +43,13 @@ object DriverMessage: IReceivedMsgListener {
|
||||
}
|
||||
}
|
||||
DPMsgType.TYPE_COMMON.type -> {
|
||||
CallerLogger.d(SceneConstant.M_BUS_P + BaseDPMsg.TAG, "收到数据:常规数据")
|
||||
val msg = GsonUtils.fromJson(
|
||||
String(byteArray),
|
||||
DPCommonOperationMsg::class.java
|
||||
) as DPCommonOperationMsg
|
||||
pushOperationalToMsgBox(DateTimeUtil.getCurrentTimeStamp(), msg.msg)
|
||||
}
|
||||
DPMsgType.TYPE_COMMON.type -> {
|
||||
CallerLogger.d(SceneConstant.M_BUS_P + BaseDPMsg.TAG, "收到数据:常规数据")
|
||||
val msg = GsonUtils.fromJson(
|
||||
String(byteArray),
|
||||
AppConnectMsg::class.java
|
||||
) as AppConnectMsg
|
||||
CallerLogger.d(SceneConstant.M_BUS_P + BaseDPMsg.TAG, "收到数据:常规数据:$msg")
|
||||
if (msg.isViewShow) { //消息盒子显示内容
|
||||
OCHSocketMessageManager.pushAppOperationalMsgBox(
|
||||
DateTimeUtil.getCurrentTimeStamp(), msg.msg,
|
||||
OCHSocketMessageManager.OPERATION_SYSTEM
|
||||
)
|
||||
pushOperationalToMsgBox(DateTimeUtil.getCurrentTimeStamp(), msg.msg)
|
||||
}
|
||||
if(msg.isPlay){
|
||||
VoiceNotice.showNotice(msg.msg, AIAssist.LEVEL1)
|
||||
|
||||
@@ -223,6 +223,9 @@ class MainFragment :
|
||||
fun showOpenAndCloseDoor() {
|
||||
val bpFunctionGroup = bpFunctionGroupDialogFragment?.get()
|
||||
bpFunctionGroup?.dismissAllowingStateLoss()
|
||||
val noviceGuidanceFragment = noviceGuidanceFragment?.get()
|
||||
noviceGuidanceFragment?.dismissAllowingStateLoss()
|
||||
|
||||
if (m1CarUserNoOrderFragment?.get() == null) {
|
||||
m1CarUserNoOrderFragment = WeakReference(M1CarUserNoOrderFragment.newInstance())
|
||||
}
|
||||
|
||||
@@ -67,6 +67,7 @@ class NoviceGuidanceFragment :
|
||||
override fun getTagName(): String = TAG
|
||||
|
||||
override fun initViews() {
|
||||
dialog?.setCancelable(false)
|
||||
CallerLogger.d(M_BUS_P + TAG, "initViews")
|
||||
setTargetVisable(startGuidance = true)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user