81小巴车联调弱势交通预警部分判空添加;

日志添加,后续删除
This commit is contained in:
liujing
2021-11-29 18:59:59 +08:00
parent ba47f45a9a
commit 11ee70d24d
6 changed files with 74 additions and 30 deletions

View File

@@ -197,4 +197,16 @@ public class V2XMessageEntity<T> implements Serializable {
@Retention(RetentionPolicy.SOURCE) //表示注解所存活的时间,在运行时,而不会存在 .class 文件中
public @interface MessageType { //接口,定义新的注解类型
}
@Override
public String toString() {
return "V2XMessageEntity{" +
"type=" + type +
", showState=" + showState +
", isNeedCompareSameScenario=" + isNeedCompareSameScenario +
", onlyShow=" + onlyShow +
", needAddLine=" + needAddLine +
", content=" + content +
'}';
}
}