From 11b3191f27900738ee0b6bab73508069cba2d18e Mon Sep 17 00:00:00 2001
From: lizhanwei <Dana_Lee1016@126.com>
Date: 星期三, 26 八月 2020 17:27:48 +0800
Subject: [PATCH] 修改道路bean

---
 app/src/main/java/safeluck/drive/evaluation/httpmodule/HttpRoadMapRsp.java |  616 ++++++++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 535 insertions(+), 81 deletions(-)

diff --git a/app/src/main/java/safeluck/drive/evaluation/httpmodule/HttpRoadMapRsp.java b/app/src/main/java/safeluck/drive/evaluation/httpmodule/HttpRoadMapRsp.java
index 0c02928..53dee2b 100644
--- a/app/src/main/java/safeluck/drive/evaluation/httpmodule/HttpRoadMapRsp.java
+++ b/app/src/main/java/safeluck/drive/evaluation/httpmodule/HttpRoadMapRsp.java
@@ -2,6 +2,7 @@
 
 import java.util.List;
 
+
 public class HttpRoadMapRsp {
 
     /**
@@ -146,122 +147,575 @@
             }
 
             public static class MapsBean {
-                /**
-                 * area : [45,38,39,46]
-                 * id : 8890.0
-                 * item : 106.0
-                 * stop_flag : 0.0
-                 * stop_line : [41,42]
-                 * red_line : [[43,44]]
-                 * tts : 璺彛鍙宠浆寮�
-                 * road_edge_line : [[73,74]]
-                 * all_trigger_line : [[8890,45,46],[8891,53,54],[8892,55,56],[8893,63,64],[8894,71,72],[8895,75,76],[8896,87,88],[8897,95,96],[8898,103,104],[8900,111,112]]
-                 * green_line : [[27,28],[33,34]]
-                 * red_area : [[47,48,49,50]]
-                 */
-
-                private int id;
-                private int item;
-                private String tts;
-                private int stop_flag;
-                private List<List<Integer>> red_line;
-                private List<List<Integer>> green_line;
-                private List<List<Integer>> all_trigger_line;
-                private List<List<Integer>> red_area;
-                private List<Integer> stop_line;
-                private List<Integer> area;
-                private List<List<Integer>> road_edge_line;
+//                /**
+//                 * area : [45,38,39,46]
+//                 * id : 8890.0
+//                 * item : 106.0
+//                 * stop_flag : 0.0
+//                 * stop_line : [41,42]
+//                 * red_line : [[43,44]]
+//                 * tts : 璺彛鍙宠浆寮�
+//                 * road_edge_line : [[73,74]]
+//                 * all_trigger_line : [[8890,45,46],[8891,53,54],[8892,55,56],[8893,63,64],[8894,71,72],[8895,75,76],[8896,87,88],[8897,95,96],[8898,103,104],[8900,111,112]]
+//                 * green_line : [[27,28],[33,34]]
+//                 * red_area : [[47,48,49,50]]
+//                 */
+//
+//                private int id;
+//                private int item;
+//                private String tts;
+//                private int stop_flag;
+//                private List<List<Integer>> red_line;
+//                private List<List<Integer>> green_line;
+//                private List<List<Integer>> all_trigger_line;
+//                private List<List<Integer>> red_area;
+//                private List<Integer> stop_line;
+//                private List<Integer> area;
+//                private List<List<Integer>> road_edge_line;
+//
+//
+//
+//                public String getTts() {
+//                    return tts;
+//                }
+//
+//                public void setTts(String tts) {
+//                    this.tts = tts;
+//                }
+//
+//
+//                public int getId() {
+//                    return id;
+//                }
+//
+//                public void setId(int id) {
+//                    this.id = id;
+//                }
+//
+//                public int getItem() {
+//                    return item;
+//                }
+//
+//                public void setItem(int item) {
+//                    this.item = item;
+//                }
+//
+//                public int getStop_flag() {
+//                    return stop_flag;
+//                }
+//
+//                public void setStop_flag(int stop_flag) {
+//                    this.stop_flag = stop_flag;
+//                }
+//
+//                public List<List<Integer>> getRed_line() {
+//                    return red_line;
+//                }
+//
+//                public void setRed_line(List<List<Integer>> red_line) {
+//                    this.red_line = red_line;
+//                }
+//
+//                public List<List<Integer>> getGreen_line() {
+//                    return green_line;
+//                }
+//
+//                public void setGreen_line(List<List<Integer>> green_line) {
+//                    this.green_line = green_line;
+//                }
+//
+//                public List<List<Integer>> getAll_trigger_line() {
+//                    return all_trigger_line;
+//                }
+//
+//                public void setAll_trigger_line(List<List<Integer>> all_trigger_line) {
+//                    this.all_trigger_line = all_trigger_line;
+//                }
+//
+//                public List<List<Integer>> getRed_area() {
+//                    return red_area;
+//                }
+//
+//                public void setRed_area(List<List<Integer>> red_area) {
+//                    this.red_area = red_area;
+//                }
+//
+//                public List<Integer> getStop_line() {
+//                    return stop_line;
+//                }
+//
+//                public void setStop_line(List<Integer> stop_line) {
+//                    this.stop_line = stop_line;
+//                }
+//
+//                public List<Integer> getArea() {
+//                    return area;
+//                }
+//
+//                public void setArea(List<Integer> area) {
+//                    this.area = area;
+//                }
+//
+//                public List<List<Integer>> getRoad_edge_line() {
+//                    return road_edge_line;
+//                }
+//
+//                public void setRoad_edge_line(List<List<Integer>> road_edge_line) {
+//                    this.road_edge_line = road_edge_line;
+//                }
 
 
 
-                public String getTts() {
-                    return tts;
+
+
+                private List<Double> points;
+                private List<RoadBean> road;
+                private List<SpecialAreaBean> special_area;
+                private List<TriggerLineBean> trigger_line;
+                private List<RedLineBean> red_line;
+
+                public List<Double> getPoints() {
+                    return points;
                 }
 
-                public void setTts(String tts) {
-                    this.tts = tts;
+                public void setPoints(List<Double> points) {
+                    this.points = points;
                 }
 
-
-                public int getId() {
-                    return id;
+                public List<RoadBean> getRoad() {
+                    return road;
                 }
 
-                public void setId(int id) {
-                    this.id = id;
+                public void setRoad(List<RoadBean> road) {
+                    this.road = road;
                 }
 
-                public int getItem() {
-                    return item;
+                public List<SpecialAreaBean> getSpecial_area() {
+                    return special_area;
                 }
 
-                public void setItem(int item) {
-                    this.item = item;
+                public void setSpecial_area(List<SpecialAreaBean> special_area) {
+                    this.special_area = special_area;
                 }
 
-                public int getStop_flag() {
-                    return stop_flag;
+                public List<TriggerLineBean> getTrigger_line() {
+                    return trigger_line;
                 }
 
-                public void setStop_flag(int stop_flag) {
-                    this.stop_flag = stop_flag;
+                public void setTrigger_line(List<TriggerLineBean> trigger_line) {
+                    this.trigger_line = trigger_line;
                 }
 
-                public List<List<Integer>> getRed_line() {
+                public List<RedLineBean> getRed_line() {
                     return red_line;
                 }
 
-                public void setRed_line(List<List<Integer>> red_line) {
+                public void setRed_line(List<RedLineBean> red_line) {
                     this.red_line = red_line;
                 }
 
-                public List<List<Integer>> getGreen_line() {
-                    return green_line;
+                public static class RoadBean {
+                    /**
+                     * id : 1
+                     * next_road : 2
+                     * start_line : [0,118]
+                     * crossing : [{"active":2,"center_point":55,"stop_flag":0,"tts":"璺彛宸﹁浆寮�","line":[26,140]}]
+                     * left_edge : [{"line":[118,121,123,125,127,129,132,137,140],"type":1}]
+                     * right_edge : [{"line":[0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26],"type":1}]
+                     * separate : [{"lane_line":[[{"line":[117,120,122,124,126,128,131],"type":0}]]},{"lane_guide":[{"head_tail":[135,139],"guide":[2,1,4]}],"lane_line":[[{"line":[131,135],"type":0},{"line":[135,139],"type":1}],[{"line":[130,133],"type":0},{"line":[133,138],"type":1}]]}]
+                     * active : 8
+                     */
+
+                    private int id;
+                    private int next_road;
+                    private int active;
+                    private List<Integer> start_line;
+                    private List<RoadBean.CrossingBean> crossing;
+                    private List<RoadBean.LeftEdgeBean> left_edge;
+                    private List<RoadBean.RightEdgeBean> right_edge;
+                    private List<RoadBean.SeparateBean> separate;
+
+                    public int getId() {
+                        return id;
+                    }
+
+                    public void setId(int id) {
+                        this.id = id;
+                    }
+
+                    public int getNext_road() {
+                        return next_road;
+                    }
+
+                    public void setNext_road(int next_road) {
+                        this.next_road = next_road;
+                    }
+
+                    public int getActive() {
+                        return active;
+                    }
+
+                    public void setActive(int active) {
+                        this.active = active;
+                    }
+
+                    public List<Integer> getStart_line() {
+                        return start_line;
+                    }
+
+                    public void setStart_line(List<Integer> start_line) {
+                        this.start_line = start_line;
+                    }
+
+                    public List<RoadBean.CrossingBean> getCrossing() {
+                        return crossing;
+                    }
+
+                    public void setCrossing(List<RoadBean.CrossingBean> crossing) {
+                        this.crossing = crossing;
+                    }
+
+                    public List<RoadBean.LeftEdgeBean> getLeft_edge() {
+                        return left_edge;
+                    }
+
+                    public void setLeft_edge(List<RoadBean.LeftEdgeBean> left_edge) {
+                        this.left_edge = left_edge;
+                    }
+
+                    public List<RoadBean.RightEdgeBean> getRight_edge() {
+                        return right_edge;
+                    }
+
+                    public void setRight_edge(List<RoadBean.RightEdgeBean> right_edge) {
+                        this.right_edge = right_edge;
+                    }
+
+                    public List<RoadBean.SeparateBean> getSeparate() {
+                        return separate;
+                    }
+
+                    public void setSeparate(List<RoadBean.SeparateBean> separate) {
+                        this.separate = separate;
+                    }
+
+                    public static class CrossingBean {
+                        /**
+                         * active : 2
+                         * center_point : 55
+                         * stop_flag : 0
+                         * tts : 璺彛宸﹁浆寮�
+                         * line : [26,140]
+                         */
+
+                        private int active;
+                        private int center_point;
+                        private int stop_flag;
+                        private String tts;
+                        private List<Integer> line;
+
+                        public int getActive() {
+                            return active;
+                        }
+
+                        public void setActive(int active) {
+                            this.active = active;
+                        }
+
+                        public int getCenter_point() {
+                            return center_point;
+                        }
+
+                        public void setCenter_point(int center_point) {
+                            this.center_point = center_point;
+                        }
+
+                        public int getStop_flag() {
+                            return stop_flag;
+                        }
+
+                        public void setStop_flag(int stop_flag) {
+                            this.stop_flag = stop_flag;
+                        }
+
+                        public String getTts() {
+                            return tts;
+                        }
+
+                        public void setTts(String tts) {
+                            this.tts = tts;
+                        }
+
+                        public List<Integer> getLine() {
+                            return line;
+                        }
+
+                        public void setLine(List<Integer> line) {
+                            this.line = line;
+                        }
+                    }
+
+                    public static class LeftEdgeBean {
+                        /**
+                         * line : [118,121,123,125,127,129,132,137,140]
+                         * type : 1
+                         */
+
+                        private int type;
+                        private List<Integer> line;
+
+                        public int getType() {
+                            return type;
+                        }
+
+                        public void setType(int type) {
+                            this.type = type;
+                        }
+
+                        public List<Integer> getLine() {
+                            return line;
+                        }
+
+                        public void setLine(List<Integer> line) {
+                            this.line = line;
+                        }
+                    }
+
+                    public static class RightEdgeBean {
+                        /**
+                         * line : [0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]
+                         * type : 1
+                         */
+
+                        private int type;
+                        private List<Integer> line;
+
+                        public int getType() {
+                            return type;
+                        }
+
+                        public void setType(int type) {
+                            this.type = type;
+                        }
+
+                        public List<Integer> getLine() {
+                            return line;
+                        }
+
+                        public void setLine(List<Integer> line) {
+                            this.line = line;
+                        }
+                    }
+
+                    public static class SeparateBean {
+                        private List<List<RoadBean.SeparateBean.LaneLineBean>> lane_line;
+                        private List<RoadBean.SeparateBean.LaneGuideBean> lane_guide;
+
+                        public List<List<RoadBean.SeparateBean.LaneLineBean>> getLane_line() {
+                            return lane_line;
+                        }
+
+                        public void setLane_line(List<List<RoadBean.SeparateBean.LaneLineBean>> lane_line) {
+                            this.lane_line = lane_line;
+                        }
+
+                        public List<RoadBean.SeparateBean.LaneGuideBean> getLane_guide() {
+                            return lane_guide;
+                        }
+
+                        public void setLane_guide(List<RoadBean.SeparateBean.LaneGuideBean> lane_guide) {
+                            this.lane_guide = lane_guide;
+                        }
+
+                        public static class LaneLineBean {
+                            /**
+                             * line : [117,120,122,124,126,128,131]
+                             * type : 0
+                             */
+
+                            private int type;
+                            private List<Integer> line;
+
+                            public int getType() {
+                                return type;
+                            }
+
+                            public void setType(int type) {
+                                this.type = type;
+                            }
+
+                            public List<Integer> getLine() {
+                                return line;
+                            }
+
+                            public void setLine(List<Integer> line) {
+                                this.line = line;
+                            }
+                        }
+
+                        public static class LaneGuideBean {
+                            private List<Integer> head_tail;
+                            private List<Integer> guide;
+
+                            public List<Integer> getHead_tail() {
+                                return head_tail;
+                            }
+
+                            public void setHead_tail(List<Integer> head_tail) {
+                                this.head_tail = head_tail;
+                            }
+
+                            public List<Integer> getGuide() {
+                                return guide;
+                            }
+
+                            public void setGuide(List<Integer> guide) {
+                                this.guide = guide;
+                            }
+                        }
+                    }
                 }
 
-                public void setGreen_line(List<List<Integer>> green_line) {
-                    this.green_line = green_line;
+                public static class SpecialAreaBean {
+                    /**
+                     * area : [39,40]
+                     * id : 0
+                     * road : 2
+                     * type : 0
+                     */
+
+                    private int id;
+                    private int road;
+                    private int type;
+                    private List<Integer> area;
+
+                    public int getId() {
+                        return id;
+                    }
+
+                    public void setId(int id) {
+                        this.id = id;
+                    }
+
+                    public int getRoad() {
+                        return road;
+                    }
+
+                    public void setRoad(int road) {
+                        this.road = road;
+                    }
+
+                    public int getType() {
+                        return type;
+                    }
+
+                    public void setType(int type) {
+                        this.type = type;
+                    }
+
+                    public List<Integer> getArea() {
+                        return area;
+                    }
+
+                    public void setArea(List<Integer> area) {
+                        this.area = area;
+                    }
                 }
 
-                public List<List<Integer>> getAll_trigger_line() {
-                    return all_trigger_line;
+                public static class TriggerLineBean {
+                    /**
+                     * id : 0
+                     * line : [287]
+                     * road : 5
+                     * tts : 鍙樻洿杞﹂亾
+                     * type : 1
+                     */
+
+                    private int id;
+                    private int road;
+                    private String tts;
+                    private int type;
+                    private List<Integer> line;
+
+                    public int getId() {
+                        return id;
+                    }
+
+                    public void setId(int id) {
+                        this.id = id;
+                    }
+
+                    public int getRoad() {
+                        return road;
+                    }
+
+                    public void setRoad(int road) {
+                        this.road = road;
+                    }
+
+                    public String getTts() {
+                        return tts;
+                    }
+
+                    public void setTts(String tts) {
+                        this.tts = tts;
+                    }
+
+                    public int getType() {
+                        return type;
+                    }
+
+                    public void setType(int type) {
+                        this.type = type;
+                    }
+
+                    public List<Integer> getLine() {
+                        return line;
+                    }
+
+                    public void setLine(List<Integer> line) {
+                        this.line = line;
+                    }
                 }
 
-                public void setAll_trigger_line(List<List<Integer>> all_trigger_line) {
-                    this.all_trigger_line = all_trigger_line;
+                public static class RedLineBean {
+                    /**
+                     * id : 0
+                     * type : 1
+                     * points : [56,48]
+                     */
+
+                    private int id;
+                    private int type;
+                    private List<Integer> points;
+
+                    public int getId() {
+                        return id;
+                    }
+
+                    public void setId(int id) {
+                        this.id = id;
+                    }
+
+                    public int getType() {
+                        return type;
+                    }
+
+                    public void setType(int type) {
+                        this.type = type;
+                    }
+
+                    public List<Integer> getPoints() {
+                        return points;
+                    }
+
+                    public void setPoints(List<Integer> points) {
+                        this.points = points;
+                    }
                 }
 
-                public List<List<Integer>> getRed_area() {
-                    return red_area;
-                }
 
-                public void setRed_area(List<List<Integer>> red_area) {
-                    this.red_area = red_area;
-                }
 
-                public List<Integer> getStop_line() {
-                    return stop_line;
-                }
-
-                public void setStop_line(List<Integer> stop_line) {
-                    this.stop_line = stop_line;
-                }
-
-                public List<Integer> getArea() {
-                    return area;
-                }
-
-                public void setArea(List<Integer> area) {
-                    this.area = area;
-                }
-
-                public List<List<Integer>> getRoad_edge_line() {
-                    return road_edge_line;
-                }
-
-                public void setRoad_edge_line(List<List<Integer>> road_edge_line) {
-                    this.road_edge_line = road_edge_line;
-                }
             }
         }
     }

--
Gitblit v1.8.0