燕山石化溯源三维电子沙盘-【后端】-服务
1
13693261870
2024-11-01 99042da077ad98e38340f96cb03ffcf4d249ab87
src/main/java/com/yssh/entity/DistanceSuYuan.java
@@ -11,8 +11,6 @@
import lombok.NoArgsConstructor;
import lombok.ToString;
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class DistanceSuYuan implements Serializable, Comparable<DistanceSuYuan> {
   private static final long serialVersionUID = -115407591473808022L;
@@ -24,14 +22,21 @@
   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;
@@ -40,6 +45,25 @@
   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;
@@ -146,4 +170,12 @@
   public void setLat(double lat) {
      this.lat = lat;
   }
   public String getAddr() {
      return addr;
   }
   public void setAddr(String addr) {
      this.addr = addr;
   }
}