8854
|
1 /* Copyright (C) 2017 by Bundesanstalt für Gewässerkunde |
8886
|
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.io.Serializable; |
|
13 |
|
14 /** |
|
15 * Part of {@link FlowDepthCalculationResult} which represents one calculated row of flow depth data. |
8886
|
16 * |
8854
|
17 * @author Gernot Belger |
|
18 */ |
8886
|
19 final class FlowDepthRow implements Serializable { |
|
20 private static final long serialVersionUID = 1L; |
8854
|
21 |
8886
|
22 private final double station; |
8854
|
23 |
8886
|
24 private final double flowDepth; |
8854
|
25 |
8886
|
26 private final double flowDepthWithTkh; |
8854
|
27 |
8886
|
28 private final SoilKind tkhKind; |
8854
|
29 |
8886
|
30 private final double tkh; |
|
31 |
|
32 private final double tkhUp; |
|
33 |
|
34 private final double tkhDown; |
|
35 |
|
36 private final double waterlevel; |
|
37 |
|
38 private final double discharge; |
|
39 |
|
40 private final String waterlevelLabel; |
|
41 |
|
42 private final String gauge; |
|
43 |
|
44 private final double meanBedHeight; |
|
45 |
|
46 private final String soundageLabel; |
|
47 |
|
48 private final String location; |
|
49 |
|
50 public FlowDepthRow(final double station, final double flowDepth, final double flowDepthWithTkh, final SoilKind tkhKind, final double tkh, |
|
51 final double tkhUp, final double tkhDown, |
|
52 final double waterlevel, final double discharge, final String waterlevelLabel, final String gauge, final double meanBedHeight, |
|
53 final String soundageLabel, final String location) { |
|
54 this.station = station; |
|
55 this.flowDepth = flowDepth; |
|
56 this.flowDepthWithTkh = flowDepthWithTkh; |
|
57 this.tkhKind = tkhKind; |
|
58 this.tkh = tkh; |
|
59 this.tkhUp = tkhUp; |
|
60 this.tkhDown = tkhDown; |
|
61 this.waterlevel = waterlevel; |
|
62 this.discharge = discharge; |
|
63 this.waterlevelLabel = waterlevelLabel; |
|
64 this.gauge = gauge; |
|
65 this.meanBedHeight = meanBedHeight; |
|
66 this.soundageLabel = soundageLabel; |
|
67 this.location = location; |
|
68 } |
|
69 |
|
70 public double getStation() { |
|
71 return this.station; |
|
72 } |
|
73 |
|
74 public double getFlowDepth() { |
|
75 return this.flowDepth; |
|
76 } |
|
77 |
|
78 public double getFlowDepthWithTkh() { |
|
79 return this.flowDepthWithTkh; |
|
80 } |
|
81 |
|
82 public SoilKind getTkhKind() { |
|
83 return this.tkhKind; |
|
84 } |
|
85 |
|
86 public double getTkh() { |
|
87 return this.tkh; |
|
88 } |
|
89 |
|
90 public double getTkhUp() { |
|
91 return this.tkhUp; |
|
92 } |
|
93 |
|
94 public double getTkhDown() { |
|
95 return this.tkhDown; |
|
96 } |
|
97 |
|
98 public double getWaterlevel() { |
|
99 return this.waterlevel; |
|
100 } |
|
101 |
|
102 public double getDischarge() { |
|
103 return this.discharge; |
|
104 } |
|
105 |
|
106 public String getWaterlevelLabel() { |
|
107 return this.waterlevelLabel; |
|
108 } |
|
109 |
|
110 public String getGauge() { |
|
111 return this.gauge; |
|
112 } |
|
113 |
|
114 public double getMeanBedHeight() { |
|
115 return this.meanBedHeight; |
|
116 } |
|
117 |
|
118 public String getSoundageLabel() { |
|
119 return this.soundageLabel; |
|
120 } |
|
121 |
|
122 public String getLocation() { |
|
123 return this.location; |
|
124 } |
8854
|
125 } |