| | |
| | | import lombok.NoArgsConstructor; |
| | | import lombok.ToString; |
| | | |
| | | @NoArgsConstructor |
| | | @AllArgsConstructor |
| | | @ToString |
| | | public class DistanceSuYuan implements Serializable, Comparable<DistanceSuYuan> { |
| | | private static final long serialVersionUID = -115407591473808022L; |
| | |
| | | |
| | | private double lat; |
| | | |
| | | public DistanceSuYuan() { |
| | | } |
| | | |
| | | public DistanceSuYuan(String name, String vocsName, double vocsValue, String id, Integer x, Integer y, double u, double v, String addr, double windSpeed, double windDirection, double lon, double lat) { |
| | | this.name = name; |
| | | this.vocsName = vocsName; |
| | | this.vocsValue = vocsValue; |
| | | this.id = id; |
| | | this.x = x; |
| | | this.y = y; |
| | | this.u = u; |
| | | this.v = v; |
| | | this.addr = addr; |
| | | this.windSpeed = windSpeed; |
| | | this.windDirection = windDirection; |
| | | this.lon = lon; |
| | | this.lat = lat; |
| | | } |
| | | |
| | | public String getId() { |
| | | return id; |
| | | } |