comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/GaugeOverviewInfoService.java @ 3879:ac49675f9335

Add the gauge station to the GaugeOverviewInfoService xml response flys-artifacts/trunk@5516 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Wed, 19 Sep 2012 08:45:51 +0000
parents b3fdb5a12613
children cfed96c53e9a
comparison
equal deleted inserted replaced
3878:2e9c6855a1e8 3879:ac49675f9335
125 } 125 }
126 if (maxq != null) { 126 if (maxq != null) {
127 ec.addAttr(eg, "maxq", maxq, true); 127 ec.addAttr(eg, "maxq", maxq, true);
128 } 128 }
129 129
130 String station = getGaugeValue(gauge.getStation());
131 if (station != null) {
132 ec.addAttr(eg, "station", station, true);
133 }
134
130 egs.appendChild(eg); 135 egs.appendChild(eg);
131 } 136 }
132 137
133 go.appendChild(r); 138 go.appendChild(r);
134 go.appendChild(egs); 139 go.appendChild(egs);

http://dive4elements.wald.intevation.org