dcb
2025-06-06 a2ee6e0dcdcfd9d1b8011a3cecb4e0fc4f6eeea3
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
package com.se.nsl.domain.dto;
 
import java.util.List;
 
@SuppressWarnings("ALL")
public class LayerDto {
    private String version;
 
    private String name; //生成json的名字,默认位layer.json
 
    private DurationDto duration;
 
    private ExtensionDto extension;
 
    private TerrainDto terrain;
 
    private WaterDto waters;
 
    private String waterUrl;
 
    private String flowUrl;
 
    public LayerDto() {
        this.name = "layer.json";
    }
 
    public LayerDto(String ver, int epsg, List<Integer> sizes) {
        this();
        this.version = ver;
        this.waters = new WaterDto();
        this.duration = new DurationDto();
        this.terrain = new TerrainDto(sizes);
        this.terrain.setEpsg(epsg + "");
    }
 
    public String getVersion() {
        return version;
    }
 
    public void setVersion(String version) {
        this.version = version;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public DurationDto getDuration() {
        return duration;
    }
 
    public void setDuration(DurationDto duration) {
        this.duration = duration;
    }
 
    public ExtensionDto getExtension() {
        return extension;
    }
 
    public void setExtension(ExtensionDto extension) {
        this.extension = extension;
    }
 
    public TerrainDto getTerrain() {
        return terrain;
    }
 
    public void setTerrain(TerrainDto terrain) {
        this.terrain = terrain;
    }
 
    public WaterDto getWaters() {
        return waters;
    }
 
    public void setWaters(WaterDto waters) {
        this.waters = waters;
    }
 
    public String getWaterUrl() {
        return waterUrl;
    }
 
    public void setWaterUrl(String waterUrl) {
        this.waterUrl = waterUrl;
    }
 
    public String getFlowUrl() {
        return flowUrl;
    }
 
    public void setFlowUrl(String flowUrl) {
        this.flowUrl = flowUrl;
    }
}