13693261870
2024-09-23 a9935306b55b60b24dd2a4c6aadd8f8ee433aecf
src/main/java/com/se/simu/domain/po/DataPo.java
@@ -63,7 +63,20 @@
    @ApiModelProperty("防汛最大Y")
    private Double floodMaxy;
    @ApiModelProperty("坐标系ID")
    private Integer epsg;
    public DataPo() {
    }
    public void setPath(String inPath, String outPath) {
        this.inPath = inPath;
        this.outPath = outPath;
    }
    public String getBbox() {
        // "116.64388473935195,39.884315914604464,116.64754729082588,39.887069143903496";
        return minx + "," + miny + "," + maxx + "," + maxy;
    }
    public DataPo(String name, String inPath, String outPath, Double total, Integer duration, Integer isFlood) {
@@ -85,11 +98,6 @@
        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) {
@@ -264,4 +272,12 @@
    public void setFloodMaxy(Double floodMaxy) {
        this.floodMaxy = floodMaxy;
    }
    public Integer getEpsg() {
        return epsg;
    }
    public void setEpsg(Integer epsg) {
        this.epsg = epsg;
    }
}