[Upload]
删除旧版本的push功能代码 Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
@@ -1,33 +0,0 @@
|
||||
package com.mogo.module.common.constants;
|
||||
|
||||
public
|
||||
/**
|
||||
* @author congtaowang
|
||||
* @since 2020/10/29
|
||||
*
|
||||
* 车模型类型
|
||||
*/
|
||||
enum CarModelType {
|
||||
|
||||
Other( "other" ),
|
||||
OtherLeft( "other_left" ),
|
||||
OtherRight( "other_right" ),
|
||||
|
||||
OtherLeftReverse( "other_left_reverse" ),
|
||||
OtherRightReverse( "other_right_reverse" ),
|
||||
OtherReverse( "other_reverse" ),
|
||||
|
||||
Self( "self" ),
|
||||
SelfLeft( "self_left" ),
|
||||
SelfRight( "self_right" );
|
||||
|
||||
private String res;
|
||||
|
||||
CarModelType( String res ) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public String getRes() {
|
||||
return res;
|
||||
}
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
package com.mogo.module.common.constants;
|
||||
|
||||
public
|
||||
/**
|
||||
* @author congtaowang
|
||||
* @since 2020/10/29
|
||||
*
|
||||
* 描述
|
||||
*/
|
||||
enum SafeType {
|
||||
Normal( "normal", "安全" ),
|
||||
SpeedWarm( "warm", "注意/超速" ),
|
||||
DistanceWarm( "warm", "注意/保持车距" ),
|
||||
SpeedDangerous( "dangerous", "危险/严重超速" ),
|
||||
DistanceDangerous( "dangerous", "危险/距离过近" );
|
||||
|
||||
private String msg;
|
||||
private String res;
|
||||
|
||||
SafeType( String res, String msg ) {
|
||||
this.msg = msg;
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public String getRes() {
|
||||
return res;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.mogo.module.common.constants;
|
||||
|
||||
/**
|
||||
* 用于内部标识红绿灯颜色
|
||||
*
|
||||
* @author tongchenfei
|
||||
*/
|
||||
public class TrafficLightConst {
|
||||
public static final int TRAFFIC_LIGHT_COLOR_GRAY = 0;
|
||||
public static final int TRAFFIC_LIGHT_COLOR_RED = 1;
|
||||
public static final int TRAFFIC_LIGHT_COLOR_YELLOW = 2;
|
||||
public static final int TRAFFIC_LIGHT_COLOR_GREEN = 3;
|
||||
|
||||
public static final int TRAFFIC_LIGHT_DIRECTION_TURN_AROUND = 0;
|
||||
public static final int TRAFFIC_LIGHT_DIRECTION_TURN_LEFT = 1;
|
||||
public static final int TRAFFIC_LIGHT_DIRECTION_STRAIGHT = 2;
|
||||
public static final int TRAFFIC_LIGHT_DIRECTION_TURN_RIGHT = 3;
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
package com.mogo.module.common.constants;
|
||||
|
||||
public
|
||||
/**
|
||||
* @author congtaowang
|
||||
* @since 2020/10/29
|
||||
*
|
||||
* 描述
|
||||
*/
|
||||
enum VisionMode {
|
||||
|
||||
Machine( "machine" ),
|
||||
User( "user" );
|
||||
|
||||
private String res;
|
||||
|
||||
VisionMode( String res ) {
|
||||
this.res = res;
|
||||
}
|
||||
|
||||
public String getRes() {
|
||||
return res;
|
||||
}
|
||||
}
|
||||
@@ -1,73 +0,0 @@
|
||||
package com.mogo.module.common.drawer.bean;
|
||||
|
||||
import com.mogo.map.marker.IMogoMarker;
|
||||
|
||||
/**
|
||||
* 速度显示对象
|
||||
*/
|
||||
public class SpeedData {
|
||||
|
||||
public IMogoMarker marker;
|
||||
public double speed;
|
||||
public String uuid;
|
||||
public int type;
|
||||
public double heading;
|
||||
public boolean isVrMode;
|
||||
|
||||
public SpeedData(IMogoMarker marker, double speed, String uuid, int type, double heading, boolean isVrMode) {
|
||||
this.marker = marker;
|
||||
this.speed = speed;
|
||||
this.uuid = uuid;
|
||||
this.type = type;
|
||||
this.heading = heading;
|
||||
this.isVrMode = isVrMode;
|
||||
}
|
||||
|
||||
public IMogoMarker getMarker() {
|
||||
return marker;
|
||||
}
|
||||
|
||||
public void setMarker(IMogoMarker marker) {
|
||||
this.marker = marker;
|
||||
}
|
||||
|
||||
public double getSpeed() {
|
||||
return speed;
|
||||
}
|
||||
|
||||
public void setSpeed(double speed) {
|
||||
this.speed = speed;
|
||||
}
|
||||
|
||||
public String getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
|
||||
public void setUuid(String uuid) {
|
||||
this.uuid = uuid;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public double getHeading() {
|
||||
return heading;
|
||||
}
|
||||
|
||||
public void setHeading(double heading) {
|
||||
this.heading = heading;
|
||||
}
|
||||
|
||||
public boolean getIsVrMode() {
|
||||
return isVrMode;
|
||||
}
|
||||
|
||||
public void setIsVrMode(boolean isVrMode) {
|
||||
this.isVrMode = isVrMode;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user