[2.10.0]bus司机端"出/收车"按钮
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package com.mogo.eagle.core.function.api.hmi.view
|
||||
|
||||
import android.content.Context
|
||||
import android.util.AttributeSet
|
||||
import android.widget.LinearLayout
|
||||
|
||||
/**
|
||||
* 定义红绿灯View具备的功能接口
|
||||
*/
|
||||
abstract class IOchBusView(context: Context?, attrs: AttributeSet?, defStyleAttr: Int) :
|
||||
LinearLayout(context, attrs, defStyleAttr) {
|
||||
|
||||
open fun showBusOperation(){}
|
||||
|
||||
open fun changerOperationStatus(isOut:Boolean){}
|
||||
}
|
||||
@@ -8,6 +8,7 @@ import com.mogo.eagle.core.data.notice.NoticeNormalData
|
||||
import com.mogo.eagle.core.data.notice.NoticeTrafficStylePushData
|
||||
import com.mogo.eagle.core.data.report.ReportEntity
|
||||
import com.mogo.eagle.core.function.api.hmi.IMoGoHmiViewProxy
|
||||
import com.mogo.eagle.core.function.api.hmi.view.IOchBusView
|
||||
|
||||
/**
|
||||
* @author xiaoyuzhou
|
||||
@@ -251,4 +252,8 @@ interface IMoGoWaringProvider : IMoGoHmiViewProxy {
|
||||
fun showIPCReportWindow(errorReportList: ArrayList<ReportEntity>,warningReportList: ArrayList<ReportEntity>,reportLevel: Int)
|
||||
|
||||
fun showVideoDialog(infList: List<Infrastructure>)
|
||||
|
||||
fun changeBusOperationStatus(isOut:Boolean)
|
||||
|
||||
fun setBusOperationView(view:IOchBusView)
|
||||
}
|
||||
Reference in New Issue
Block a user