package com.se.simu.domain.po;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
/**
|
* 仿真数据实体类
|
*
|
* @author WWW
|
* @date 2024-09-18
|
*/
|
public class DataPo {
|
@ApiModelProperty("名称")
|
private String name;
|
|
@ApiModelProperty("输入路径")
|
private String inPath;
|
|
@ApiModelProperty("输出路径")
|
private String outPath;
|
|
@ApiModelProperty("最小X")
|
private Double minx;
|
|
@ApiModelProperty("最小Y")
|
private Double miny;
|
|
@ApiModelProperty("最大X")
|
private Double maxx;
|
|
@ApiModelProperty("最大Y")
|
private Double maxy;
|
|
@ApiModelProperty("降雨量(mm)")
|
private Double total;
|
|
@ApiModelProperty("时长(min)")
|
private Integer duration;
|
|
@ApiModelProperty("是否为防汛(0-否,1-是)")
|
private Integer isFlood;
|
|
@ApiModelProperty("防汛开始时间(秒)")
|
private Integer floodStart;
|
|
@ApiModelProperty("防汛结束时间(秒)")
|
private Integer floodEnd;
|
|
@ApiModelProperty("防汛高度(mm)")
|
private Double floodHeight;
|
|
@ApiModelProperty("防汛类型(沙袋,防水板)")
|
private String floodType;
|
|
@ApiModelProperty("防汛最小X")
|
private Double floodMinx;
|
|
@ApiModelProperty("防汛最小Y")
|
private Double floodMiny;
|
|
@ApiModelProperty("防汛最大X")
|
private Double floodMaxx;
|
|
@ApiModelProperty("防汛最大Y")
|
private Double floodMaxy;
|
|
public DataPo() {
|
}
|
|
public DataPo(String name, String inPath, String outPath, Double total, Integer duration, Integer isFlood) {
|
this.name = name;
|
this.inPath = inPath;
|
this.outPath = outPath;
|
this.total = total;
|
this.duration = duration;
|
this.isFlood = isFlood;
|
}
|
|
public DataPo(String name, String inPath, String outPath, Double minx, Double miny, Double maxx, Double maxy, Double total, Integer duration) {
|
this.name = name;
|
this.inPath = inPath;
|
this.outPath = outPath;
|
this.minx = minx;
|
this.miny = miny;
|
this.maxx = maxx;
|
this.maxy = maxy;
|
this.total = total;
|
this.duration = duration;
|
}
|
|
public void setPath(String inPath, String outPath) {
|
this.inPath = inPath;
|
this.outPath = outPath;
|
}
|
|
public boolean setExtent(Double minx, Double miny, Double maxx, Double maxy) {
|
this.minx = minx;
|
this.miny = miny;
|
this.maxx = maxx;
|
this.maxy = maxy;
|
|
return true;
|
}
|
|
public boolean setFlood(Integer floodStart, Integer floodEnd, Double floodHeight, String floodType) {
|
this.isFlood = 1;
|
this.floodStart = floodStart;
|
this.floodEnd = floodEnd;
|
this.floodHeight = floodHeight;
|
this.floodType = floodType;
|
|
return true;
|
}
|
|
public boolean setFloodExtent(Double floodMinx, Double floodMiny, Double floodMaxx, Double floodMaxy) {
|
this.isFlood = 1;
|
this.floodMinx = floodMinx;
|
this.floodMiny = floodMiny;
|
this.floodMaxx = floodMaxx;
|
this.floodMaxy = floodMaxy;
|
|
return true;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getInPath() {
|
return inPath;
|
}
|
|
public void setInPath(String inPath) {
|
this.inPath = inPath;
|
}
|
|
public String getOutPath() {
|
return outPath;
|
}
|
|
public void setOutPath(String outPath) {
|
this.outPath = outPath;
|
}
|
|
public Double getMinx() {
|
return minx;
|
}
|
|
public void setMinx(Double minx) {
|
this.minx = minx;
|
}
|
|
public Double getMiny() {
|
return miny;
|
}
|
|
public void setMiny(Double miny) {
|
this.miny = miny;
|
}
|
|
public Double getMaxx() {
|
return maxx;
|
}
|
|
public void setMaxx(Double maxx) {
|
this.maxx = maxx;
|
}
|
|
public Double getMaxy() {
|
return maxy;
|
}
|
|
public void setMaxy(Double maxy) {
|
this.maxy = maxy;
|
}
|
|
public Double getTotal() {
|
return total;
|
}
|
|
public void setTotal(Double total) {
|
this.total = total;
|
}
|
|
public Integer getDuration() {
|
return duration;
|
}
|
|
public void setDuration(Integer duration) {
|
this.duration = duration;
|
}
|
|
public Integer getIsFlood() {
|
return isFlood;
|
}
|
|
public void setIsFlood(Integer isFlood) {
|
this.isFlood = isFlood;
|
}
|
|
public Integer getFloodStart() {
|
return floodStart;
|
}
|
|
public void setFloodStart(Integer floodStart) {
|
this.floodStart = floodStart;
|
}
|
|
public Integer getFloodEnd() {
|
return floodEnd;
|
}
|
|
public void setFloodEnd(Integer floodEnd) {
|
this.floodEnd = floodEnd;
|
}
|
|
public Double getFloodHeight() {
|
return floodHeight;
|
}
|
|
public void setFloodHeight(Double floodHeight) {
|
this.floodHeight = floodHeight;
|
}
|
|
public String getFloodType() {
|
return floodType;
|
}
|
|
public void setFloodType(String floodType) {
|
this.floodType = floodType;
|
}
|
|
public Double getFloodMinx() {
|
return floodMinx;
|
}
|
|
public void setFloodMinx(Double floodMinx) {
|
this.floodMinx = floodMinx;
|
}
|
|
public Double getFloodMiny() {
|
return floodMiny;
|
}
|
|
public void setFloodMiny(Double floodMiny) {
|
this.floodMiny = floodMiny;
|
}
|
|
public Double getFloodMaxx() {
|
return floodMaxx;
|
}
|
|
public void setFloodMaxx(Double floodMaxx) {
|
this.floodMaxx = floodMaxx;
|
}
|
|
public Double getFloodMaxy() {
|
return floodMaxy;
|
}
|
|
public void setFloodMaxy(Double floodMaxy) {
|
this.floodMaxy = floodMaxy;
|
}
|
}
|