Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/common/AbstractTkhResultRow.java @ 8946:5d5d482da3e9
Implementing SINFO - FlowDepthMinMax calculation
author | gernotbelger |
---|---|
date | Tue, 13 Mar 2018 18:49:33 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
8945:4a6b6a3c279c | 8946:5d5d482da3e9 |
---|---|
1 /** Copyright (C) 2017 by Bundesanstalt für Gewässerkunde | |
2 * Software engineering by | |
3 * Björnsen Beratende Ingenieure GmbH | |
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.common; | |
11 | |
12 import org.dive4elements.river.artifacts.sinfo.tkhcalculation.SoilKind; | |
13 import org.dive4elements.river.artifacts.sinfo.tkhcalculation.Tkh; | |
14 | |
15 /** | |
16 * Contains common result data of flow-depth- and tkh-calculations. | |
17 * | |
18 * @author Gernot Belger | |
19 */ | |
20 public abstract class AbstractTkhResultRow extends AbstractSInfoResultRow { | |
21 private static final long serialVersionUID = 1L; | |
22 | |
23 private final Tkh tkh; | |
24 | |
25 public AbstractTkhResultRow(final Tkh tkh, final String waterlevelLabel, final String gauge, final String location) { | |
26 super(waterlevelLabel, gauge, location); | |
27 this.tkh = tkh; | |
28 } | |
29 | |
30 public final double getStation() { | |
31 return this.tkh.getStation(); | |
32 } | |
33 | |
34 public final SoilKind getTkhKind() { | |
35 return this.tkh.getKind(); | |
36 } | |
37 | |
38 public final double getTkh() { | |
39 return this.tkh.getTkh(); | |
40 } | |
41 | |
42 public final double getTkhUp() { | |
43 return this.tkh.getUp(); | |
44 } | |
45 | |
46 public final double getTkhDown() { | |
47 return this.tkh.getDown(); | |
48 } | |
49 | |
50 public final double getWaterlevel() { | |
51 return this.tkh.getWaterlevel(); | |
52 } | |
53 | |
54 public final double getDischarge() { | |
55 return this.tkh.getDischarge(); | |
56 } | |
57 | |
58 public final double getMeanBedHeight() { | |
59 return this.tkh.getMeanBedHeight(); | |
60 } | |
61 | |
62 public final double getFlowDepth() { | |
63 return this.tkh.getFlowDepth(); | |
64 } | |
65 | |
66 public double getFlowDepthWithTkh() { | |
67 return this.tkh.getFlowDepthTkh(); | |
68 } | |
69 | |
70 public double getVelocity() { | |
71 return this.tkh.getVelocity(); | |
72 } | |
73 | |
74 public double getD50() { | |
75 return this.tkh.getD50(); | |
76 } | |
77 | |
78 public double getTau() { | |
79 return this.tkh.getTau(); | |
80 } | |
81 } |