@@ -5,7 +5,6 @@ import android.content.Context;
|
||||
import com.alibaba.android.arouter.facade.template.IProvider;
|
||||
import com.mogo.service.adas.IMogoADASController;
|
||||
import com.mogo.service.analytics.IMogoAnalytics;
|
||||
import com.mogo.service.cardmanager.IMogoCardManager;
|
||||
import com.mogo.service.cloud.location.IMogoLocationInfoService;
|
||||
import com.mogo.service.cloud.passport.IMogoPassportManager;
|
||||
import com.mogo.service.cloud.socket.IMogoSocketManager;
|
||||
@@ -48,14 +47,6 @@ public interface IMogoServiceApis extends IProvider {
|
||||
*/
|
||||
IMogoAnalytics getAnalyticsApi();
|
||||
|
||||
/**
|
||||
* 卡片控制
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@Deprecated
|
||||
IMogoCardManager getCardManagerApi();
|
||||
|
||||
/**
|
||||
* 获取socket操作api
|
||||
*
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
package com.mogo.service.adas.entity;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class CarModelListInfo {
|
||||
private String sn;
|
||||
/**
|
||||
* 热心指数 eg: 1 1.5 2 2.5
|
||||
*/
|
||||
private float enthusiasmIndex;
|
||||
private List< OwnCarModelEntity > imageData;
|
||||
|
||||
public String getSn() {
|
||||
return sn;
|
||||
}
|
||||
|
||||
public void setSn(String sn) {
|
||||
this.sn = sn;
|
||||
}
|
||||
|
||||
public float getEnthusiasmIndex() {
|
||||
return enthusiasmIndex;
|
||||
}
|
||||
|
||||
public void setEnthusiasmIndex(float enthusiasmIndex) {
|
||||
this.enthusiasmIndex = enthusiasmIndex;
|
||||
}
|
||||
|
||||
public List<OwnCarModelEntity> getImageData() {
|
||||
return imageData;
|
||||
}
|
||||
|
||||
public void setImageData(List<OwnCarModelEntity> imageData) {
|
||||
this.imageData = imageData;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "CarModelListInfo{" +
|
||||
"sn='" + sn + '\'' +
|
||||
", enthusiasmIndex=" + enthusiasmIndex +
|
||||
", imageData=" + imageData +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
package com.mogo.service.adas.entity;
|
||||
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 请求根据热心指数获取自车图标列表的响应类
|
||||
*
|
||||
* @author tongchenfei
|
||||
*/
|
||||
public class CarModelListResponse implements Serializable, Cloneable {
|
||||
|
||||
public int code = -1;
|
||||
public String msg;
|
||||
private CarModelListInfo result;
|
||||
|
||||
public CarModelListInfo getResult() {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void setResult(CarModelListInfo result) {
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "CarModelListResponse{" +
|
||||
"result=" + result +
|
||||
", code=" + code +
|
||||
", msg='" + msg + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
@@ -1,58 +0,0 @@
|
||||
package com.mogo.service.adas.entity;
|
||||
|
||||
/**
|
||||
* 自车模型实体,用于从服务端获取不同等级的自车模型信息以及将此信息传递给adas
|
||||
*
|
||||
* @author tongchenfei
|
||||
*/
|
||||
public class OwnCarModelEntity {
|
||||
/**
|
||||
* 图片锁定 1-是 0-否
|
||||
*/
|
||||
private int isLock;
|
||||
private String imageUrl;
|
||||
private String imageName;
|
||||
private int imageLevel;
|
||||
|
||||
public int getIsLock() {
|
||||
return isLock;
|
||||
}
|
||||
|
||||
public void setIsLock(int isLock) {
|
||||
this.isLock = isLock;
|
||||
}
|
||||
|
||||
public String getImageUrl() {
|
||||
return imageUrl;
|
||||
}
|
||||
|
||||
public void setImageUrl(String imageUrl) {
|
||||
this.imageUrl = imageUrl;
|
||||
}
|
||||
|
||||
public String getImageName() {
|
||||
return imageName;
|
||||
}
|
||||
|
||||
public void setImageName(String imageName) {
|
||||
this.imageName = imageName;
|
||||
}
|
||||
|
||||
public int getImageLevel() {
|
||||
return imageLevel;
|
||||
}
|
||||
|
||||
public void setImageLevel(int imageLevel) {
|
||||
this.imageLevel = imageLevel;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "OwnCarModelEntity{" +
|
||||
"isLock=" + isLock +
|
||||
", imageUrl='" + imageUrl + '\'' +
|
||||
", imageName='" + imageName + '\'' +
|
||||
", imageLevel=" + imageLevel +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mogo.service.auth;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import com.mogo.service.module.IMogoModuleProvider;
|
||||
|
||||
public interface IMogoAuthManager extends IMogoModuleProvider {
|
||||
|
||||
/**
|
||||
* 弹起授权页面 展示View Context
|
||||
*/
|
||||
void showAuth(Context context);
|
||||
|
||||
/**
|
||||
* 关闭授权页面
|
||||
*/
|
||||
void dismiss();
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
package com.mogo.service.cardmanager;
|
||||
|
||||
/**
|
||||
* @author congtaowang
|
||||
* @since 2020-01-14
|
||||
* <p>
|
||||
* 卡片切换监听
|
||||
*/
|
||||
public interface IMogoCardChangedListener {
|
||||
|
||||
void onSwitched( int position, String moduleName );
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
package com.mogo.service.cardmanager;
|
||||
|
||||
import com.alibaba.android.arouter.facade.template.IProvider;
|
||||
|
||||
/**
|
||||
* @author congtaowang
|
||||
* @since 2020-01-06
|
||||
* <p>
|
||||
* 卡片管理
|
||||
*/
|
||||
@Deprecated
|
||||
public interface IMogoCardManager extends IProvider {
|
||||
|
||||
/**
|
||||
* 切换卡片
|
||||
* <p>
|
||||
* 实际调用 switch2(cardType, false)
|
||||
*
|
||||
* @param cardType
|
||||
*/
|
||||
void switch2( String cardType );
|
||||
|
||||
/**
|
||||
* 切换卡片
|
||||
*
|
||||
* @param cardType 卡片类型
|
||||
* @param lockCar 是否锁车[将视图拉回车位]
|
||||
*/
|
||||
void switch2( String cardType, boolean lockCar );
|
||||
|
||||
/**
|
||||
* 注册卡片切换监听
|
||||
*/
|
||||
void registerCardChangedListener( String tag, IMogoCardChangedListener listener );
|
||||
|
||||
/**
|
||||
* 注销卡片监听
|
||||
*/
|
||||
void unregisterCardChangedListener( String tag );
|
||||
|
||||
/**
|
||||
* 回调
|
||||
*
|
||||
* @param position 卡片位置
|
||||
* @param moduleName 卡片名称
|
||||
*/
|
||||
void invoke( int position, String moduleName );
|
||||
}
|
||||
@@ -19,8 +19,6 @@ public interface IMogoImageLoaderListener {
|
||||
@Keep
|
||||
void onStart();
|
||||
|
||||
// void onProcess( int completedSize, int totalSize );
|
||||
|
||||
/**
|
||||
* 加载完成
|
||||
*/
|
||||
|
||||
@@ -1,49 +0,0 @@
|
||||
package com.mogo.service.module;
|
||||
|
||||
import com.alibaba.android.arouter.facade.template.IProvider;
|
||||
import com.mogo.eagle.core.data.map.MogoLatLng;
|
||||
|
||||
/**
|
||||
* @author zyz
|
||||
* 2020-01-12.
|
||||
* <p>
|
||||
* Deprecated, use {@link IMogoSearchManager} instead."
|
||||
*/
|
||||
@Deprecated
|
||||
public interface IMogoAddressManager extends IProvider {
|
||||
|
||||
/**
|
||||
* 回家
|
||||
*/
|
||||
@Deprecated
|
||||
void goHome();
|
||||
|
||||
/**
|
||||
* 去公司
|
||||
*/
|
||||
@Deprecated
|
||||
void goCompany();
|
||||
|
||||
/**
|
||||
* 打开搜索
|
||||
*/
|
||||
@Deprecated
|
||||
void goSearch();
|
||||
|
||||
/**
|
||||
* 规划路线
|
||||
*
|
||||
* @param destination 目的地
|
||||
*/
|
||||
@Deprecated
|
||||
void calculatePath( MogoLatLng destination );
|
||||
|
||||
/**
|
||||
* 分类搜索
|
||||
*/
|
||||
@Deprecated
|
||||
void categorySearch( String category );
|
||||
|
||||
@Deprecated
|
||||
void goSettings();
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
package com.mogo.service.obu;
|
||||
|
||||
import com.alibaba.android.arouter.facade.template.IProvider;
|
||||
import com.zhidao.manager.ts.TsThreshold;
|
||||
|
||||
/**
|
||||
* 碰撞报警相关接口
|
||||
* @author tongchenfei
|
||||
*/
|
||||
public interface IMogoCrashWarnProvider extends IProvider {
|
||||
/**
|
||||
* 设置碰撞碰撞报警阈值
|
||||
* @param threshold
|
||||
*/
|
||||
void setCrashThreshold(TsThreshold threshold);
|
||||
|
||||
/**
|
||||
* 获取当前碰撞报警阈值
|
||||
* @return
|
||||
*/
|
||||
TsThreshold getCurrentCrashThreshold();
|
||||
}
|
||||
@@ -1,10 +1,5 @@
|
||||
package com.mogo.service.statusmanager;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import kotlin.Unit;
|
||||
import kotlin.jvm.functions.Function0;
|
||||
|
||||
/**
|
||||
* @author congtaowang
|
||||
* @since 2020-01-04
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
package com.mogo.service.voice;
|
||||
|
||||
import com.mogo.service.intent.IMogoIntentListener;
|
||||
|
||||
/**
|
||||
* @author congtaowang
|
||||
* @since 2020-01-09
|
||||
* <p>
|
||||
* 免唤醒语音监听
|
||||
* use {@link IMogoIntentListener} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public interface IMogoVoiceListener extends IMogoIntentListener {
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
package com.mogo.service.voice;
|
||||
|
||||
import com.mogo.service.intent.IMogoIntentManager;
|
||||
|
||||
/**
|
||||
* @author congtaowang
|
||||
* @since 2020-01-09
|
||||
* <p>
|
||||
* 免唤醒语音控制
|
||||
* <p>
|
||||
* use {@link IMogoIntentManager} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public interface IMogoVoiceManager extends IMogoIntentManager {
|
||||
}
|
||||
Reference in New Issue
Block a user