From 1d1b21f7f9416dc6a350dc83506364bb822e9e1c Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期四, 27 四月 2023 13:50:08 +0800 Subject: [PATCH] 1 --- src/main/java/com/yssh/entity/Temporary.java | 10 src/main/java/com/yssh/entity/ThuAccuracy.java | 96 ++++++++++ src/main/java/com/yssh/entity/AlertConfig.java | 40 ++++ src/main/java/com/yssh/entity/SuYuan.java | 64 +++++++ src/main/java/com/yssh/entity/dto/YsshSuYuanX00UpdateBatchParam.java | 16 + src/main/java/com/yssh/entity/SuYuan2d.java | 9 src/main/java/com/yssh/entity/SuYuanMonitorData.java | 24 ++ src/main/java/com/yssh/entity/vo/ForecastAnalyseVo.java | 25 ++ src/main/java/com/yssh/entity/Location.java | 40 ++++ src/main/java/com/yssh/entity/Weather.java | 40 ++++ src/main/java/com/yssh/entity/WarningDetail.java | 71 +++++++ src/main/java/com/yssh/entity/vo/WarningVo.java | 25 ++ src/main/java/com/yssh/entity/Emission.java | 56 ++++++ 13 files changed, 506 insertions(+), 10 deletions(-) diff --git a/src/main/java/com/yssh/entity/AlertConfig.java b/src/main/java/com/yssh/entity/AlertConfig.java index 73aa684..c97f7a4 100644 --- a/src/main/java/com/yssh/entity/AlertConfig.java +++ b/src/main/java/com/yssh/entity/AlertConfig.java @@ -27,4 +27,44 @@ private Double pfyj; @ApiModelProperty(value = "鎺掓斁鎶ヨ鍊�") private Double pfbj; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public Double getJcyj() { + return jcyj; + } + + public void setJcyj(Double jcyj) { + this.jcyj = jcyj; + } + + public Double getJcbj() { + return jcbj; + } + + public void setJcbj(Double jcbj) { + this.jcbj = jcbj; + } + + public Double getPfyj() { + return pfyj; + } + + public void setPfyj(Double pfyj) { + this.pfyj = pfyj; + } + + public Double getPfbj() { + return pfbj; + } + + public void setPfbj(Double pfbj) { + this.pfbj = pfbj; + } } diff --git a/src/main/java/com/yssh/entity/Emission.java b/src/main/java/com/yssh/entity/Emission.java index 22ae596..9cd5e8e 100644 --- a/src/main/java/com/yssh/entity/Emission.java +++ b/src/main/java/com/yssh/entity/Emission.java @@ -26,4 +26,60 @@ private String time; @ApiModelProperty(value = "鐘舵�佸��") private int property; + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public double getLon() { + return lon; + } + + public void setLon(double lon) { + this.lon = lon; + } + + public float getLat() { + return lat; + } + + public void setLat(float lat) { + this.lat = lat; + } + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + public String getTime() { + return time; + } + + public void setTime(String time) { + this.time = time; + } + + public int getProperty() { + return property; + } + + public void setProperty(int property) { + this.property = property; + } } diff --git a/src/main/java/com/yssh/entity/Location.java b/src/main/java/com/yssh/entity/Location.java index 75771da..741dbf3 100644 --- a/src/main/java/com/yssh/entity/Location.java +++ b/src/main/java/com/yssh/entity/Location.java @@ -29,4 +29,44 @@ private float lon; @ApiModelProperty(value = "鐐逛綅绾害") private float lat; + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public float getLon() { + return lon; + } + + public void setLon(float lon) { + this.lon = lon; + } + + public float getLat() { + return lat; + } + + public void setLat(float lat) { + this.lat = lat; + } } diff --git a/src/main/java/com/yssh/entity/SuYuan.java b/src/main/java/com/yssh/entity/SuYuan.java index 6311743..93fe990 100644 --- a/src/main/java/com/yssh/entity/SuYuan.java +++ b/src/main/java/com/yssh/entity/SuYuan.java @@ -32,4 +32,68 @@ /*private Double lon; private Double lat; private Date time;*/ + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Integer getX() { + return x; + } + + public void setX(Integer x) { + this.x = x; + } + + public Integer getY() { + return y; + } + + public void setY(Integer y) { + this.y = y; + } + + public Integer getZ() { + return z; + } + + public void setZ(Integer z) { + this.z = z; + } + + public Double getU() { + return u; + } + + public void setU(Double u) { + this.u = u; + } + + public Double getV() { + return v; + } + + public void setV(Double v) { + this.v = v; + } + + public Double getW() { + return w; + } + + public void setW(Double w) { + this.w = w; + } + + public Double getC() { + return c; + } + + public void setC(Double c) { + this.c = c; + } } diff --git a/src/main/java/com/yssh/entity/SuYuan2d.java b/src/main/java/com/yssh/entity/SuYuan2d.java index cca5825..742fe00 100644 --- a/src/main/java/com/yssh/entity/SuYuan2d.java +++ b/src/main/java/com/yssh/entity/SuYuan2d.java @@ -58,5 +58,12 @@ public void setValue(double value) { this.value = value; } - + + public void setLon(double lon) { + this.lon = lon; + } + + public void setLat(double lat) { + this.lat = lat; + } } diff --git a/src/main/java/com/yssh/entity/SuYuanMonitorData.java b/src/main/java/com/yssh/entity/SuYuanMonitorData.java index c8d57ab..586ac6c 100644 --- a/src/main/java/com/yssh/entity/SuYuanMonitorData.java +++ b/src/main/java/com/yssh/entity/SuYuanMonitorData.java @@ -21,4 +21,28 @@ private Double value; @ApiModelProperty(value = "鏃堕棿") private Integer time; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Double getValue() { + return value; + } + + public void setValue(Double value) { + this.value = value; + } + + public Integer getTime() { + return time; + } + + public void setTime(Integer time) { + this.time = time; + } } diff --git a/src/main/java/com/yssh/entity/Temporary.java b/src/main/java/com/yssh/entity/Temporary.java index 5ae7dff..c493766 100644 --- a/src/main/java/com/yssh/entity/Temporary.java +++ b/src/main/java/com/yssh/entity/Temporary.java @@ -78,6 +78,12 @@ public void setC(Double c) { this.c = c; } - - + + public void setLon(Double lon) { + this.lon = lon; + } + + public void setLat(Double lat) { + this.lat = lat; + } } diff --git a/src/main/java/com/yssh/entity/ThuAccuracy.java b/src/main/java/com/yssh/entity/ThuAccuracy.java index f3277ca..a346e60 100644 --- a/src/main/java/com/yssh/entity/ThuAccuracy.java +++ b/src/main/java/com/yssh/entity/ThuAccuracy.java @@ -27,4 +27,100 @@ private String wg300; private String wg500; private Double accuracy; + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public float getLon() { + return lon; + } + + public void setLon(float lon) { + this.lon = lon; + } + + public float getLat() { + return lat; + } + + public void setLat(float lat) { + this.lat = lat; + } + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + public String getTime() { + return time; + } + + public void setTime(String time) { + this.time = time; + } + + public int getProperty() { + return property; + } + + public void setProperty(int property) { + this.property = property; + } + + public String getWg100() { + return wg100; + } + + public void setWg100(String wg100) { + this.wg100 = wg100; + } + + public String getWg200() { + return wg200; + } + + public void setWg200(String wg200) { + this.wg200 = wg200; + } + + public String getWg300() { + return wg300; + } + + public void setWg300(String wg300) { + this.wg300 = wg300; + } + + public String getWg500() { + return wg500; + } + + public void setWg500(String wg500) { + this.wg500 = wg500; + } + + public Double getAccuracy() { + return accuracy; + } + + public void setAccuracy(Double accuracy) { + this.accuracy = accuracy; + } } diff --git a/src/main/java/com/yssh/entity/WarningDetail.java b/src/main/java/com/yssh/entity/WarningDetail.java index f2e2e71..b30abec 100644 --- a/src/main/java/com/yssh/entity/WarningDetail.java +++ b/src/main/java/com/yssh/entity/WarningDetail.java @@ -13,10 +13,20 @@ @Data @ToString -@NoArgsConstructor -@AllArgsConstructor @ApiModel(value="鎶ヨ/棰勮瀵硅薄", description="鎶ヨ/棰勮瀵硅薄") public class WarningDetail implements Serializable{ + public WarningDetail() { + } + + public WarningDetail(Long id, String tableName, String suYuanId, String locationName, Date createTime, Integer type, Double value) { + this.id = id; + this.tableName = tableName; + this.suYuanId = suYuanId; + this.locationName = locationName; + this.createTime = createTime; + this.type = type; + this.value = value; + } private static final long serialVersionUID = 1610250573910282005L; @ApiModelProperty(value = "涓婚敭") @@ -33,5 +43,60 @@ private Integer type; @ApiModelProperty(value = "鏁板��") private Double value; - + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getTableName() { + return tableName; + } + + public void setTableName(String tableName) { + this.tableName = tableName; + } + + public String getSuYuanId() { + return suYuanId; + } + + public void setSuYuanId(String suYuanId) { + this.suYuanId = suYuanId; + } + + public String getLocationName() { + return locationName; + } + + public void setLocationName(String locationName) { + this.locationName = locationName; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + public Double getValue() { + return value; + } + + public void setValue(Double value) { + this.value = value; + } } diff --git a/src/main/java/com/yssh/entity/Weather.java b/src/main/java/com/yssh/entity/Weather.java index cf677f3..f433771 100644 --- a/src/main/java/com/yssh/entity/Weather.java +++ b/src/main/java/com/yssh/entity/Weather.java @@ -26,4 +26,44 @@ private String weatherCondition; @ApiModelProperty(value = "姘旀俯") private String temperature; + + public String getTime() { + return time; + } + + public void setTime(String time) { + this.time = time; + } + + public String getWindSpeed() { + return windSpeed; + } + + public void setWindSpeed(String windSpeed) { + this.windSpeed = windSpeed; + } + + public String getWindDirection() { + return windDirection; + } + + public void setWindDirection(String windDirection) { + this.windDirection = windDirection; + } + + public String getWeatherCondition() { + return weatherCondition; + } + + public void setWeatherCondition(String weatherCondition) { + this.weatherCondition = weatherCondition; + } + + public String getTemperature() { + return temperature; + } + + public void setTemperature(String temperature) { + this.temperature = temperature; + } } diff --git a/src/main/java/com/yssh/entity/dto/YsshSuYuanX00UpdateBatchParam.java b/src/main/java/com/yssh/entity/dto/YsshSuYuanX00UpdateBatchParam.java index 7471341..57f0d9b 100644 --- a/src/main/java/com/yssh/entity/dto/YsshSuYuanX00UpdateBatchParam.java +++ b/src/main/java/com/yssh/entity/dto/YsshSuYuanX00UpdateBatchParam.java @@ -15,4 +15,20 @@ public class YsshSuYuanX00UpdateBatchParam { private String newName; private List<Integer> ids; + + public String getNewName() { + return newName; + } + + public void setNewName(String newName) { + this.newName = newName; + } + + public List<Integer> getIds() { + return ids; + } + + public void setIds(List<Integer> ids) { + this.ids = ids; + } } diff --git a/src/main/java/com/yssh/entity/vo/ForecastAnalyseVo.java b/src/main/java/com/yssh/entity/vo/ForecastAnalyseVo.java index 2269f0a..49d3d24 100644 --- a/src/main/java/com/yssh/entity/vo/ForecastAnalyseVo.java +++ b/src/main/java/com/yssh/entity/vo/ForecastAnalyseVo.java @@ -20,5 +20,28 @@ private Double practicalValue; @ApiModelProperty(value = "鏃堕棿") private Long time; - + + public Double getForecastValue() { + return forecastValue; + } + + public void setForecastValue(Double forecastValue) { + this.forecastValue = forecastValue; + } + + public Double getPracticalValue() { + return practicalValue; + } + + public void setPracticalValue(Double practicalValue) { + this.practicalValue = practicalValue; + } + + public Long getTime() { + return time; + } + + public void setTime(Long time) { + this.time = time; + } } diff --git a/src/main/java/com/yssh/entity/vo/WarningVo.java b/src/main/java/com/yssh/entity/vo/WarningVo.java index 012aba5..7156eab 100644 --- a/src/main/java/com/yssh/entity/vo/WarningVo.java +++ b/src/main/java/com/yssh/entity/vo/WarningVo.java @@ -12,11 +12,19 @@ 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) { + this.locationName = locationName; + this.suYuanId = suYuanId; + this.lon = lon; + this.lat = lat; + this.value = value; + } private static final long serialVersionUID = 3440478664982471286L; @ApiModelProperty(value = "鐐逛綅鍚嶇О") @@ -52,5 +60,16 @@ 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; + } } -- Gitblit v1.9.3