Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flood_duration/FloodDurationState.java @ 9215:0fc9c82e744e
work on collison, flood_duration
author | gernotbelger |
---|---|
date | Tue, 03 Jul 2018 17:00:48 +0200 |
parents | 3dae6b78e1da |
children | 0dcd1cd41915 |
comparison
equal
deleted
inserted
replaced
9214:091fd9676496 | 9215:0fc9c82e744e |
---|---|
19 import org.dive4elements.river.artifacts.model.DataFacet; | 19 import org.dive4elements.river.artifacts.model.DataFacet; |
20 import org.dive4elements.river.artifacts.model.EmptyFacet; | 20 import org.dive4elements.river.artifacts.model.EmptyFacet; |
21 import org.dive4elements.river.artifacts.model.FacetTypes; | 21 import org.dive4elements.river.artifacts.model.FacetTypes; |
22 import org.dive4elements.river.artifacts.model.ReportFacet; | 22 import org.dive4elements.river.artifacts.model.ReportFacet; |
23 import org.dive4elements.river.artifacts.sinfo.SINFOArtifact; | 23 import org.dive4elements.river.artifacts.sinfo.SINFOArtifact; |
24 import org.dive4elements.river.artifacts.sinfo.common.FloodDurationProcessor; | |
25 import org.dive4elements.river.artifacts.sinfo.common.FloodHeightProcessor; | |
26 import org.dive4elements.river.artifacts.states.DefaultState; | 24 import org.dive4elements.river.artifacts.states.DefaultState; |
27 | 25 |
28 /** | 26 /** |
29 * Last state of the S-Info flood duration workflow that calculates and outputs the result | 27 * Last state of the S-Info flood duration workflow that calculates and outputs the result |
30 */ | 28 */ |
89 for (int j = 0; j < waterlevelCount; j++) { | 87 for (int j = 0; j < waterlevelCount; j++) { |
90 | 88 |
91 final String waterlevelLabel = result.getMainValueLabel(j); | 89 final String waterlevelLabel = result.getMainValueLabel(j); |
92 // FIXME: use label as label for theme | 90 // FIXME: use label as label for theme |
93 | 91 |
92 // final int facetIndex, final int resultIndex, final int dataIndex | |
94 facets.add(FloodDurationProcessor.createMainValueDurationFacet(context, hash, this.id, result, themeCount, resultIndex, j)); | 93 facets.add(FloodDurationProcessor.createMainValueDurationFacet(context, hash, this.id, result, themeCount, resultIndex, j)); |
95 facets.add(FloodHeightProcessor.createMainValueHeightFacet(context, hash, this.id, result, themeCount, resultIndex, j)); | 94 facets.add(FloodHeightProcessor.createMainValueHeightFacet(context, hash, this.id, result, themeCount, resultIndex, j)); |
96 | 95 |
97 themeCount++; | 96 themeCount++; |
98 } | 97 } |