Merge branch 'dev_arch_opt_3.0' into dev_robosweeper-d_app-module_221230_1.1.0

# Conflicts:
#	OCH/mogo-och-sweeper/src/main/java/com/mogo/och/sweeper/fragment/BaseSweeperTabFragment.java
#	OCH/mogo-och-sweeper/src/main/java/com/mogo/och/sweeper/fragment/SweeperFragment.java
#	OCH/mogo-och-sweeper/src/main/java/com/mogo/och/sweeper/presenter/SweeperPresenter.java
#	OCH/mogo-och-sweeper/src/main/java/com/mogo/och/sweeper/ui/SweeperOperatePanelView.java
#	app_ipc_monitoring/src/main/java/com/zhidao/adas/client/DataDistribution.java
#	app_ipc_monitoring/src/main/java/com/zhidao/adas/client/ui/MainActivity.java
#	app_mogo_magic_ring/src/main/java/com/zhidao/adas/magic/ui/MainActivity.java
#	core/function-impl/mogo-core-function-autopilot/src/main/java/com/mogo/eagle/core/function/autopilot/adapter/MoGoHandAdasMsgManager.java
#	core/function-impl/mogo-core-function-bindingcar/src/main/java/com/mogo/eagle/core/function/bindingcar/BindingcarProvider.java
#	core/function-impl/mogo-core-function-datacenter/src/main/java/com/mogo/eagle/core/function/datacenter/autopilot/adapter/MoGoAdasListenerImpl.kt
#	core/function-impl/mogo-core-function-devatools/src/main/java/com/zhjt/mogo_core_function_devatools/status/flow/can/CanImpl.kt
#	core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/setting/DebugSettingView.kt
#	core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/widget/SteeringWheelView.java
#	core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/widget/TrafficDataView.java
#	core/mogo-core-function-api/src/main/java/com/mogo/eagle/core/function/api/autopilot/IMoGoAutopilotVehicleStateListener.kt
#	core/mogo-core-function-call/src/main/java/com/mogo/eagle/core/function/call/autopilot/CallerAutopilotVehicleStateListenerManager.kt
#	libraries/mogo-adas/src/main/java/com/zhidao/support/adas/high/OnAdasListener.java
#	libraries/mogo-adas/src/main/java/com/zhidao/support/adas/high/msg/MyMessageFactory.java
#	libraries/mogo-adas/src/main/java/com/zhidao/support/adas/high/msg/VehicleStateMessage.java
This commit is contained in:
donghongyu
2023-01-17 18:09:06 +08:00
1903 changed files with 34839 additions and 33745 deletions

View File

@@ -3,6 +3,9 @@ package com.mogo.eagle.core.function.api.autopilot
import com.zhidao.support.adas.high.bean.AutopilotAbility
/**
* pnc actions 决策 驾驶的意图
*/
interface IMoGoAutopilotActionsListener {
/**

View File

@@ -1,18 +0,0 @@
package com.mogo.eagle.core.function.api.autopilot
import mogo.telematics.pad.MessagePad
/**
*@author xiaoyuzhou
*@date 2021/11/2 2:06 下午
* 车辆状态&定位 数据 数据 回调监听
*/
interface IMoGoAutopilotCarStateListener {
/**
* 车辆状态&定位 数据
*
* @param gnssInfo
*/
fun onAutopilotCarStateData(gnssInfo: MessagePad.GnssInfo?)
}

View File

@@ -1,8 +1,5 @@
package com.mogo.eagle.core.function.api.autopilot
import mogo.telematics.pad.MessagePad
import rule_segement.MogoPointCloudOuterClass
/**
* @author xiaoyuzhou

View File

@@ -2,7 +2,9 @@ package com.mogo.eagle.core.function.api.autopilot
import com.zhidao.support.adas.high.bean.AutopilotStatistics
/**
* 启动自动驾驶状态统计监听
*/
interface IMoGoAutopilotStatisticsListener {
/**

View File

@@ -41,7 +41,6 @@ interface IMoGoAutopilotStatusListener {
*/
fun onAutopilotIpcConnectStatusChanged(status: Int, reason: String?) {}
/**
* 工控机主动查询 AdasManager#sendStatusQueryReq(),后会收到如下回调
*/

View File

@@ -9,63 +9,9 @@ import planning.RoboSweeperTaskIndexOuterClass
*/
interface IMoGoAutopilotVehicleStateListener {
/**
* 车辆转向灯 数据
* @param lightSwitch
*/
fun onAutopilotLightSwitchData(lightSwitch: Chassis.LightSwitch?)
/**
* 车辆刹车灯 数据
* @param brakeLight
*/
fun onAutopilotBrakeLightData(brakeLight: Boolean)
/**
* 车辆方向盘转向角回调
* @param steering 方向盘转向角
*/
fun onAutopilotSteeringData(steering: Float)
/**
* 车辆挂挡档位
* @param gear 档位
*/
fun onAutopilotGearData(gear: Chassis.GearPosition)
/**
* 没有自车状态数据
*/
fun onAutopilotDataException(timestamp: Long) {}
/**
* 车辆加速度
*/
fun onAutopilotAcc(carAcc: Float)
/**
* 油门
*/
fun onAutopilotThrottle(throttle: Float)
/**
* 刹车
*/
fun onAutopilotBrake(brake: Float)
/**
* 电池管理状态
*/
fun onBMSSystemStates(bmsSystemStates: ChassisStatesOuterClass.BMSSystemStates)
/**
* 清扫车(福田)清扫控制系统状态
*/
fun onSweeperFutianCleanSystemState(cleanSystemState: ChassisStatesOuterClass.SweeperFuTianTaskSystemStates)
/**
* 清扫车(福田)指标数据 贴边数据
*/
fun onSweeperFutianTaskIndexData(roboSweeperTaskIndex: RoboSweeperTaskIndexOuterClass.RoboSweeperTaskIndex)
}

View File

@@ -0,0 +1,13 @@
package com.mogo.eagle.core.function.api.autopilot
import chassis.ChassisStatesOuterClass
/**
* 电池管理系统
*/
interface IMoGoBatteryManagementSystemListener {
/**
* 电池管理系统
*/
fun onBatteryManagementSystemStates(states: ChassisStatesOuterClass.BMSSystemStates)
}

View File

@@ -0,0 +1,13 @@
package com.mogo.eagle.core.function.api.autopilot
/**
* 车辆加速度 数据 回调监听
*/
interface IMoGoChassisAccStateListener {
/**
* 车辆加速度
*/
fun onAutopilotAcc(carAcc: Float)
}

View File

@@ -0,0 +1,12 @@
package com.mogo.eagle.core.function.api.autopilot
/**
* 刹车 数据 回调监听
*/
interface IMoGoChassisBrakeStateListener {
/**
* 刹车
*/
fun onAutopilotBrake(brake: Float)
}

View File

@@ -0,0 +1,16 @@
package com.mogo.eagle.core.function.api.autopilot
import chassis.Chassis
/**
* 车辆挂挡档位 数据 回调监听
*/
interface IMoGoChassisGearStateListener {
/**
* 车辆挂挡档位
* @param gear 档位
*/
fun onAutopilotGearData(gear: Chassis.GearPosition)
}

View File

@@ -0,0 +1,22 @@
package com.mogo.eagle.core.function.api.autopilot
import chassis.Chassis
/**
* 车辆底盘 灯光数据 回调监听
*/
interface IMoGoChassisLamplightListener {
/**
* 车辆转向灯 数据
* @param lightSwitch
*/
fun onAutopilotLightSwitchData(lightSwitch: Chassis.LightSwitch?)
/**
* 车辆刹车灯 数据
* @param brakeLight
*/
fun onAutopilotBrakeLightData(brakeLight: Boolean)
}

View File

@@ -0,0 +1,18 @@
package com.mogo.eagle.core.function.api.autopilot
import mogo.telematics.pad.MessagePad
/**
* @author donghongyu
* @date 2023/1/11 2:06 下午
* 车辆定位 GCJ02 坐标系-高德坐标系 数据 回调监听
*/
interface IMoGoChassisLocationGCJ02Listener {
/**
* 车辆定位 GCJ02 坐标系-高德坐标系 数据
*
* @param gnssInfo
*/
fun onChassisLocationGCJ02(gnssInfo: MessagePad.GnssInfo?)
}

View File

@@ -0,0 +1,18 @@
package com.mogo.eagle.core.function.api.autopilot
import mogo.telematics.pad.MessagePad
/**
* @author donghongyu
* @date 2023/1/11 2:06 下午
* 车辆定位 WGS84 坐标系-高精度坐标系 数据 回调监听
*/
interface IMoGoChassisLocationWGS84Listener {
/**
* 车辆定位 WGS84 坐标系-高精度坐标系 数据
*
* @param gnssInfo
*/
fun onChassisLocationWGS84(gnssInfo: MessagePad.GnssInfo?)
}

View File

@@ -0,0 +1,14 @@
package com.mogo.eagle.core.function.api.autopilot
/**
* 车辆方向盘转向角 数据 回调监听
*/
interface IMoGoChassisSteeringStateListener {
/**
* 车辆方向盘转向角回调
* @param steering 方向盘转向角
*/
fun onAutopilotSteeringData(steering: Float)
}

View File

@@ -0,0 +1,12 @@
package com.mogo.eagle.core.function.api.autopilot
/**
* 油门 数据 回调监听
*/
interface IMoGoChassisThrottleStateListener {
/**
* 油门
*/
fun onAutopilotThrottle(throttle: Float)
}

View File

@@ -3,15 +3,9 @@ package com.mogo.eagle.core.function.api.autopilot
import mogo.telematics.pad.MessagePad
/**
* 自动驾驶规划路线相关的监听
* 工控机全局规划路径
*/
interface IMoGoAutopilotPlanningListener {
/**
* 工控机引导线数据
*
* @param trajectoryInfos 引导线数据经纬度
*/
fun onAutopilotTrajectory(trajectoryInfos: MutableList<MessagePad.TrajectoryPoint>)
interface IMoGoPlanningRottingListener {
/**
* 2021/6/23 工控机经纬度 绘制时转成高德经纬度

View File

@@ -0,0 +1,17 @@
package com.mogo.eagle.core.function.api.autopilot
import mogo.telematics.pad.MessagePad
/**
* 工控机引导线数据
*/
interface IMoGoPlanningTrajectoryListener {
/**
* 工控机引导线数据
*
* @param trajectoryInfos 引导线数据经纬度
*/
fun onAutopilotTrajectory(trajectoryInfos: MutableList<MessagePad.TrajectoryPoint>)
}

View File

@@ -0,0 +1,12 @@
package com.mogo.eagle.core.function.api.autopilot
import chassis.ChassisStatesOuterClass
import chassis.VehicleStateOuterClass
/**
* 金旅M1
*/
interface IMoGoRoboBusJinlvM1StatesListener {
fun onRoboBusJinlvM1States(states: VehicleStateOuterClass.RoboBusJinlvM1State)
}

View File

@@ -1,6 +1,5 @@
package com.mogo.eagle.core.function.api.autopilot
import com.zhidao.support.adas.high.bean.AutopilotAbility
import mogo_msg.MogoReportMsg

View File

@@ -0,0 +1,13 @@
package com.mogo.eagle.core.function.api.autopilot
import chassis.ChassisStatesOuterClass
/**
* 清扫车(福田)清扫控制系统状态
*/
interface IMoGoSweeperFutianCleanSystemListener {
/**
* 清扫车(福田)清扫控制系统状态
*/
fun onSweeperFutianCleanSystemState(cleanSystemState: ChassisStatesOuterClass.SweeperFuTianTaskSystemStates)
}

View File

@@ -1,12 +0,0 @@
package com.mogo.eagle.core.function.api.bindingcar;
import com.mogo.eagle.core.data.bindingcar.ModifyBindingcarInfo;
/**
* @author lixiaopeng
* @description 网络请求回调
* @since: 3/16/22
*/
public interface BindingcarCallBack {
void callBackResult(ModifyBindingcarInfo modifyBindingcarInfo);
}

View File

@@ -1,14 +0,0 @@
package com.mogo.eagle.core.function.api.bindingcar
/**
* @author XuXinChao
* @description
* @since: 2022/5/18
*/
interface IMoGoBindingCarListener {
fun queryContainersResponse(dockerList: List<String>)
fun pushServerConfirm()
}

View File

@@ -1,46 +0,0 @@
package com.mogo.eagle.core.function.api.bindingcar;
import com.mogo.eagle.core.function.api.base.IMoGoFunctionServerProvider;
import java.util.List;
/**
* @author lixiaopeng
* @description 修改车辆信息
* @since: 3/15/22
*/
public interface IMoGoBindingcarProvider extends IMoGoFunctionServerProvider {
/**
* 修改工控机的绑定关系
* @param callBack
*/
void modifyCarInfo(BindingcarCallBack callBack);
/**
* 获取车辆的信息
* @param macAddress
* @param widevineIDWithMd5
*/
void getBindingcarInfo(String macAddress, String widevineIDWithMd5);
/**
* 确认升级工控机docker版本
* @param images docker列表
* @param padSn SN
* @param releaseId 任务ID
*/
void upgradeConfirm(List<String> images, String padSn, String releaseId);
/**
* 获取新工控机docker版本
* @param padSn SN
* @param dockerVersion 当前工控机版本
*/
void queryContainers(String padSn,String dockerVersion);
/**
* 查询app是否有更新
*/
void queryAppUpgrade();
}

View File

@@ -0,0 +1,54 @@
package com.mogo.eagle.core.function.api.biz
import com.mogo.eagle.core.data.camera.CameraEntity
import com.mogo.eagle.core.function.api.base.IMoGoFunctionServerProvider
interface IMoGoFuncBizProvider : IMoGoFunctionServerProvider {
/*----------------------------------------Notice----------------------------------------*/
/**
* 是否接受交通事故任务
* @param infoId
* @param sn
* @param accept
*/
fun feedBackNoticeTraffic(infoId: String, sn: String, accept: Int)
/**
* 获取事故详细信息
* @param infoId
* @param sn
* @param callBack
*/
fun requestAccidentInfo(infoId: String, sn: String, callBack: IMoGoNoticeNetCallBack)
/*----------------------------------------Dispatch----------------------------------------*/
/**
* 调度确认
*/
fun dispatchAffirm()
/**
* 调度取消
* @param manualTrigger 是否手动
*/
fun dispatchCancel(manualTrigger: Boolean)
/**
* 调度测试
*/
fun testDispatch(sceneType: Int)
/*----------------------------------------Monitoring----------------------------------------*/
val getCameraList: List<CameraEntity>
fun openCameraStream(cameraIp: String)
fun openCameraStream(cameraIp: String, success: (String) -> Unit, error: (Throwable) -> Unit)
/**
* 防止回调摄像头列表View的相关调用
*/
fun closeCameraLive()
}

View File

@@ -1,4 +1,4 @@
package com.mogo.eagle.core.function.api.notice;
package com.mogo.eagle.core.function.api.biz;
import com.mogo.eagle.core.data.notice.NoticeTrafficStyleInfo;
@@ -7,6 +7,6 @@ import com.mogo.eagle.core.data.notice.NoticeTrafficStyleInfo;
* @description 网络请求回调
* @since: 11/3/21
*/
public interface NoticeNetCallBack {
public interface IMoGoNoticeNetCallBack {
void callBackWithResult(NoticeTrafficStyleInfo trafficInfo);
}

View File

@@ -1,46 +0,0 @@
package com.mogo.eagle.core.function.api.check;
import android.content.Context;
import com.mogo.eagle.core.function.api.base.IMoGoFunctionServerProvider;
/**
* 检测接口
*/
public interface ICheckProvider extends IMoGoFunctionServerProvider {
/**
* 注册车辆监控变化监听
*
* @param module 监听模块
* @param listener
*/
void registerVehicleMonitoringListener(String module, IMogoCheckListener listener);
/**
* 注销车辆监控变化监听
*
* @param module
*/
void unregisterListener(String module);
/**
* 启动检测模块
*/
void startCheckActivity(Context context);
/**
* 检测弹框
*/
void showCheckDialog(Context context);
/**
* 指标监测
*/
void checkMonitor(Context context);
/**
* 根据监测指标修改主页检测按钮
*/
void updateMonitoringStatus(String module, Integer state);
}

View File

@@ -1,10 +0,0 @@
package com.mogo.eagle.core.function.api.check;
/**
* @author liujing
* @description 监听指标发生变化, 通知首页检测入口处预警图标重新渲染
* @since: 8/26/21
*/
public interface IMogoCheckListener {
void updateMonitoringStatus(Integer state);
}

View File

@@ -2,13 +2,14 @@ package com.mogo.eagle.core.function.api.devatools
import android.app.Activity
import android.content.Context
import android.view.*
import android.view.View
import android.view.ViewGroup
import com.alibaba.android.arouter.facade.template.IProvider
import com.mogo.eagle.core.data.bindingcar.ModifyBindingcarInfo
import com.mogo.eagle.core.data.deva.chain.ChainLogParam
import com.mogo.eagle.core.data.deva.scene.SceneModule
import com.mogo.eagle.core.data.deva.scene.SceneTAG
import com.mogo.eagle.core.data.msgbox.MsgBoxBean
import record_cache.RecordPanelOuterClass
/**
* 开发套件工具接口
@@ -100,11 +101,6 @@ interface IDevaToolsProvider : IProvider {
*/
fun showFeedbackWindow(ctx: Context)
/**
* 获取升级版本Urls
*/
fun getUpgradeVersionUrls(versionName: String)
/**
* 下载指定包
*/
@@ -128,4 +124,37 @@ interface IDevaToolsProvider : IProvider {
* 同步AppConfigInfo信息
*/
fun syncConfig()
/**
* 修改工控机的绑定关系
* @param callBack
*/
fun modifyCarInfo(callBack: (ModifyBindingcarInfo) -> Unit)
/**
* 获取车辆的信息
* @param macAddress
* @param widevineIDWithMd5
*/
fun getBindingCarInfo(macAddress: String, widevineIDWithMd5: String)
/**
* 确认升级工控机docker版本
* @param images docker列表
* @param padSn SN
* @param releaseId 任务ID
*/
fun upgradeConfirm(images: List<String>, padSn: String, releaseId: String)
/**
* 获取新工控机docker版本
* @param padSn SN
* @param dockerVersion 当前工控机版本
*/
fun queryContainers(padSn: String, dockerVersion: String)
/**
* 查询app是否有更新
*/
fun queryAppUpgrade()
}

View File

@@ -25,20 +25,30 @@ interface IMoGoDevaToolsListener {
* 日志抓取按行返回 lineLog
* 注:莫要在此回调中打印日志,否则会造成日志循环记录
*/
fun onLogCatch(lineLog: String)
fun onLogCatch(lineLog: String){
}
/**
* fw线程写入倒计时结束
*/
fun fwThreadClose()
fun fwThreadClose(){
}
/**
* 模块TAG更新回调
*/
fun moduleLogChanged(moduleTag: MutableMap<String, SceneModule>)
fun moduleLogChanged(moduleTag: MutableMap<String, SceneModule>){
}
fun queryContainersResponse(dockerList: List<String>){
}
fun pushServerConfirm(){
}
/**
* 版本升级Urls
*/
fun upgradeVersionUrls(urls: Map<String, String>?)
}

View File

@@ -1,7 +0,0 @@
package com.mogo.eagle.core.function.api.dispatch
import com.mogo.eagle.core.function.api.base.IMoGoFunctionServerProvider
interface IDispatchProvider : IMoGoFunctionServerProvider {
}

View File

@@ -3,6 +3,7 @@ package com.mogo.eagle.core.function.api.hmi.warning
import android.view.View
import android.view.ViewGroup
import com.mogo.eagle.core.data.bindingcar.IPCUpgradeStateInfo
import com.mogo.eagle.core.data.dispatch.DispatchAdasAutoPilotLocReceiverBean
import com.mogo.eagle.core.data.enums.WarningDirectionEnum
import com.mogo.eagle.core.data.map.Infrastructure
import com.mogo.eagle.core.data.notice.NoticeNormalData
@@ -15,7 +16,7 @@ import com.mogo.eagle.core.function.api.hmi.view.IOchBusView
* @author xiaoyuzhou
* @date 2021/8/2 7:36 下午
*/
interface IMoGoWaringProvider : IMoGoHmiViewProxy {
interface IMoGoHmiProvider : IMoGoHmiViewProxy {
/**
* 浓雾预警
@@ -321,4 +322,14 @@ interface IMoGoWaringProvider : IMoGoHmiViewProxy {
*/
fun updateMfStatus(tag: String, status: Boolean)
/**
* 调度弹窗展示
*/
fun showDispatchDialog(msgData: DispatchAdasAutoPilotLocReceiverBean)
/**
* 隐藏调度弹窗
*/
fun dismissDispatchDialog()
}

View File

@@ -1,26 +0,0 @@
package com.mogo.eagle.core.function.api.map;
import com.alibaba.android.arouter.facade.template.IProvider;
import com.mogo.map.IDestroyable;
/**
* @author congtaowang
* @since 2020/10/23
* <p>
* 地图图层切换:高德地图 <-> 自研地图,过渡期使用
*/
public interface IMogoMapFrameController extends IProvider, IDestroyable {
void initDelegate(IMogoMapFrameController controller);
/**
* 切换到高德2D
*/
void changeTo2dMode();
/**
* 切换到自研vr
* @param isNightMode true-夜间模式false-白天模式
*/
void stepInVrMode(boolean isNightMode);
}

View File

@@ -4,14 +4,10 @@ import android.content.Context;
import com.alibaba.android.arouter.facade.template.IProvider;
import com.mogo.eagle.core.function.api.map.marker.IMogoMarkerService;
import com.mogo.map.listener.IMogoHosListenerRegister;
import com.mogo.map.location.IMogoGDLocationClient;
import com.mogo.map.location.IMogoLocationClient;
import com.mogo.map.marker.IMogoMarkerManager;
import com.mogo.map.overlay.IMogoOverlayManager;
import com.mogo.map.search.geo.IMogoGeoSearch;
import com.mogo.map.search.poisearch.IMogoPoiSearch;
import com.mogo.map.search.poisearch.query.MogoPoiSearchQuery;
import com.mogo.map.search.traffic.IMogoTrafficSearch;
import com.mogo.map.uicontroller.IMogoMapUIController;
/**
@@ -28,35 +24,18 @@ public interface IMogoMapService extends IProvider {
* @param context
* @return
*/
IMogoLocationClient getSingletonLocationClient( Context context );
/**
* 地理编码或逆地理编码服务
*
* @param context
* @return
*/
IMogoGeoSearch getGeoSearch( Context context );
/**
* poi搜索服务
*
* @param context
* @param query
* @return
*/
IMogoPoiSearch getPoiSearch( Context context, MogoPoiSearchQuery query );
IMogoLocationClient getSingletonLocationClient(Context context);
/**
* marker 操作
*
* @return
*/
IMogoMarkerManager getMarkerManager( Context context );
IMogoMarkerManager getMarkerManager(Context context);
/**
* 带有业务标注的服务marker
*
* @return
*/
IMogoMarkerService getMarkerService();
@@ -68,26 +47,19 @@ public interface IMogoMapService extends IProvider {
*/
IMogoMapUIController getMapUIController();
/**
* 主模块监听注册
*
* @return
*/
IMogoHosListenerRegister getHostListenerRegister();
/**
* 覆盖物操作
*
* @param context
* @return
*/
IMogoOverlayManager getOverlayManager( Context context );
IMogoOverlayManager getOverlayManager(Context context);
/**
* 交通态势查询
* 获取高德定位服务
*
* @return
*/
IMogoTrafficSearch getTrafficSearchApi();
IMogoGDLocationClient getGDLocationServer(Context context);
}

View File

@@ -35,6 +35,13 @@ public interface IMogoMarkerService {
*/
void renderStopLineMarker(double lon, double lat);
/**
* 绘制箭头
* @param location
* @param markerType
* @param type
* @param rotate
*/
void drawerArrowsMarkerWithLocation(MogoLatLng location, String markerType, int type, int rotate);
/**

View File

@@ -30,7 +30,13 @@ public interface IMogoSmallMapProvider {
*/
void clearPolyline();
/**
* 查询全揽模式下V2X事件
*/
default void startQueryV2XEvents() {}
/**
* 清除V2X事件
*/
default void clearV2XMarkers() {}
}

View File

@@ -1,19 +0,0 @@
package com.mogo.eagle.core.function.api.monitoring
import com.mogo.eagle.core.function.api.base.IMoGoFunctionServerProvider
import com.mogo.eagle.core.data.camera.CameraEntity
/**
* @author xiaoyuzhou
* @date 2021/10/29 10:35 上午
* 超视距功能,路测摄像头,前车摄像头监控
*/
interface IMoGoMonitoringProvider : IMoGoFunctionServerProvider {
val cameraList: List<CameraEntity>?
fun openCameraStream(cameraIp: String)
fun openCameraStream(cameraIp: String, success: (String) -> Unit, error: (Throwable) -> Unit)
/**
* 防止回调摄像头列表View的相关调用
*/
fun disposeCameraStream()
}

View File

@@ -1,13 +0,0 @@
package com.mogo.eagle.core.function.api.notice;
import com.mogo.eagle.core.function.api.base.IMoGoFunctionServerProvider;
/**
* @author Jing
* @description
* @since: 10/27/21
*/
public interface IMoGoNoticeProvider extends IMoGoFunctionServerProvider {
void feedBackNoticeTraffic(String infoId, String sn, int accept);
void requestAccidentInfo(String infoId, String sn,NoticeNetCallBack callBack);
}