优化拥堵策略上报逻辑

This commit is contained in:
tongchenfei
2020-10-21 15:23:19 +08:00
parent 88fc1d0d34
commit f52d4a94cb
9 changed files with 219 additions and 1 deletions

View File

@@ -75,4 +75,16 @@ public interface IMogoADASController extends IProvider {
* @param json
*/
void notifyAdas( String json );
/**
* 添加adas数据回调接口
* @param callback 回调接口
*/
void addAdasDataCallback(IMogoAdasDataCallback callback);
/**
* 移除adas数据回调接口
* @param callback 待移除的callback
*/
void removeAdasDataCallback(IMogoAdasDataCallback callback);
}

View File

@@ -0,0 +1,14 @@
package com.mogo.service.adas;
/**
* adas 数据回调接口
*
* @author tongchenfei
*/
public interface IMogoAdasDataCallback {
/**
* adas 数据回调
* @param msg 具体数据
*/
void onAdasDataCallback(String msg);
}