comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultGaugeInfo.java @ 3831:dc505433173f

Use the wstunit from the river as unit for the Pegelnullpunkt flys-client/trunk@5526 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Wed, 19 Sep 2012 13:18:36 +0000
parents 7a34af684ed4
children 70976b711b7e
comparison
equal deleted inserted replaced
3830:60911c8422b7 3831:dc505433173f
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 private Double station;
19 private String wstunit;
19 20
20 public DefaultGaugeInfo() { 21 public DefaultGaugeInfo() {
21 } 22 }
22 23
23 public DefaultGaugeInfo( 24 public DefaultGaugeInfo(
29 Double datum, 30 Double datum,
30 Double aeo, 31 Double aeo,
31 Double minq, 32 Double minq,
32 Double maxq, 33 Double maxq,
33 Double minw, 34 Double minw,
34 Double maxw) 35 Double maxw,
36 String wstunit)
35 { 37 {
36 this.name = name; 38 this.name = name;
37 this.station = station; 39 this.station = station;
38 this.start = start; 40 this.start = start;
39 this.end = end; 41 this.end = end;
41 this.aeo = aeo; 43 this.aeo = aeo;
42 this.minq = minq; 44 this.minq = minq;
43 this.maxq = maxq; 45 this.maxq = maxq;
44 this.minw = minw; 46 this.minw = minw;
45 this.maxw = maxw; 47 this.maxw = maxw;
48 this.wstunit = wstunit;
46 } 49 }
47 /** 50 /**
48 * Returns the name of the gauge 51 * Returns the name of the gauge
49 */ 52 */
50 public String getName() { 53 public String getName() {
115 * Returns the station km of the gauge or null if not available 118 * Returns the station km of the gauge or null if not available
116 */ 119 */
117 public Double getStation() { 120 public Double getStation() {
118 return this.station; 121 return this.station;
119 } 122 }
123
124 /**
125 * Returns the wst unit as a String
126 */
127 public String getWstUnit() {
128 return this.wstunit;
129 }
120 } 130 }

http://dive4elements.wald.intevation.org