comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultGaugeInfo.java @ 3826:7a34af684ed4

Add station info to the gauges flys-client/trunk@5521 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Wed, 19 Sep 2012 12:41:48 +0000
parents 4e33aa341e51
children dc505433173f
comparison
equal deleted inserted replaced
3825:e91c5112d67c 3826:7a34af684ed4
13 private Double minq; 13 private Double minq;
14 private Double maxq; 14 private Double maxq;
15 private Double minw; 15 private Double minw;
16 private Double maxw; 16 private Double maxw;
17 private boolean kmup; 17 private boolean kmup;
18 private Double station;
18 19
19 public DefaultGaugeInfo() { 20 public DefaultGaugeInfo() {
20 } 21 }
21 22
22 public DefaultGaugeInfo( 23 public DefaultGaugeInfo(
23 String name, 24 String name,
24 boolean kmup, 25 boolean kmup,
26 Double station,
25 Double start, 27 Double start,
26 Double end, 28 Double end,
27 Double datum, 29 Double datum,
28 Double aeo, 30 Double aeo,
29 Double minq, 31 Double minq,
30 Double maxq, 32 Double maxq,
31 Double minw, 33 Double minw,
32 Double maxw) 34 Double maxw)
33 { 35 {
34 this.name = name; 36 this.name = name;
35 this.start = start; 37 this.station = station;
36 this.end = end; 38 this.start = start;
37 this.datum = datum; 39 this.end = end;
38 this.aeo = aeo; 40 this.datum = datum;
39 this.minq = minq; 41 this.aeo = aeo;
40 this.maxq = maxq; 42 this.minq = minq;
41 this.minw = minw; 43 this.maxq = maxq;
42 this.maxw = maxw; 44 this.minw = minw;
45 this.maxw = maxw;
43 } 46 }
44 /** 47 /**
45 * Returns the name of the gauge 48 * Returns the name of the gauge
46 */ 49 */
47 public String getName() { 50 public String getName() {
105 } 108 }
106 109
107 public boolean isKmUp() { 110 public boolean isKmUp() {
108 return this.kmup; 111 return this.kmup;
109 } 112 }
113
114 /**
115 * Returns the station km of the gauge or null if not available
116 */
117 public Double getStation() {
118 return this.station;
119 }
110 } 120 }

http://dive4elements.wald.intevation.org