燕山石化溯源三维电子沙盘-【后端】-服务
1
13693261870
2023-06-16 aa86cb57b09c5300db3c33d75d91d8b51a4b636f
src/main/java/com/yssh/entity/vo/WarningVo.java
@@ -12,11 +12,20 @@
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.yssh.utils.CalculateUtils;
@NoArgsConstructor
@AllArgsConstructor
@ToString
@ApiModel(value="报警/预警展示对象", description="报警/预警展示对象")
public class WarningVo implements Serializable{
   public WarningVo() {
   }
   public WarningVo(String locationName, String suYuanId, double lon, double lat, double value, String time) {
      this.locationName = locationName;
      this.suYuanId = suYuanId;
      this.lon = lon;
      this.lat = lat;
      this.value = value;
      this.time = time;
   }
   private static final long serialVersionUID = 3440478664982471286L;
   @ApiModelProperty(value = "点位名称")
@@ -29,6 +38,8 @@
   private double lat;
   @ApiModelProperty(value = "数值")
   private double value;
   @ApiModelProperty(value = "时间")
   private String time;
   public String getLocationName() {
      return locationName;
   }
@@ -52,5 +63,24 @@
   public void setValue(double value) {
      this.value = value;
   }
   public String getSuYuanId() {
      return suYuanId;
   }
   public void setLon(double lon) {
      this.lon = lon;
   }
   public void setLat(double lat) {
      this.lat = lat;
   }
   public String getTime() {
      return time;
   }
   public void setTime(String time) {
      this.time = time;
   }
}