From e9c5d9484336770c3fb8076a82dbbd85c363ddd2 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期二, 08 十月 2024 17:11:42 +0800
Subject: [PATCH] 11

---
 src/main/java/com/se/simu/domain/dto/LayerDto.java |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/main/java/com/se/simu/domain/dto/LayerDto.java b/src/main/java/com/se/simu/domain/dto/LayerDto.java
index d8076bc..b5afe43 100644
--- a/src/main/java/com/se/simu/domain/dto/LayerDto.java
+++ b/src/main/java/com/se/simu/domain/dto/LayerDto.java
@@ -1,5 +1,7 @@
 package com.se.simu.domain.dto;
 
+import java.util.List;
+
 /**
  * 鍥惧眰瀹炰綋绫�
  *
@@ -18,14 +20,14 @@
     private WaterDto waters;
 
     public LayerDto() {
-        this.duration = new DurationDto();
-        this.terrain = new TerrainDto();
-        this.waters = new WaterDto();
     }
 
-    public LayerDto(String ver) {
-        this();
+    public LayerDto(String ver, int epsg, List<Integer> sizes) {
         this.version = ver;
+        this.waters = new WaterDto();
+        this.duration = new DurationDto();
+        this.terrain = new TerrainDto(sizes);
+        this.terrain.setEpsg(epsg + "");
     }
 
     public String getVersion() {

--
Gitblit v1.9.3