| | |
| | | import lombok.NoArgsConstructor; |
| | | import lombok.ToString; |
| | | |
| | | @NoArgsConstructor |
| | | @AllArgsConstructor |
| | | @ToString |
| | | public class DistanceSuYuan implements Serializable, Comparable<DistanceSuYuan> { |
| | | private static final long serialVersionUID = -115407591473808022L; |
| | |
| | | private double vocsValue; |
| | | |
| | | private String id; |
| | | |
| | | @JsonIgnore |
| | | private Integer x; |
| | | |
| | | @JsonIgnore |
| | | private Integer y; |
| | | |
| | | @JsonIgnore |
| | | private double u; |
| | | |
| | | @JsonIgnore |
| | | private double v; |
| | | |
| | | @JsonIgnore |
| | | private String addr; |
| | | |
| | | private double windSpeed; |
| | | |
| | |
| | | private double lon; |
| | | |
| | | 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; |
| | |
| | | public void setLat(double lat) { |
| | | this.lat = lat; |
| | | } |
| | | |
| | | public String getAddr() { |
| | | return addr; |
| | | } |
| | | |
| | | public void setAddr(String addr) { |
| | | this.addr = addr; |
| | | } |
| | | } |