Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/vegetationzones/VegetationZonesCalculation.java @ 9506:8b7bf26b8782
Predefined artifact for standard vegetation zones.
Some minor adaptions.
author | gernotbelger |
---|---|
date | Fri, 28 Sep 2018 13:44:12 +0200 |
parents | e2da9c8a7c57 |
children |
comparison
equal
deleted
inserted
replaced
9505:3f230fe8eb19 | 9506:8b7bf26b8782 |
---|---|
60 putValue(UInfoResultType.vegdauerbis, zone.getMax_day_overflow()).// | 60 putValue(UInfoResultType.vegdauerbis, zone.getMax_day_overflow()).// |
61 putValue(UInfoResultType.vegzone_color, zone.getHexColor()); | 61 putValue(UInfoResultType.vegzone_color, zone.getHexColor()); |
62 rows.add(row2); | 62 rows.add(row2); |
63 } | 63 } |
64 | 64 |
65 final VegetationZonesCalculationResult result = new VegetationZonesCalculationResult("Ergebnis 1", rows); | 65 final String label = String.format("%.3f - %.3f", calcRange.getMinimumDouble(), calcRange.getMaximumDouble()); |
66 | |
67 final VegetationZonesCalculationResult result = new VegetationZonesCalculationResult(label, rows); | |
66 | 68 |
67 results.addResult(result, problems); | 69 results.addResult(result, problems); |
68 | 70 |
69 return new CalculationResult(results, problems); | 71 return new CalculationResult(results, problems); |
70 } | 72 } |