diff flys-client/src/main/java/de/intevation/flys/client/client/ui/GaugePanel.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 9cbc8311e820
children 611cb0f1761e
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/GaugePanel.java	Wed Sep 19 13:16:24 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/GaugePanel.java	Wed Sep 19 13:18:36 2012 +0000
@@ -350,7 +350,8 @@
 
             Double datum = gauge.getDatum();
             if (datum != null) {
-                grid.setText(3, 0, MSG.gauge_zero() + " [NN+m]");
+                grid.setText(3, 0, MSG.gauge_zero() + " [" +
+                        gauge.getWstUnit() + "]");
                 grid.setText(3, 1, "" + nf.format(datum));
             }
 

http://dive4elements.wald.intevation.org