Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepthminmax/FlowDepthMinMaxRow.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.flowdepthminmax; | |
11 | |
12 import org.dive4elements.river.artifacts.sinfo.common.AbstractSInfoResultRow; | |
13 | |
14 /** | |
15 * Part of {@link FlowDepthMinMaxCalculationResult} which represents one calculated row of flow depth data. | |
16 * | |
17 * @author Gernot Belger | |
18 */ | |
19 final class FlowDepthMinMaxRow extends AbstractSInfoResultRow { | |
20 private static final long serialVersionUID = 1L; | |
21 | |
22 private final double station; | |
23 | |
24 private final double minFlowDepth; | |
25 | |
26 private final double maxFlowDepth; | |
27 | |
28 private final double waterlevel; | |
29 | |
30 private final double discharge; | |
31 | |
32 private final double meanBedHeight; | |
33 | |
34 private final String soundingLabel; | |
35 | |
36 public FlowDepthMinMaxRow(final double station, final double minFlowDepth, final double maxFlowDepth, final double waterlevel, final double discharge, | |
37 final String waterlevelLabel, final String gauge, final double meanBedHeight, final String soundingLabel, final String location) { | |
38 | |
39 super(waterlevelLabel, gauge, location); | |
40 | |
41 this.station = station; | |
42 this.minFlowDepth = minFlowDepth; | |
43 this.maxFlowDepth = maxFlowDepth; | |
44 this.waterlevel = waterlevel; | |
45 this.discharge = discharge; | |
46 this.meanBedHeight = meanBedHeight; | |
47 this.soundingLabel = soundingLabel; | |
48 } | |
49 | |
50 public String getSoundageLabel() { | |
51 return this.soundingLabel; | |
52 } | |
53 | |
54 public double getStation() { | |
55 return this.station; | |
56 } | |
57 | |
58 public double getMinFlowDepth() { | |
59 return this.minFlowDepth; | |
60 } | |
61 | |
62 public double getMaxFlowDepth() { | |
63 return this.maxFlowDepth; | |
64 } | |
65 | |
66 public double getWaterlevel() { | |
67 return this.waterlevel; | |
68 } | |
69 | |
70 public double getDischarge() { | |
71 return this.discharge; | |
72 } | |
73 | |
74 public double getMeanBedHeight() { | |
75 return this.meanBedHeight; | |
76 } | |
77 | |
78 public String getSoundingLabel() { | |
79 return this.soundingLabel; | |
80 } | |
81 } |