[charter]

[3.2.0]
[关闭页面、核销动作]
This commit is contained in:
yangyakun
2023-05-18 12:09:15 +08:00
parent fca4c257a8
commit 3c455d9295
3 changed files with 6 additions and 13 deletions

View File

@@ -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)

View File

@@ -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())
}

View File

@@ -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)