Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/flood_duration/FloodDurationCalculationResult.java @ 9236:b515ed950d39
S-Info flood durations with automatic km step width
author | mschaefer |
---|---|
date | Fri, 06 Jul 2018 17:56:18 +0200 |
parents | 0dcd1cd41915 |
children | e5367900dd6d |
comparison
equal
deleted
inserted
replaced
9235:d47f6641f597 | 9236:b515ed950d39 |
---|---|
74 @Override | 74 @Override |
75 protected void writeCSVResultMetadata(final ExportContextCSV exportContextCSV) { | 75 protected void writeCSVResultMetadata(final ExportContextCSV exportContextCSV) { |
76 if (this.mainvalueLabels.length >= 1) { | 76 if (this.mainvalueLabels.length >= 1) { |
77 // "##METADATEN WASSERSPIEGELLAGE" | 77 // "##METADATEN WASSERSPIEGELLAGE" |
78 exportContextCSV.writeCSVMetaEntry(SInfoI18NStrings.CSV_META_HEADER_WATERLEVEL); | 78 exportContextCSV.writeCSVMetaEntry(SInfoI18NStrings.CSV_META_HEADER_WATERLEVEL); |
79 for (int i = 1; i <= getWaterlevelCount(); // this.mainvalueLabels.length; | 79 for (int i = 1; i <= getWaterlevelCount(); i++) { |
80 i++) { | |
81 // "# Bezeichnung der Wasserspiegellage: " | 80 // "# Bezeichnung der Wasserspiegellage: " |
82 final String label = this.getMainValueLabel(i - 1); | 81 final String label = this.getMainValueLabel(i - 1); |
83 exportContextCSV.writeCSVMetaEntry(SInfoI18NStrings.CSV_META_HEADER_WATERLEVEL_NAME, String.format("%d: %s", i, label)); | 82 exportContextCSV.writeCSVMetaEntry(SInfoI18NStrings.CSV_META_HEADER_WATERLEVEL_NAME, String.format("%d: %s", i, label)); |
84 } | 83 } |
85 // "# Bezugspegel: " | 84 // "# Bezugspegel: " |