Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
p x
earlywarning
Commits
c717a8f4
Commit
c717a8f4
authored
Aug 19, 2025
by
p x
Browse files
路径规划dto
parent
1ff29918
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/com/cusc/adas/v2x/clouddecision/dto/PathPathDto.java
View file @
c717a8f4
...
...
@@ -2,35 +2,46 @@ package com.cusc.adas.v2x.clouddecision.dto;
import
com.cusc.adas.v2x.dto.Position2DDto
;
import
com.cusc.adas.v2x.utils.Order
;
import
com.cusc.adas.v2x.utils.RefNumFlag
;
import
com.cusc.adas.v2x.vo.Position2D
;
import
java.util.List
;
/****
* 局部路径点
* **/
public
class
PathPathDto
{
// 分段编号长度
private
short
pathIdLen
;
//分段编号
private
short
pathId
;
// // 分段编号长度
// @Order(1)
// private byte pathIdLen; // 服务器给2 我接的1
// //分段编号
// @Order(2)
// @RefNumFlag(value="pathIdLen")
// @FieldDef(type="BYTE",isAutoLength=true)
// private String pathId; // 这里出问题 “11”
//关联 GNSS 点 数量
private
short
pointsNum
;
@Order
(
1
)
private
short
pointsNum
;
// 服务器给的4 我1
//关联 GNSS 点 位置
private
Position2DDto
pointsPos
;
@Order
(
2
)
@RefNumFlag
(
value
=
"pointsNum"
)
private
List
<
Position2DDto
>
pointsPos
;
//分段长度
private
long
pathLen
;
//分段名称长度
private
short
pathNameLen
;
//分段名称
private
String
pathName
;
//分段类型 ,0:常规路段;1:路口内连接路段,0xFF 表示缺 省 2=红色 3=绿色
// @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
;
public
short
getPathType
()
{
return
pathType
;
}
public
Position2DDto
getPointsPos
()
{
public
List
<
Position2DDto
>
getPointsPos
()
{
return
pointsPos
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment