Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/predefineddepthevol/PredefinedDepthEvolFacet.java @ 9195:a4121ec450d6
'ca.'-issue
ExportContextCSV+PDF separated
uinfo.inundationduration url export
author | gernotbelger |
---|---|
date | Fri, 29 Jun 2018 14:52:54 +0200 |
parents | 384eee4b4135 |
children |
comparison
equal
deleted
inserted
replaced
9191:f692f5a0536a | 9195:a4121ec450d6 |
---|---|
15 import java.util.List; | 15 import java.util.List; |
16 | 16 |
17 import org.dive4elements.artifacts.Artifact; | 17 import org.dive4elements.artifacts.Artifact; |
18 import org.dive4elements.artifacts.CallContext; | 18 import org.dive4elements.artifacts.CallContext; |
19 import org.dive4elements.river.artifacts.D4EArtifact; | 19 import org.dive4elements.river.artifacts.D4EArtifact; |
20 import org.dive4elements.river.artifacts.common.DefaultCalculationResult; | |
20 import org.dive4elements.river.artifacts.common.GeneralResultType; | 21 import org.dive4elements.river.artifacts.common.GeneralResultType; |
21 import org.dive4elements.river.artifacts.common.ResultRow; | 22 import org.dive4elements.river.artifacts.common.ResultRow; |
22 import org.dive4elements.river.artifacts.model.BlackboardDataFacet; | 23 import org.dive4elements.river.artifacts.model.BlackboardDataFacet; |
23 import org.dive4elements.river.artifacts.model.FacetTypes; | 24 import org.dive4elements.river.artifacts.model.FacetTypes; |
24 import org.dive4elements.river.artifacts.sinfo.common.SInfoResultType; | 25 import org.dive4elements.river.artifacts.sinfo.common.SInfoResultType; |
62 for (final DepthEvolutionValue value : values) { | 63 for (final DepthEvolutionValue value : values) { |
63 rows.add(ResultRow.create().putValue(GeneralResultType.station, value.getStation()) // | 64 rows.add(ResultRow.create().putValue(GeneralResultType.station, value.getStation()) // |
64 .putValue(SInfoResultType.flowdepthDevelopment, value.getTotalChangeCm()) // | 65 .putValue(SInfoResultType.flowdepthDevelopment, value.getTotalChangeCm()) // |
65 .putValue(SInfoResultType.flowdepthDevelopmentPerYear, value.getPerYearChangeCm())); | 66 .putValue(SInfoResultType.flowdepthDevelopmentPerYear, value.getPerYearChangeCm())); |
66 } | 67 } |
67 return new PredefinedDepthEvolQueryCalculationResult(series.getFilename(), rows); | 68 return new DefaultCalculationResult(series.getFilename(), rows); |
68 } | 69 } |
69 | 70 |
70 /** | 71 /** |
71 * Create a deep copy of this Facet. | 72 * Create a deep copy of this Facet. |
72 * | 73 * |