月球大数据地理空间分析展示平台-【后端】-月球后台服务
13693261870
2023-09-14 236b037b0d8d2673bb8f1f00013983459c6e669c
src/main/java/com/moon/server/entity/data/AnalysisResultEntity.java
@@ -23,8 +23,8 @@
    /**
     * 添加点
     */
    public void addPoint(Double x, Double y, Double val) {
        Point point = new Point(x, y, val);
    public void addPoint(Double x, Double y, List<Double> vals) {
        Point point = new Point(x, y, vals);
        this.points.add(point);
    }
@@ -63,7 +63,7 @@
    }
    public void setAvg(Double avg) {
        this.avg = WebHelper.round(avg, 3);
        this.avg = avg;
    }
    public Double getMax() {
@@ -71,7 +71,7 @@
    }
    public void setMax(Double max) {
        this.max = WebHelper.round(max, 3);
        this.max = max;
    }
    public int getCode() {
@@ -90,20 +90,28 @@
        this.info = info;
    }
    public class Point {
    public List<Point> getPoints() {
        return points;
    }
    public void setPoints(List<Point> points) {
        this.points = points;
    }
    public static class Point {
        private Double x;
        private Double y;
        private Double val;
        private List<Double> vals;
        public Point() {
        }
        public Point(Double x, Double y, Double val) {
        public Point(Double x, Double y, List<Double> vals) {
            this.x = x;
            this.y = y;
            this.val = val;
            this.vals = vals;
        }
        public Double getX() {
@@ -122,12 +130,12 @@
            this.y = y;
        }
        public Double getVal() {
            return val;
        public List<Double> getVals() {
            return vals;
        }
        public void setVal(Double val) {
            this.val = val;
        public void setVals(List<Double> vals) {
            this.vals = vals;
        }
    }
}