lmw
2023-04-03 16ea883d3c03fd8b910f9282aa1bc08378d40d54
1
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
package com.zhaoyang.driver.bean;
 
public class CarLocationBean {
 
    /**
     * code : 200
     * msg : LOCATION
     * method : OK
     * data : {"driverId":545645,"orderId":21414,"orderType":2,"lon":103.56523,"lat":30.61221}
     */
 
    private int code = 200;
    private String msg ="SUCCESS";
    private String method = "LOCATION";
    private DataBean data;
 
    public int getCode() {
        return code;
    }
 
    public void setCode(int code) {
        this.code = code;
    }
 
    public String getMsg() {
        return msg;
    }
 
    public void setMsg(String msg) {
        this.msg = msg;
    }
 
    public String getMethod() {
        return method;
    }
 
    public void setMethod(String method) {
        this.method = method;
    }
 
    public DataBean getData() {
        return data;
    }
 
    public void setData(DataBean data) {
        this.data = data;
    }
 
    public static class DataBean {
 
 
        public DataBean(int driverId, String orderId, String orderType, double lon, double lat,double computeAzimuth,double altitude) {
            this.driverId = driverId;
            this.orderId = orderId;
            this.orderType = orderType;
            this.lon = lon;
            this.lat = lat;
            this.computeAzimuth = computeAzimuth;
            this.altitude = altitude;
            //添加方向角 海拔熟读
 
        }
 
        /**
         * driverId : 545645
         * orderId : 21414
         * orderType : 2
         * lon : 103.56523
         * lat : 30.61221
         */
 
 
 
        private int driverId;
        private String orderId;
        private String orderType;
        private double lon;
        private double lat;
        private double computeAzimuth;
        private double altitude;
 
        public double getAltitude() {
            return altitude;
        }
 
        public void setAltitude(double altitude) {
            this.altitude = altitude;
        }
 
        public double getComputeAzimuth() {
            return computeAzimuth;
        }
 
        public void setComputeAzimuth(double computeAzimuth) {
            this.computeAzimuth = computeAzimuth;
        }
 
        public int getDriverId() {
            return driverId;
        }
 
        public void setDriverId(int driverId) {
            this.driverId = driverId;
        }
 
        public String getOrderId() {
            return orderId;
        }
 
        public void setOrderId(String orderId) {
            this.orderId = orderId;
        }
 
        public String getOrderType() {
            return orderType;
        }
 
        public void setOrderType(String orderType) {
            this.orderType = orderType;
        }
 
        public double getLon() {
            return lon;
        }
 
        public void setLon(double lon) {
            this.lon = lon;
        }
 
        public double getLat() {
            return lat;
        }
 
        public void setLat(double lat) {
            this.lat = lat;
        }
 
        @Override
        public String toString() {
            return "DataBean{" +
                    "driverId=" + driverId +
                    ", orderId='" + orderId + '\'' +
                    ", orderType='" + orderType + '\'' +
                    ", lon=" + lon +
                    ", lat=" + lat +
                    ", computeAzimuth=" + computeAzimuth +
                    ", altitude=" + altitude +
                    '}';
        }
    }
 
 
    @Override
    public String toString() {
        return "CarLocationBean{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", method='" + method + '\'' +
                ", data=" + data +
                '}';
    }
}