dcb
2025-07-01 f31f0991c0d2036e563b886f57de4cf45d3c72cb
src/main/java/com/se/nsl/domain/vo/ConfigVo.java
@@ -9,7 +9,7 @@
    private String landuse;
    private int station;
    private Object station;
    private Integer kSt;
@@ -29,6 +29,8 @@
    private Boolean variable_dt;
    private double evaporation;
    private ResultVo result;
    public ConfigVo() {
@@ -44,11 +46,12 @@
        this.infiltration = "case1/landuse_to_infiltration.dat";
        this.dt = 0.1;
        this.variable_dt = true;
        this.evaporation = 0;
    }
    public ConfigVo(String terrain, String landuse, String station,
                    String raingage, String saveName, int duration,
                    int frames, String saveMode) {
                    int frames, String saveMode, String startTime) {
        this();
//        this.terrain.set(0, terrain.replace("\\", "/")); // 地形高程数据
@@ -60,7 +63,7 @@
        this.raingage = Arrays.asList(raingage, "mm/min");
        this.duration = duration;
        int saveInterval = duration / frames - 5; // 修订最后一帧可能为空数据
        this.result = new ResultVo(saveName, frames, saveInterval, saveMode);
        this.result = new ResultVo(saveName, frames, saveInterval, saveMode, startTime);
    }
    public String getTerrain() {
@@ -79,11 +82,11 @@
        this.landuse = landuse;
    }
    public int getStation() {
    public Object getStation() {
        return station;
    }
    public void setStation(int station) {
    public void setStation(Object station) {
        this.station = station;
    }
@@ -166,4 +169,12 @@
    public void setResult(ResultVo result) {
        this.result = result;
    }
    public double getEvaporation() {
        return evaporation;
    }
    public void setEvaporation(double evaporation) {
        this.evaporation = evaporation;
    }
}