删除无用字段
This commit is contained in:
@@ -11,8 +11,6 @@ public class V2XWarningEntity implements Serializable {
|
||||
|
||||
//事件类型 行人0/自行车1/摩托车2/小汽车3/公交车4
|
||||
private int type;
|
||||
//目标物类型
|
||||
private String targetType;
|
||||
//目标物位置
|
||||
private double lat;
|
||||
private double lon;
|
||||
@@ -78,10 +76,6 @@ public class V2XWarningEntity implements Serializable {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public void setTargetType(String targetType) {
|
||||
this.targetType = targetType;
|
||||
}
|
||||
|
||||
public void setDistance(double distance) {
|
||||
this.distance = distance;
|
||||
}
|
||||
@@ -122,9 +116,6 @@ public class V2XWarningEntity implements Serializable {
|
||||
return type;
|
||||
}
|
||||
|
||||
public String getTargetType() {
|
||||
return targetType;
|
||||
}
|
||||
|
||||
public double getLat() {
|
||||
return lat;
|
||||
@@ -180,7 +171,6 @@ public class V2XWarningEntity implements Serializable {
|
||||
public String toString() {
|
||||
return "V2XWarningEntity{" +
|
||||
"type=" + type +
|
||||
", targetType='" + targetType + '\'' +
|
||||
", lat=" + lat +
|
||||
", lon=" + lon +
|
||||
", distance=" + distance +
|
||||
|
||||
Reference in New Issue
Block a user