Mercurial > dive4elements > river
annotate artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthCalculationResult.java @ 8940:82998242ba84
Preparing for additional outputs of SINFO-Tkh
author | gernotbelger |
---|---|
date | Tue, 06 Mar 2018 18:51:18 +0100 |
parents | d9dbf0b74bc2 |
children | 5d5d482da3e9 |
rev | line source |
---|---|
8854 | 1 /* Copyright (C) 2017 by Bundesanstalt für Gewässerkunde |
8877 | 2 * Software engineering by |
3 * Björnsen Beratende Ingenieure GmbH | |
8854 | 4 * Dr. Schumacher Ingenieurbüro für Wasser und Umwelt |
5 * | |
6 * This file is Free Software under the GNU AGPL (>=v3) | |
7 * and comes with ABSOLUTELY NO WARRANTY! Check out the | |
8 * documentation coming with Dive4Elements River for details. | |
9 */ | |
10 package org.dive4elements.river.artifacts.sinfo.flowdepth; | |
11 | |
12 import java.util.Collection; | |
13 | |
8915
d9dbf0b74bc2
Refaktoring of flow depth calculation, extracting tkh part. First implementation of tkh calculation.
gernotbelger
parents:
8894
diff
changeset
|
14 import org.dive4elements.river.artifacts.sinfo.common.AbstractSInfoCalculationResult; |
8894 | 15 import org.dive4elements.river.artifacts.sinfo.util.BedHeightInfo; |
16 import org.dive4elements.river.artifacts.sinfo.util.WstInfo; | |
17 | |
8854 | 18 /** |
19 * Contains the results of a {@link FlowDepthCalculation}. | |
20 * | |
21 * @author Gernot Belger | |
22 */ | |
8915
d9dbf0b74bc2
Refaktoring of flow depth calculation, extracting tkh part. First implementation of tkh calculation.
gernotbelger
parents:
8894
diff
changeset
|
23 final class FlowDepthCalculationResult extends AbstractSInfoCalculationResult<FlowDepthRow> { |
8854 | 24 |
8877 | 25 private static final long serialVersionUID = 1L; |
8854 | 26 |
8877 | 27 private final BedHeightInfo sounding; |
28 | |
8915
d9dbf0b74bc2
Refaktoring of flow depth calculation, extracting tkh part. First implementation of tkh calculation.
gernotbelger
parents:
8894
diff
changeset
|
29 public FlowDepthCalculationResult(final String label, final WstInfo wst, final BedHeightInfo sounding, final boolean hasTkh, |
d9dbf0b74bc2
Refaktoring of flow depth calculation, extracting tkh part. First implementation of tkh calculation.
gernotbelger
parents:
8894
diff
changeset
|
30 final Collection<FlowDepthRow> rows) { |
d9dbf0b74bc2
Refaktoring of flow depth calculation, extracting tkh part. First implementation of tkh calculation.
gernotbelger
parents:
8894
diff
changeset
|
31 super(label, wst, hasTkh, rows); |
8877 | 32 |
8915
d9dbf0b74bc2
Refaktoring of flow depth calculation, extracting tkh part. First implementation of tkh calculation.
gernotbelger
parents:
8894
diff
changeset
|
33 this.sounding = sounding; |
8877 | 34 } |
35 | |
36 public BedHeightInfo getSounding() { | |
37 return this.sounding; | |
38 } | |
8854 | 39 } |