comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthRow.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
comparison
equal deleted inserted replaced
8939:2970368ae1e3 8940:82998242ba84
18 * @author Gernot Belger 18 * @author Gernot Belger
19 */ 19 */
20 final class FlowDepthRow extends AbstractSInfoResultRow { 20 final class FlowDepthRow extends AbstractSInfoResultRow {
21 private static final long serialVersionUID = 1L; 21 private static final long serialVersionUID = 1L;
22 22
23 private final double flowDepth;
24
25 private final double flowDepthWithTkh;
26
27 private final String soundingLabel; 23 private final String soundingLabel;
28 24
29 public FlowDepthRow(final double flowDepth, final double flowDepthWithTkh, final Tkh tkh, final String waterlevelLabel, 25 public FlowDepthRow(final Tkh tkh, final String waterlevelLabel,
30 final String gauge, final String soundingLabel, final String location) { 26 final String gauge, final String soundingLabel, final String location) {
31 27
32 super(tkh, waterlevelLabel, gauge, location); 28 super(tkh, waterlevelLabel, gauge, location);
33 29
34 this.flowDepth = flowDepth;
35 this.flowDepthWithTkh = flowDepthWithTkh;
36 this.soundingLabel = soundingLabel; 30 this.soundingLabel = soundingLabel;
37 }
38
39 public double getFlowDepth() {
40 return this.flowDepth;
41 }
42
43 public double getFlowDepthWithTkh() {
44 return this.flowDepthWithTkh;
45 } 31 }
46 32
47 public String getSoundageLabel() { 33 public String getSoundageLabel() {
48 return this.soundingLabel; 34 return this.soundingLabel;
49 } 35 }

http://dive4elements.wald.intevation.org