1
13693261870
2024-09-30 b2b9e959447664bceb4381630358230a2ee5a1ab
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
package com.se.simu.domain.po;
 
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
 
import java.util.Date;
 
/**
 * 仿真数据实体类
 *
 * @author WWW
 * @date 2024-09-18
 */
public class DataPo {
    @ApiModelProperty("父ID")
    private Integer pid;
 
    @ApiModelProperty("名称")
    private String name;
 
    @ApiModelProperty("输入路径")
    private String inPath;
 
    @ApiModelProperty("输出路径")
    private String outPath;
 
    @ApiModelProperty("开始时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;
 
    @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("防汛高度(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;
 
    @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 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 Integer getPid() {
        return pid;
    }
 
    public void setPid(Integer pid) {
        this.pid = pid;
    }
 
    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 Date getStartTime() {
        return startTime;
    }
 
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }
 
    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 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;
    }
 
    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;
    }
 
    public Integer getEpsg() {
        return epsg;
    }
 
    public void setEpsg(Integer epsg) {
        this.epsg = epsg;
    }
}