diff --git a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/bone/tab/ReportTypeView.kt b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/bone/tab/ReportTypeView.kt index 228ed603f6..6639288af8 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/bone/tab/ReportTypeView.kt +++ b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/bone/tab/ReportTypeView.kt @@ -52,7 +52,7 @@ class ReportTypeView @JvmOverloads constructor( attrs: AttributeSet? = null, defStyleAttr: Int = 0 ) : ConstraintLayout(context, attrs, defStyleAttr), - IMoGoDevaToolsListener, IMoGoTakeoverListener { + IMoGoDevaToolsListener { private val TAG = "ReportTypeView" @@ -82,7 +82,6 @@ class ReportTypeView @JvmOverloads constructor( private fun initView(){ CallerDevaToolsListenerManager.addListener(TAG, this) - CallerTakeoverListenerManager.addListener(TAG,this) if(isOneClickType){ showOneCLickReportView() }else{ @@ -268,13 +267,4 @@ class ReportTypeView @JvmOverloads constructor( this.clickListener = clickListener } - /** - * 人工接管 - */ - override fun onTakeoverState(state: Int) { - ThreadUtils.runOnUiThread { - showOneCLickReportView() - } - } - } \ No newline at end of file