| | |
| | | @ApiModelProperty("防汛结束时间(秒)") |
| | | private Integer floodEnd; |
| | | |
| | | @ApiModelProperty("防汛范围(minx,miny,maxx,maxy)") |
| | | private String floodBbox; |
| | | |
| | | @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() { |
| | | } |
| | |
| | | return true; |
| | | } |
| | | |
| | | public DataPo(Integer floodStart, Integer floodEnd, Double minx, Double miny, Double maxx, Double maxy, Double floodHeight, String floodType) { |
| | | public boolean setFlood(Integer floodStart, Integer floodEnd, 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; |
| | | |
| | | return true; |
| | | } |
| | | |
| | | public boolean setFloodExtent(Double minx, Double miny, Double maxx, Double maxy) { |
| | | public boolean setFloodExtent(Double floodMinx, Double floodMiny, Double floodMaxx, Double floodMaxy) { |
| | | this.isFlood = 1; |
| | | this.floodBbox = minx + "," + miny + "," + maxx + "," + maxy; |
| | | this.floodMinx = floodMinx; |
| | | this.floodMiny = floodMiny; |
| | | this.floodMaxx = floodMaxx; |
| | | this.floodMaxy = floodMaxy; |
| | | |
| | | return true; |
| | | } |
| | |
| | | this.floodEnd = floodEnd; |
| | | } |
| | | |
| | | public String getFloodBbox() { |
| | | return floodBbox; |
| | | } |
| | | |
| | | public void setFloodBbox(String floodBbox) { |
| | | this.floodBbox = floodBbox; |
| | | } |
| | | |
| | | public Double getFloodHeight() { |
| | | return floodHeight; |
| | | } |
| | |
| | | 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; |
| | | } |
| | | } |