Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/WaterlevelExporter.java @ 4979:4c76c5f69eaf
WaterlevelExporter: Doc and issue-TODO.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Mon, 11 Feb 2013 15:29:30 +0100 |
parents | e31231d0a720 |
children | 15e856a64cdd |
comparison
equal
deleted
inserted
replaced
4973:0000aff30fba | 4979:4c76c5f69eaf |
---|---|
411 | 411 |
412 writer.writeNext(new String[] { "" }); | 412 writer.writeNext(new String[] { "" }); |
413 } | 413 } |
414 | 414 |
415 | 415 |
416 /** | |
417 * Write the header, with different headings depending on whether at a | |
418 * gauge or at a location. | |
419 */ | |
416 protected void writeCSVHeader( | 420 protected void writeCSVHeader( |
417 CSVWriter writer, | 421 CSVWriter writer, |
418 boolean atGauge, | 422 boolean atGauge, |
419 boolean isQ | 423 boolean isQ |
420 ) { | 424 ) { |
504 kmf.format(result[2]), | 508 kmf.format(result[2]), |
505 wf.format(result[0]), | 509 wf.format(result[0]), |
506 qf.format(result[1]), | 510 qf.format(result[1]), |
507 colDesc, | 511 colDesc, |
508 FLYSUtils.getLocationDescription(flys, result[2]), | 512 FLYSUtils.getLocationDescription(flys, result[2]), |
513 // TODO issue1114: Take correct gauge | |
509 result[2] >= a && result[2] <= b | 514 result[2] >= a && result[2] <= b |
510 ? gaugeName | 515 ? gaugeName |
511 : notinrange | 516 : notinrange |
512 }); | 517 }); |
513 } | 518 } |