[6.6.0]接管记录
This commit is contained in:
@@ -58,6 +58,14 @@ class ToolsView private constructor() {
|
||||
dismissToolsFloatView()
|
||||
CallerDevaToolsManager.showBadCaseManagerView(it)
|
||||
}
|
||||
|
||||
/**
|
||||
* 展示接管记录页面
|
||||
*/
|
||||
override fun showTakeOverRecordView() {
|
||||
dismissToolsFloatView()
|
||||
CallerDevaToolsManager.showTakeOverRecordView(it)
|
||||
}
|
||||
})
|
||||
}
|
||||
toolsViewFloat = WarningFloat.with(it)
|
||||
|
||||
@@ -10,6 +10,7 @@ import android.util.AttributeSet
|
||||
import android.view.LayoutInflater
|
||||
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.deva.bindingcar.IPCUpgradeStateInfo
|
||||
import com.mogo.eagle.core.data.deva.bizconfig.FuncBizConfig
|
||||
@@ -144,7 +145,13 @@ internal class AutoPilotAndCheckView @JvmOverloads constructor(
|
||||
ivDebugPanel.setOnClickListener {
|
||||
clickListener?.showDebugPanelView()
|
||||
}
|
||||
|
||||
//接管记录
|
||||
if(ProjectUtils.isSaas()){
|
||||
takeOverRecordLayout.visibility = View.VISIBLE
|
||||
takeOverRecordLayout.setOnClickListener {
|
||||
clickListener?.showTakeOverRecordView()
|
||||
}
|
||||
}
|
||||
if (AppConfigInfo.isConnectAutopilot) {
|
||||
CallerAutoPilotControlManager.getCarConfig()
|
||||
}
|
||||
@@ -300,6 +307,7 @@ internal class AutoPilotAndCheckView @JvmOverloads constructor(
|
||||
fun showFeedbackView()
|
||||
fun showSOPSettingView()
|
||||
fun showBadCaseManagerView()
|
||||
fun showTakeOverRecordView()
|
||||
}
|
||||
|
||||
override fun onAutopilotCarConfig(carConfigResp: MessagePad.CarConfigResp) {
|
||||
|
||||
@@ -159,6 +159,7 @@
|
||||
android:layout_height="150dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@drawable/debug_icon_bag_manager"
|
||||
android:contentDescription="@string/debug_bad_case"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -180,6 +181,36 @@
|
||||
app:layout_constraintLeft_toRightOf="@id/sopLayout"
|
||||
app:layout_constraintTop_toTopOf="@id/sopLayout" />
|
||||
|
||||
<RelativeLayout
|
||||
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"
|
||||
android:layout_marginStart="@dimen/dp_142"
|
||||
android:visibility="gone"
|
||||
>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dp_150"
|
||||
android:layout_height="@dimen/dp_150"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:background="@drawable/icon_take_over_record"
|
||||
android:contentDescription="@string/take_over_record"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/dp_42"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:text="@string/take_over_record"
|
||||
android:textColor="@color/color_FFA7B6F0"
|
||||
android:textSize="@dimen/sp_32" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_check_title"
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
<string name="debug_panel_fb">录包设置</string>
|
||||
<string name="debug_sop">运营面板</string>
|
||||
<string name="debug_bad_case">录包</string>
|
||||
<string name="take_over_record">接管记录</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