探路事件,取消本机与事件连线

This commit is contained in:
liujing
2020-09-22 17:41:40 +08:00
parent bfc346e48a
commit 8dbc6b8b07
4 changed files with 28 additions and 14 deletions

View File

@@ -40,6 +40,12 @@ public class V2XMessageEntity<T> implements Serializable {
*/
boolean isNeedCompareSameScenario = true;
//是否播报tts
private boolean onlyShow = false;
//本机与事件是否连线
private boolean needAddLine = true;
/**
* 场景具体的数据内容
*/
@@ -91,6 +97,22 @@ public class V2XMessageEntity<T> implements Serializable {
return Objects.hash(type, content);
}
public boolean isOnlyShow() {
return onlyShow;
}
public void setOnlyShow(boolean onlyShow) {
this.onlyShow = onlyShow;
}
public boolean isNeedAddLine() {
return needAddLine;
}
public void setNeedAddLine(boolean needAddLine) {
this.needAddLine = needAddLine;
}
/**
* V2X 场景类型
*/

View File

@@ -25,8 +25,6 @@ public class V2XRoadEventEntity implements Serializable {
// tts 提示
private String tts;
//是否播报tts
private boolean onlyShow = false;
// ADAS 展示文案
private String alarmContent;
// 距离当前车辆的距离
@@ -176,14 +174,6 @@ public class V2XRoadEventEntity implements Serializable {
this.tts = tts;
}
public boolean isOnlyShow() {
return onlyShow;
}
public void setOnlyShow(boolean onlyShow) {
this.onlyShow = onlyShow;
}
public boolean isShowEventButton() {
return isShowEventButton;
}