From a9935306b55b60b24dd2a4c6aadd8f8ee433aecf Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期一, 23 九月 2024 10:54:58 +0800
Subject: [PATCH] 添加数据处理流程

---
 src/main/java/com/se/simu/domain/po/DataPo.java |   26 +++++++++++++++++++++-----
 1 files changed, 21 insertions(+), 5 deletions(-)

diff --git a/src/main/java/com/se/simu/domain/po/DataPo.java b/src/main/java/com/se/simu/domain/po/DataPo.java
index 281dc71..591ef0b 100644
--- a/src/main/java/com/se/simu/domain/po/DataPo.java
+++ b/src/main/java/com/se/simu/domain/po/DataPo.java
@@ -63,7 +63,20 @@
     @ApiModelProperty("闃叉睕鏈�澶")
     private Double floodMaxy;
 
+    @ApiModelProperty("鍧愭爣绯籌D")
+    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;
+    }
 }

--
Gitblit v1.9.3