¶Ô±ÈÐÂÎļþ |
| | |
| | | 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("鲿±èå´(minx,miny,maxx,maxy)") |
| | | private String floodBbox; |
| | | |
| | | @ApiModelProperty("鲿±é«åº¦(mm)") |
| | | private Double floodHeight; |
| | | |
| | | @ApiModelProperty("鲿±ç±»å(æ²è¢ï¼é²æ°´æ¿)") |
| | | private String floodType; |
| | | |
| | | 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 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 DataPo(Integer floodStart, Integer floodEnd, Double minx, Double miny, Double maxx, Double maxy, Double floodHeight, String floodType) { |
| | | this.isFlood = 1; |
| | | this.floodStart = floodStart; |
| | | this.floodEnd = floodEnd; |
| | | this.floodBbox = minx + "," + miny + "," + maxx + "," + maxy; |
| | | this.floodHeight = floodHeight; |
| | | this.floodType = floodType; |
| | | } |
| | | |
| | | public boolean setFloodExtent(Double minx, Double miny, Double maxx, Double maxy) { |
| | | this.isFlood = 1; |
| | | this.floodBbox = minx + "," + miny + "," + maxx + "," + maxy; |
| | | |
| | | 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 String getFloodBbox() { |
| | | return floodBbox; |
| | | } |
| | | |
| | | public void setFloodBbox(String floodBbox) { |
| | | this.floodBbox = floodBbox; |
| | | } |
| | | |
| | | 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; |
| | | } |
| | | } |