merge
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
package com.mogo.module.common.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 +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
@@ -14,8 +14,16 @@ import java.lang.reflect.Method;
|
||||
*/
|
||||
public class CarSeries {
|
||||
|
||||
public static boolean isF8xxSeries(){
|
||||
return DebugConfig.getProductFlavor().startsWith( "f8" );
|
||||
private static boolean invokeFlag = false;
|
||||
private static boolean isF8xxSeries = false;
|
||||
|
||||
public static boolean isF8xxSeries() {
|
||||
if ( invokeFlag ) {
|
||||
return isF8xxSeries;
|
||||
}
|
||||
isF8xxSeries = DebugConfig.getProductFlavor().startsWith( "f8" );
|
||||
invokeFlag = true;
|
||||
return isF8xxSeries;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
@@ -46,6 +54,12 @@ public class CarSeries {
|
||||
@Deprecated
|
||||
public static int CAR_SERIES = 0;
|
||||
|
||||
/**
|
||||
* Deprecated.
|
||||
* Use {@link DebugConfig#getProductFlavor()} instead.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@Deprecated
|
||||
public static int getSeries() {
|
||||
if ( CAR_SERIES != 0 ) {
|
||||
|
||||
Reference in New Issue
Block a user