dev分支去掉obu的依赖,代码保留,以待后用
This commit is contained in:
@@ -53,7 +53,6 @@ dependencies {
|
||||
api rootProject.ext.dependencies.mogoconnection
|
||||
api rootProject.ext.dependencies.moduleextensions
|
||||
api rootProject.ext.dependencies.mogomoduleback
|
||||
api rootProject.ext.dependencies.moduleobu
|
||||
} else {
|
||||
api project(":foudations:mogo-utils")
|
||||
api project(":foudations:mogo-commons")
|
||||
@@ -66,7 +65,6 @@ dependencies {
|
||||
api project(':foudations:mogo-connection')
|
||||
api project(':modules:mogo-module-extensions')
|
||||
api project(':modules:mogo-module-back')
|
||||
api project(':modules:mogo-module-obu')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -28,6 +28,7 @@ import com.mogo.service.MogoServicePaths;
|
||||
import com.mogo.service.fragmentmanager.IMogoFragmentManager;
|
||||
import com.mogo.service.map.IMogoMapService;
|
||||
import com.mogo.service.module.IMogoModuleProvider;
|
||||
import com.mogo.service.obu.IMogoObuManager;
|
||||
import com.mogo.service.statusmanager.IMogoStatusManager;
|
||||
import com.mogo.utils.logger.Logger;
|
||||
import com.zhidao.autopilot.support.api.AutopilotServiceManage;
|
||||
@@ -124,7 +125,11 @@ public class MainActivity extends MvpActivity< MainView, MainPresenter > impleme
|
||||
mMogoMapService.getHostListenerRegister().registerHostAimlessModeListener( EventDispatchCenter.getInstance() );
|
||||
mMogoMapService.getHostListenerRegister().registerMarkerClickListener( this );
|
||||
}
|
||||
mServiceApis.getObuManager().registerObuDataChangedListener(EventDispatchCenter.getInstance());
|
||||
|
||||
// IMogoObuManager obuManager = mServiceApis.getObuManager();
|
||||
// if(obuManager!=null) {
|
||||
// obuManager.registerObuDataChangedListener(EventDispatchCenter.getInstance());
|
||||
// }
|
||||
|
||||
EventDispatchCenter.getInstance().setMapLoadedCallback( () -> {
|
||||
Logger.d( TAG, "map loaded." + Thread.currentThread().getName() );
|
||||
|
||||
@@ -5,5 +5,29 @@ package com.zhidao.mogo.module.obu;
|
||||
*
|
||||
* @author tongchenfei
|
||||
*/
|
||||
class ObuConstant {
|
||||
public class ObuConstant {
|
||||
/**
|
||||
* 前碰撞预警,暂时不知道是干啥的
|
||||
*/
|
||||
public static final int TYPE_FRONT_COLLISION_WARNING = 101;
|
||||
|
||||
/**
|
||||
* 交叉路口碰撞预警
|
||||
*/
|
||||
public static final int TYPE_CROSS_COLLISION_WARNING = 102;
|
||||
|
||||
/**
|
||||
* 紧急制动预警
|
||||
*/
|
||||
public static final int TYPE_URGENCY_COLLISION_WARNING = 105;
|
||||
|
||||
/**
|
||||
* 绿波车速引导
|
||||
*/
|
||||
public static final int TYPE_OPTIMAL_SPEED_ADVISORY = 109;
|
||||
|
||||
/**
|
||||
* 行人碰撞预警
|
||||
*/
|
||||
public static final int TYPE_ROAD_USER_COLLISION_WARNING = 115;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user