[6.6.0]
[待上传任务信息]
This commit is contained in:
@@ -66,6 +66,10 @@ class ToolsView private constructor() {
|
||||
dismissToolsFloatView()
|
||||
CallerDevaToolsManager.showTakeOverRecordView(it)
|
||||
}
|
||||
|
||||
override fun showWaitUploadTaskView() {
|
||||
dismissToolsFloatView()
|
||||
}
|
||||
})
|
||||
}
|
||||
toolsViewFloat = WarningFloat.with(it)
|
||||
|
||||
@@ -12,6 +12,7 @@ import android.view.View
|
||||
import android.widget.FrameLayout
|
||||
import com.mogo.commons.env.ProjectUtils
|
||||
import com.mogo.eagle.core.data.app.AppConfigInfo
|
||||
import com.mogo.eagle.core.data.config.FunctionBuildConfig
|
||||
import com.mogo.eagle.core.data.deva.bindingcar.IPCUpgradeStateInfo
|
||||
import com.mogo.eagle.core.data.deva.bizconfig.FuncBizConfig
|
||||
import com.mogo.eagle.core.data.deva.report.TakeOverRecordInfo
|
||||
@@ -27,6 +28,7 @@ import com.mogo.eagle.core.function.hmi.R
|
||||
import com.mogo.eagle.core.function.hmi.ui.utils.KeyBoardUtil
|
||||
import com.mogo.eagle.core.function.msgbox.MsgBoxConfig
|
||||
import com.mogo.eagle.core.utilcode.kotlin.onClick
|
||||
import com.mogo.eagle.core.utilcode.mogo.AppIdentityModeUtils
|
||||
import com.mogo.eagle.core.utilcode.util.ActivityUtils
|
||||
import com.mogo.eagle.core.utilcode.util.ToastUtils
|
||||
import com.mogo.eagle.core.utilcode.util.UiThreadHandler
|
||||
@@ -163,6 +165,13 @@ internal class AutoPilotAndCheckView @JvmOverloads constructor(
|
||||
takeOverRecordLayout.setOnClickListener {
|
||||
clickListener?.showTakeOverRecordView()
|
||||
}
|
||||
if (AppIdentityModeUtils.isShuttle(FunctionBuildConfig.appIdentityMode)){
|
||||
waitUploadTaskLayout.visibility = View.VISIBLE
|
||||
waitUploadTaskLayout.onClick {
|
||||
clickListener?.showWaitUploadTaskView()
|
||||
EventBus.getDefault().post(EventLogout(EventLogout.SHOW_WAIT_UPLOAD_TASK))
|
||||
}
|
||||
}
|
||||
}
|
||||
if (AppConfigInfo.isConnectAutopilot) {
|
||||
CallerAutoPilotControlManager.getCarConfig()
|
||||
@@ -320,6 +329,7 @@ internal class AutoPilotAndCheckView @JvmOverloads constructor(
|
||||
fun showSOPSettingView()
|
||||
fun showBadCaseManagerView()
|
||||
fun showTakeOverRecordView()
|
||||
fun showWaitUploadTaskView()
|
||||
}
|
||||
|
||||
override fun onAutopilotCarConfig(carConfigResp: MessagePad.CarConfigResp) {
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
@@ -185,9 +185,9 @@
|
||||
android:id="@+id/takeOverRecordLayout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_216"
|
||||
app:layout_constraintLeft_toLeftOf="@id/checkSystemView"
|
||||
app:layout_constraintTop_toBottomOf="@id/checkSystemView"
|
||||
android:layout_marginTop="@dimen/dp_90"
|
||||
app:layout_constraintTop_toTopOf="@+id/badCaseReportLayout"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/badCaseReportLayout"
|
||||
app:layout_constraintStart_toEndOf="@+id/badCaseReportLayout"
|
||||
android:layout_marginStart="@dimen/dp_142"
|
||||
android:visibility="gone"
|
||||
>
|
||||
@@ -211,6 +211,34 @@
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/waitUploadTaskLayout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_216"
|
||||
android:layout_marginStart="@dimen/dp_142"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/takeOverRecordLayout"
|
||||
app:layout_constraintStart_toEndOf="@+id/takeOverRecordLayout"
|
||||
app:layout_constraintTop_toTopOf="@+id/takeOverRecordLayout">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dp_150"
|
||||
android:layout_height="@dimen/dp_150"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@drawable/icon_wait_upload_task"
|
||||
android:contentDescription="@string/wait_upload_task" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_42"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:text="@string/wait_upload_task"
|
||||
android:textColor="@color/color_FFA7B6F0"
|
||||
android:textSize="@dimen/sp_32" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_check_title"
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
<string name="debug_sop">运营面板</string>
|
||||
<string name="debug_bad_case">录包</string>
|
||||
<string name="take_over_record">接管记录</string>
|
||||
<string name="wait_upload_task">本地任务</string>
|
||||
<string name="debug_bad_case_manager">录包管理</string>
|
||||
<string name="debug_bad_case_report">上报</string>
|
||||
<string name="check_vehicle_speed_setting">车速设置</string>
|
||||
|
||||
Reference in New Issue
Block a user