comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flowdepth/FlowDepthRow.java @ 8854:7bbfb24e6eec

SINFO - first prototype of BArt Fließtiefen
author gernotbelger
date Thu, 18 Jan 2018 18:34:41 +0100
parents
children cc86b0f9b3c3
comparison
equal deleted inserted replaced
8853:8c64617a7991 8854:7bbfb24e6eec
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.flowdepth;
11
12 import java.io.Serializable;
13
14 /**
15 * Part of {@link FlowDepthCalculationResult} which represents one calculated row of flow depth data.
16 *
17 * @author Gernot Belger
18 */
19 final class FlowDepthRow
20 implements Serializable {
21 private final double station;
22 private final double flowDepth;
23 private final double flowDepthWithTkh;
24 private final double tkh;
25 private final double waterlevel;
26 private final double discharge;
27 private final String waterlevelLabel;
28 private final String gauge;
29 private final double meanBedHeight;
30 private final String soundageLabel;
31 private final String location;
32
33 public FlowDepthRow( double station, double flowDepth, double flowDepthWithTkh, double tkh, double waterlevel, double discharge, String waterlevelLabel, String gauge, double meanBedHeight, String soundageLabel, String location ) {
34 this.station = station;
35 this.flowDepth = flowDepth;
36 this.flowDepthWithTkh = flowDepthWithTkh;
37 this.tkh = tkh;
38 this.waterlevel = waterlevel;
39 this.discharge = discharge;
40 this.waterlevelLabel = waterlevelLabel;
41 this.gauge = gauge;
42 this.meanBedHeight = meanBedHeight;
43 this.soundageLabel = soundageLabel;
44 this.location = location;
45 }
46
47 public double getStation() {
48 return station;
49 }
50
51 public double getFlowDepth() {
52 return flowDepth;
53 }
54
55 public double getFlowDepthWithTkh() {
56 return flowDepthWithTkh;
57 }
58
59 public double getTkh() {
60 return tkh;
61 }
62
63 public double getWaterlevel() {
64 return waterlevel;
65 }
66
67 public double getDischarge() {
68 return discharge;
69 }
70
71 public String getWaterlevelLabel() {
72 return waterlevelLabel;
73 }
74
75 public String getGauge() {
76 return gauge;
77 }
78
79 public double getMeanBedHeight() {
80 return meanBedHeight;
81 }
82
83 public String getSoundageLabel() {
84 return soundageLabel;
85 }
86
87 public String getLocation() {
88 return location;
89 }
90 }

http://dive4elements.wald.intevation.org