重构obu模块,新增udp通信
This commit is contained in:
@@ -1,39 +0,0 @@
|
||||
package com.mogo.service.obu;
|
||||
|
||||
import com.zhidao.smartv2x.model.obu.CarEventInfo;
|
||||
import com.zhidao.smartv2x.model.obu.CarLocationInfo;
|
||||
import com.zhidao.smartv2x.model.obu.TrafficLightInfo;
|
||||
|
||||
/**
|
||||
* obu数据改变的回调
|
||||
*
|
||||
* @author tongchenfei
|
||||
*/
|
||||
public interface IMogoObuDataChangedListener {
|
||||
/**
|
||||
* 车辆位置信息回调接口
|
||||
* @param info 位置信息
|
||||
*/
|
||||
void showCarLocationInfo(CarLocationInfo info);
|
||||
|
||||
/**
|
||||
* UDP 收发消息回调接口
|
||||
*
|
||||
* @param info 消息回调
|
||||
*/
|
||||
void showOtherInfo(String info);
|
||||
|
||||
/**
|
||||
* 交通信号灯信息回调接口
|
||||
*
|
||||
* @param info 信号灯信息
|
||||
*/
|
||||
void showTrafficLightInfo(TrafficLightInfo info);
|
||||
|
||||
/**
|
||||
* 场景触发事件信息回调接口
|
||||
*
|
||||
* @param info 场景触发事件信息
|
||||
*/
|
||||
void showCarEventInfo(CarEventInfo info);
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
package com.mogo.service.obu;
|
||||
|
||||
import com.alibaba.android.arouter.facade.template.IProvider;
|
||||
import com.zhidao.smartv2x.listener.OnMessageReceiveListener;
|
||||
|
||||
/**
|
||||
* obu事件管理器
|
||||
* @author tongchenfei
|
||||
*/
|
||||
public interface IMogoObuManager extends IProvider, OnMessageReceiveListener{
|
||||
void registerObuDataChangedListener(IMogoObuDataChangedListener listener);
|
||||
}
|
||||
Reference in New Issue
Block a user