comparison 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
comparison
equal deleted inserted replaced
3830:60911c8422b7 3831:dc505433173f
348 grid.setText(2, 1, "" + nf.format(aeo)); 348 grid.setText(2, 1, "" + nf.format(aeo));
349 } 349 }
350 350
351 Double datum = gauge.getDatum(); 351 Double datum = gauge.getDatum();
352 if (datum != null) { 352 if (datum != null) {
353 grid.setText(3, 0, MSG.gauge_zero() + " [NN+m]"); 353 grid.setText(3, 0, MSG.gauge_zero() + " [" +
354 gauge.getWstUnit() + "]");
354 grid.setText(3, 1, "" + nf.format(datum)); 355 grid.setText(3, 1, "" + nf.format(datum));
355 } 356 }
356 357
357 setWidget(grid); 358 setWidget(grid);
358 } 359 }

http://dive4elements.wald.intevation.org