Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flood_duration/FloodDurationCalculationResult.java @ 9630:8da911b5169c
3 Significant also for Q_1, Q_2...
author | dnt_bjoernsen <d.tironi@bjoernsen.de> |
---|---|
date | Mon, 14 Oct 2019 18:07:31 +0200 |
parents | 677ff7ed9a60 |
children |
comparison
equal
deleted
inserted
replaced
9629:d1c7ee4a3723 | 9630:8da911b5169c |
---|---|
161 break; | 161 break; |
162 | 162 |
163 final DurationWaterlevel item = waterlevelList.get(i); | 163 final DurationWaterlevel item = waterlevelList.get(i); |
164 lines.add(item.getWFormatted(wFormatter)); | 164 lines.add(item.getWFormatted(wFormatter)); |
165 lines.add(item.getFloodDurDaysPerYearFormatted(durFormatter)); | 165 lines.add(item.getFloodDurDaysPerYearFormatted(durFormatter)); |
166 lines.add(item.getQFormatted(qFormatter)); | 166 lines.add(item.getQFormatted3Significant(exportContextCSV.getContext())); |
167 lines.add(item.getBezeichnung()); | 167 lines.add(item.getBezeichnung()); |
168 } | 168 } |
169 | 169 |
170 final int lineSize = lines.size(); | |
171 while (mode == ExportMode.pdf && lines.size() < expectedSizetoGaugelabel) | 170 while (mode == ExportMode.pdf && lines.size() < expectedSizetoGaugelabel) |
172 lines.add(""); | 171 lines.add(""); |
173 | 172 |
174 if (isUseWspl() || mode == ExportMode.pdf) | 173 if (isUseWspl() || mode == ExportMode.pdf) |
175 lines.add(exportContextCSV.formatRowValue(row, GeneralResultType.gaugeLabel)); // PDF: necessary, because if removed, location would not be shown! | 174 lines.add(exportContextCSV.formatRowValue(row, GeneralResultType.gaugeLabel)); // PDF: necessary, because if removed, location would not be shown! |