Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/vegetationzones/VegetationZonesCalculation.java @ 9260:b570b6fcc052
VegetationZone color added and disabled
author | gernotbelger |
---|---|
date | Tue, 17 Jul 2018 10:59:27 +0200 |
parents | 431f1c269be5 |
children | b3d3c958a594 |
comparison
equal
deleted
inserted
replaced
9259:66b003701546 | 9260:b570b6fcc052 |
---|---|
55 final Collection<ResultRow> rows = new ArrayList<>(); | 55 final Collection<ResultRow> rows = new ArrayList<>(); |
56 for (final VegetationZone zone : helpers) { | 56 for (final VegetationZone zone : helpers) { |
57 final ResultRow row2 = ResultRow.create().// | 57 final ResultRow row2 = ResultRow.create().// |
58 putValue(UInfoResultType.vegname, zone.getZoneName()).// | 58 putValue(UInfoResultType.vegname, zone.getZoneName()).// |
59 putValue(UInfoResultType.vegdauervon, zone.getMin_day_overflow()).// | 59 putValue(UInfoResultType.vegdauervon, zone.getMin_day_overflow()).// |
60 putValue(UInfoResultType.vegdauerbis, zone.getMax_day_overflow()); | 60 putValue(UInfoResultType.vegdauerbis, zone.getMax_day_overflow()).// |
61 putValue(UInfoResultType.vegzone_color, zone.getHexColor()); | |
61 rows.add(row2); | 62 rows.add(row2); |
62 } | 63 } |
63 | 64 |
64 final VegetationZonesCalculationResult result = new VegetationZonesCalculationResult("Ergebnis 1", rows); | 65 final VegetationZonesCalculationResult result = new VegetationZonesCalculationResult("Ergebnis 1", rows); |
65 | 66 |