| | |
| | | |
| | | import com.moon.server.helper.WebHelper; |
| | | |
| | | import java.io.DataOutput; |
| | | import java.io.Serializable; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | |
| | | |
| | | public AnalysisResultEntity() { |
| | | this.code = 200; |
| | | this.minList = new ArrayList<>(); |
| | | this.avgList = new ArrayList<>(); |
| | | this.maxList = new ArrayList<>(); |
| | | this.points = new ArrayList<>(); |
| | | } |
| | | |
| | |
| | | this.points.add(point); |
| | | } |
| | | |
| | | /** |
| | | * 添加Band值 |
| | | */ |
| | | public void addBandVals(double min, double avg, double max) { |
| | | this.minList.add(WebHelper.round(min, 3)); |
| | | this.avgList.add(WebHelper.round(avg, 3)); |
| | | this.maxList.add(WebHelper.round(max, 3)); |
| | | } |
| | | |
| | | private String layerName; |
| | | |
| | | private Double min; |
| | | private List<Double> minList; |
| | | |
| | | private Double avg; |
| | | private List<Double> avgList; |
| | | |
| | | private Double max; |
| | | private List<Double> maxList; |
| | | |
| | | private int code; |
| | | |
| | |
| | | this.layerName = layerName; |
| | | } |
| | | |
| | | public Double getMin() { |
| | | return min; |
| | | public List<Double> getMinList() { |
| | | return minList; |
| | | } |
| | | |
| | | public void setMin(Double min) { |
| | | this.min = WebHelper.round(min, 3); |
| | | public void setMinList(List<Double> minList) { |
| | | this.minList = minList; |
| | | } |
| | | |
| | | public Double getAvg() { |
| | | return avg; |
| | | public List<Double> getAvgList() { |
| | | return avgList; |
| | | } |
| | | |
| | | public void setAvg(Double avg) { |
| | | this.avg = avg; |
| | | public void setAvgList(List<Double> avgList) { |
| | | this.avgList = avgList; |
| | | } |
| | | |
| | | public Double getMax() { |
| | | return max; |
| | | public List<Double> getMaxList() { |
| | | return maxList; |
| | | } |
| | | |
| | | public void setMax(Double max) { |
| | | this.max = max; |
| | | public void setMaxList(List<Double> maxList) { |
| | | this.maxList = maxList; |
| | | } |
| | | |
| | | public int getCode() { |