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

路径规划get字段

parent 5962922d
...@@ -41,6 +41,10 @@ public class PathPathDto { ...@@ -41,6 +41,10 @@ public class PathPathDto {
@Order(3) // 服务器给的 @Order(3) // 服务器给的
private short pathType; private short pathType;
public short getPointsNum() {
return pointsNum;
}
public List<Position2DDto> getPointsPos() { public List<Position2DDto> getPointsPos() {
return pointsPos; return pointsPos;
} }
......
...@@ -28,7 +28,7 @@ public class Parse { ...@@ -28,7 +28,7 @@ public class Parse {
Field[] fields = t.getClass().getDeclaredFields(); Field[] fields = t.getClass().getDeclaredFields();
List<Field> fList = new ArrayList<>(); List<Field> fList = new ArrayList<>();
SortedMap<Integer, Field> rstMap = new TreeMap<>(); // SortedMap<Integer, Field> rstMap = new TreeMap<>();
for (Field field : fields) { for (Field field : fields) {
...@@ -185,7 +185,7 @@ public class Parse { ...@@ -185,7 +185,7 @@ public class Parse {
} }
rstMap.put(num, field); // rstMap.put(num, field);
} }
} }
return t; return t;
......
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