# HG changeset patch # User Bjoern Ricks # Date 1348044351 0 # Node ID ac49675f9335b69bb6c34c3dd6a7f02dfdfd26b3 # Parent 2e9c6855a1e83bfbac029a8b42c78717c03ac083 Add the gauge station to the GaugeOverviewInfoService xml response flys-artifacts/trunk@5516 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 2e9c6855a1e8 -r ac49675f9335 flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Tue Sep 18 21:38:19 2012 +0000 +++ b/flys-artifacts/ChangeLog Wed Sep 19 08:45:51 2012 +0000 @@ -1,3 +1,8 @@ +2012-09-13 Björn Ricks + + * src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java: + Return also the station in a service response. + 2012-09-18 Christian Lins * src/main/java/de/intevation/flys/artifacts/states/fixation/FunctionSelect.java: diff -r 2e9c6855a1e8 -r ac49675f9335 flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java Tue Sep 18 21:38:19 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java Wed Sep 19 08:45:51 2012 +0000 @@ -127,6 +127,11 @@ ec.addAttr(eg, "maxq", maxq, true); } + String station = getGaugeValue(gauge.getStation()); + if (station != null) { + ec.addAttr(eg, "station", station, true); + } + egs.appendChild(eg); }