diff artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhstate/TkhCalculationResult.java @ 9312:740d65e4aa14

Q [m³/s] one message
author gernotbelger
date Thu, 26 Jul 2018 15:54:20 +0200
parents a4121ec450d6
children 7b2b086e45f0
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhstate/TkhCalculationResult.java	Thu Jul 26 11:16:06 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/tkhstate/TkhCalculationResult.java	Thu Jul 26 15:54:20 2018 +0200
@@ -60,7 +60,7 @@
             header.add(descriptionHeader);
 
         header.add(exportContext.formatCsvHeader(SInfoResultType.gaugeLabel));
-        header.add(exportContext.formatCsvHeader(SInfoResultType.location));
+        header.add(exportContext.formatCsvHeader(GeneralResultType.location));
 
         exportContext.writeCSVLine(header.toArray(new String[header.size()]));
 
@@ -109,7 +109,7 @@
         exportContext.addJRMetadata(source, "waterlevel_name_header", waterlevelNameHeader);
 
         exportContext.addJRMetadata(source, "gauge_header", SInfoResultType.gaugeLabel);
-        exportContext.addJRMetadata(source, "location_header", SInfoResultType.location);
+        exportContext.addJRMetadata(source, "location_header", GeneralResultType.location);
 
     }
 
@@ -131,7 +131,7 @@
             lines.add(exportContext.formatRowValue(row, SInfoResultType.waterlevelLabel));
 
         lines.add(exportContext.formatRowValue(row, SInfoResultType.gaugeLabel));
-        lines.add(exportContext.formatRowValue(row, SInfoResultType.location));
+        lines.add(exportContext.formatRowValue(row, GeneralResultType.location));
 
         return lines.toArray(new String[lines.size()]);
     }

http://dive4elements.wald.intevation.org