Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/artifacts/bundu/bezugswst/BezugswstMissVolCalculationResult1.java @ 9331:127638669052
bundu bezugswst result 2
author | gernotbelger |
---|---|
date | Fri, 27 Jul 2018 18:49:55 +0200 |
parents | 0a0937f33bb5 |
children | c64de8cc4e97 |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/bundu/bezugswst/BezugswstMissVolCalculationResult1.java Fri Jul 27 17:19:27 2018 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/bundu/bezugswst/BezugswstMissVolCalculationResult1.java Fri Jul 27 18:49:55 2018 +0200 @@ -50,7 +50,7 @@ protected String[] formatRow(final IExportContext exportContext, final ResultRow row) { - final Collection<String> lines = new ArrayList<>(10); + final Collection<String> lines = new ArrayList<>(20); lines.add(exportContext.formatRowValue(row, BunduResultType.bezugswst)); lines.add(exportContext.formatRowValue(row, GeneralResultType.dischargeQwithUnit)); @@ -86,7 +86,9 @@ header.add(exportContextCSV.formatCsvHeader(GeneralResultType.gaugeLabel)); header.add(exportContextCSV.formatCsvHeader(BunduResultType.sounding)); - header.add(exportContextCSV.formatCsvHeader(BunduResultType.channelLowerEdge)); + header.add(exportContextCSV.formatCsvHeader(BunduResultType.channelLowerEdge) + " [" + river.getWstUnit() + "]"); // Args wäre hier auch gegangen...; + // beim pdf ist es ohne args deutlich + // einfacher, deshalb... header.add(exportContextCSV.formatCsvHeader(BunduResultType.channelMinDepth)); header.add(exportContextCSV.formatCsvHeader(BunduResultType.hasMissingDepth)); header.add(exportContextCSV.formatCsvHeader(BunduResultType.missVolume));