Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepthminmax/FlowDepthMinMaxCalculationResult.java @ 8948:a4f1ac81f26d
Work on SINFO-FlowDepthMinMax.
Also rework of result row stuff, in order to reduce abstraction, using result type concept
author | gernotbelger |
---|---|
date | Wed, 14 Mar 2018 14:10:32 +0100 |
parents | 5d5d482da3e9 |
children | b0aeed4c97c1 |
comparison
equal
deleted
inserted
replaced
8947:86650594f051 | 8948:a4f1ac81f26d |
---|---|
10 package org.dive4elements.river.artifacts.sinfo.flowdepthminmax; | 10 package org.dive4elements.river.artifacts.sinfo.flowdepthminmax; |
11 | 11 |
12 import java.util.Collection; | 12 import java.util.Collection; |
13 | 13 |
14 import org.dive4elements.river.artifacts.sinfo.common.AbstractSInfoCalculationResult; | 14 import org.dive4elements.river.artifacts.sinfo.common.AbstractSInfoCalculationResult; |
15 import org.dive4elements.river.artifacts.sinfo.common.SInfoResultRow; | |
15 import org.dive4elements.river.artifacts.sinfo.util.BedHeightInfo; | 16 import org.dive4elements.river.artifacts.sinfo.util.BedHeightInfo; |
16 import org.dive4elements.river.artifacts.sinfo.util.WstInfo; | 17 import org.dive4elements.river.artifacts.sinfo.util.WstInfo; |
17 | 18 |
18 /** | 19 /** |
19 * Contains the results of a {@link FlowDepthCalculation}. | 20 * Contains the results of a {@link FlowDepthCalculation}. |
20 * | 21 * |
21 * @author Gernot Belger | 22 * @author Gernot Belger |
22 */ | 23 */ |
23 final class FlowDepthMinMaxCalculationResult extends AbstractSInfoCalculationResult<FlowDepthMinMaxRow> { | 24 final class FlowDepthMinMaxCalculationResult extends AbstractSInfoCalculationResult { |
24 | 25 |
25 private static final long serialVersionUID = 1L; | 26 private static final long serialVersionUID = 1L; |
26 | 27 |
27 private final BedHeightInfo minSounding; | 28 private final BedHeightInfo minSounding; |
28 | 29 |
29 private final BedHeightInfo maxSounding; | 30 private final BedHeightInfo maxSounding; |
30 | 31 |
31 public FlowDepthMinMaxCalculationResult(final String label, final WstInfo wst, final BedHeightInfo minSounding, final BedHeightInfo maxSounding, | 32 public FlowDepthMinMaxCalculationResult(final String label, final WstInfo wst, final BedHeightInfo minSounding, final BedHeightInfo maxSounding, |
32 final Collection<FlowDepthMinMaxRow> rows) { | 33 final Collection<SInfoResultRow> rows) { |
33 super(label, wst, rows); | 34 super(label, wst, rows); |
34 | 35 |
35 this.minSounding = minSounding; | 36 this.minSounding = minSounding; |
36 this.maxSounding = maxSounding; | 37 this.maxSounding = maxSounding; |
37 } | 38 } |