[2.10.0]bus司机端"出/收车"按钮

This commit is contained in:
wangmingjun
2022-08-23 15:24:56 +08:00
parent 325949b0ed
commit 54f5ddd662
13 changed files with 213 additions and 70 deletions

View File

@@ -10,6 +10,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.IViewNotificationProvider
import com.mogo.eagle.core.function.api.hmi.view.IOchBusView
import com.mogo.eagle.core.function.api.hmi.view.IViewLimitingVelocity
import com.mogo.eagle.core.function.api.hmi.view.IViewNotification
import com.mogo.eagle.core.function.api.hmi.view.IViewTrafficLight
@@ -364,4 +365,20 @@ object CallerHmiManager : CallerBase() {
fun showVideoDialog(infList: List<Infrastructure>) {
waringProviderApi?.showVideoDialog(infList)
}
/**
* bus出车/收车状态设置
* true : 显示收车; false显示出车
*/
fun changeBusOperationStatus(isOut:Boolean){
waringProviderApi?.changeBusOperationStatus(isOut)
}
/**
* 设置 bus出车/收车View
* @param view
*/
fun setBusOperationView(view: IOchBusView) {
waringProviderApi?.setBusOperationView(view)
}
}