8854
|
1 /** Copyright (C) 2017 by Bundesanstalt für Gewässerkunde |
8882
|
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 |
8894
|
12 import org.apache.commons.lang.math.DoubleRange; |
8916
|
13 import org.dive4elements.river.artifacts.sinfo.common.AbstractSInfoCalculationResults; |
8894
|
14 import org.dive4elements.river.artifacts.sinfo.util.RiverInfo; |
8854
|
15 |
|
16 /** |
|
17 * @author Gernot Belger |
|
18 */ |
8916
|
19 final class FlowDepthCalculationResults extends AbstractSInfoCalculationResults<FlowDepthRow, FlowDepthCalculationResult> { |
|
20 |
8884
|
21 private static final long serialVersionUID = 1L; |
|
22 |
8894
|
23 private final boolean useTkh; |
|
24 |
|
25 public FlowDepthCalculationResults(final String calcModeLabel, final String user, final RiverInfo river, final DoubleRange calcRange, |
|
26 final boolean useTkh) { |
8916
|
27 super(calcModeLabel, user, river, calcRange); |
8882
|
28 |
8916
|
29 this.useTkh = useTkh; |
8882
|
30 } |
|
31 |
|
32 public boolean isUseTkh() { |
|
33 return this.useTkh; |
|
34 } |
8894
|
35 } |