Commit f92c773b authored by p x's avatar p x
Browse files

调整路径规划解析

parent eec7669b
......@@ -21,7 +21,7 @@ public class PathPathDto {
// private String pathId; // 这里出问题 “11”
//关联 GNSS 点 数量
@Order(1)
private short pointsNum; // 服务器给的4 我1
private int pointsNum; // 服务器给的4 我1
//关联 GNSS 点 位置
@Order(2)
@RefNumFlag(value="pointsNum")
......@@ -41,7 +41,7 @@ public class PathPathDto {
@Order(3) // 服务器给的
private short pathType;
public short getPointsNum() {
public int getPointsNum() {
return pointsNum;
}
......
package com.cusc.adas.v2x.clouddecision.vo;
import com.cusc.adas.v2x.utils.FieldDef;
import com.cusc.adas.v2x.utils.NumFlag;
import com.cusc.adas.v2x.utils.Order;
import com.cusc.adas.v2x.utils.RefNumFlag;
import com.cusc.adas.v2x.vo.Position2D;
......@@ -12,33 +10,15 @@ import java.util.List;
* 局部路径点
* **/
public class PathPath {
// // 分段编号长度
// @Order(1)
// private byte pathIdLen; // 服务器给2 我接的1
// //分段编号
// @Order(2)
// @RefNumFlag(value="pathIdLen")
// @FieldDef(type="BYTE",isAutoLength=true)
// private String pathId; // 这里出问题 “11”
//关联 GNSS 点 数量
@Order(1)
private short pointsNum; // 服务器给的4 我1
private int pointsNum;
//关联 GNSS 点 位置 具体颜色的集合
@Order(2)
@RefNumFlag(value="pointsNum")
@RefNumFlag(value = "pointsNum")
private List<Position2D> pointsPos;
//分段长度
// @Order(5)
// private long pathLen; // 服务器给的
// //分段名称长度
// @Order(6)
// private short pathNameLen; // 服务器给的1
// //分段名称
// @Order(7)
// @RefNumFlag(value="pathNameLen") // 服务器给的1
// @FieldDef(type="BYTE",isAutoLength=true)
// private String pathName;
//分段类型 1:路口内连接路段,0xFF 表示缺省 2=红色 3=绿色 4=感知车(画感知车)
@Order(3) // 服务器给的
private short pathType;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment