月球大数据地理空间分析展示平台-【后端】-月球后台服务
13693261870
2023-09-15 b05352cd656b55aadba4ac4326a29fdda2107108
src/main/java/com/moon/server/entity/shujian/CreateLayerEntity.java
@@ -106,7 +106,7 @@
        private String tile_rgb;
        /**
         * 图层类型。0:普通,1:DEM图层
         * 图层类型。0:普通,1:DEM图层,2:自定义
         */
        private Integer type;
@@ -144,6 +144,22 @@
         * 拉伸因子,配合 enhance_factor使用
         */
        private Double enhance_factor;
        private Integer image_type = -1;
        private Integer sat_id = -1;
        private Integer sensor_id = -1;
        //private Integer pub_status = 0;
        private String type_i = "";
        private String type_ii = "";
        private String type_iii = "";
        private String type_iv = "";
        /**
         * 边界计算方式 0外包,1, 内接, 2 精准
@@ -272,6 +288,62 @@
        public void setBoundary_cal_mode(Integer boundary_cal_mode) {
            this.boundary_cal_mode = boundary_cal_mode;
        }
        public Integer getImage_type() {
            return image_type;
        }
        public void setImage_type(Integer image_type) {
            this.image_type = image_type;
        }
        public Integer getSat_id() {
            return sat_id;
        }
        public void setSat_id(Integer sat_id) {
            this.sat_id = sat_id;
        }
        public Integer getSensor_id() {
            return sensor_id;
        }
        public void setSensor_id(Integer sensor_id) {
            this.sensor_id = sensor_id;
        }
        public String getType_i() {
            return type_i;
        }
        public void setType_i(String type_i) {
            this.type_i = type_i;
        }
        public String getType_ii() {
            return type_ii;
        }
        public void setType_ii(String type_ii) {
            this.type_ii = type_ii;
        }
        public String getType_iii() {
            return type_iii;
        }
        public void setType_iii(String type_iii) {
            this.type_iii = type_iii;
        }
        public String getType_iv() {
            return type_iv;
        }
        public void setType_iv(String type_iv) {
            this.type_iv = type_iv;
        }
    }
@@ -423,8 +495,8 @@
        private List<Process> online_process;
        public Config(Integer colorTableId ,Integer type, List<?> levels) {
            Process process = new Process(colorTableId,type, levels);
        public Config(Integer colorTableId, Integer type, List<?> levels) {
            Process process = new Process(colorTableId, type, levels);
            this.online_process = new ArrayList<>();
            this.online_process.add(process);
@@ -475,14 +547,14 @@
         * @param type   0-默认色板,1-渐变色板
         * @param levels 层级
         */
        public Process(Integer colorTableId ,Integer type, List<?> levels) {
        public Process(Integer colorTableId, Integer type, List<?> levels) {
            this();
            this.color_table_id = colorTableId;
            this.config.put("type", type);
            this.config.put("levels", levels);
            if (type > 0) {
                this. config.put("gradation", "visibility");
                this.config.put("gradation", "visibility");
            }
        }