Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/WaterlevelExporter.java @ 6074:7022982a6ae5
issue1130: Show 'W am Pegel(cm)' values in waterlevelexport.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 23 May 2013 14:07:05 +0200 |
parents | af13ceeba52a |
children | a0078e5e3b39 |
comparison
equal
deleted
inserted
replaced
6073:f0417a8e4c39 | 6074:7022982a6ae5 |
---|---|
563 boolean isFixRealize = false; | 563 boolean isFixRealize = false; |
564 if (flys instanceof WINFOArtifact) { | 564 if (flys instanceof WINFOArtifact) { |
565 if (wqkms != null && wqkms.getRawValue() != null) { | 565 if (wqkms != null && wqkms.getRawValue() != null) { |
566 WINFOArtifact winfo = (WINFOArtifact) flys; | 566 WINFOArtifact winfo = (WINFOArtifact) flys; |
567 colDesc = RiverUtils.getNamedMainValue(winfo, wqkms.getRawValue()); | 567 colDesc = RiverUtils.getNamedMainValue(winfo, wqkms.getRawValue()); |
568 // For 'W am Pegel' s | |
569 if (colDesc == null) { | |
570 colDesc = ((D4EArtifact)master).getDataAsString("wq_single"); | |
571 } | |
568 } | 572 } |
569 } | 573 } |
570 else if (flys instanceof FixationArtifact) { | 574 else if (flys instanceof FixationArtifact) { |
571 // Get W/Q input per gauge for this case. | 575 // Get W/Q input per gauge for this case. |
572 FixRealizingAccess fixAccess = new FixRealizingAccess(flys, getCallContext()); | 576 FixRealizingAccess fixAccess = new FixRealizingAccess(flys, getCallContext()); |