Mercurial > dive4elements > river
diff 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 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultGaugeInfo.java Wed Sep 19 13:16:24 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultGaugeInfo.java Wed Sep 19 13:18:36 2012 +0000 @@ -16,6 +16,7 @@ private Double maxw; private boolean kmup; private Double station; + private String wstunit; public DefaultGaugeInfo() { } @@ -31,7 +32,8 @@ Double minq, Double maxq, Double minw, - Double maxw) + Double maxw, + String wstunit) { this.name = name; this.station = station; @@ -43,6 +45,7 @@ this.maxq = maxq; this.minw = minw; this.maxw = maxw; + this.wstunit = wstunit; } /** * Returns the name of the gauge @@ -117,4 +120,11 @@ public Double getStation() { return this.station; } + + /** + * Returns the wst unit as a String + */ + public String getWstUnit() { + return this.wstunit; + } }