| | |
| | | @ApiModelProperty("雨量计列表") |
| | | private List<RainGauge> gauges; |
| | | |
| | | @ApiModelProperty("降雨列表") |
| | | private List<Rainfall> rainfalls; |
| | | |
| | | public SimuData() { |
| | | gauges = new ArrayList<>(); |
| | | rainfalls = new ArrayList<>(); |
| | | } |
| | | |
| | | public SimuData(String inPath, String outPath, Date startTime, Double minx, Double miny, Double maxx, Double maxy, Integer epsg, Integer type, Double total, Integer duration, Double intensity) { |
| | |
| | | |
| | | public SpatialReference getSpatialReference() { |
| | | return GdalHelper.createSpatialReference(this.getEpsg()); |
| | | } |
| | | |
| | | public void setEnvelope(double[] envelope) { |
| | | this.minx = envelope[0]; |
| | | this.maxx = envelope[1]; |
| | | this.miny = envelope[2]; |
| | | this.maxy = envelope[3]; |
| | | } |
| | | |
| | | public String getInPath() { |
| | |
| | | public void setGauges(List<RainGauge> gauges) { |
| | | this.gauges = gauges; |
| | | } |
| | | |
| | | public List<Rainfall> getRainfalls() { |
| | | return rainfalls; |
| | | } |
| | | |
| | | public void setRainfalls(List<Rainfall> rainfalls) { |
| | | this.rainfalls = rainfalls; |
| | | } |
| | | } |