comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java @ 1804:00f14b837e65

Fix incompilability. flys-artifacts/trunk@3129 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 01 Nov 2011 14:24:30 +0000
parents 4aec853a2f85
children b9f7ec9bda18
comparison
equal deleted inserted replaced
1803:51e59f221333 1804:00f14b837e65
103 103
104 if (res.getReport().hasProblems()) { 104 if (res.getReport().hasProblems()) {
105 facets.add(new ReportFacet(ComputeType.ADVANCE, hash, id)); 105 facets.add(new ReportFacet(ComputeType.ADVANCE, hash, id));
106 } 106 }
107 107
108 // Also register the CrossSectionFacet (added to respective out). 108 // Also register the CrossSectionFacets (added to respective out).
109 facets.add(new CrossSectionFacet(winfo.getCrossSectionName())); 109 int idx = 0;
110 for (String name: winfo.getCrossSectionNames()) {
111 facets.add(new CrossSectionFacet(idx++, name));
112 }
113
114 // TODO Adjust to WaterlevelState - implementation.
115 facets.add(new CrossSectionWaterLineFacet(0, "Q=" + winfo.getDataAsString("wq_single")));
116
110 // Assume to be in wq_single mode. 117 // Assume to be in wq_single mode.
111 facets.add(new CrossSectionWaterLineFacet("Q=" + winfo.getDataAsString("wq_single")));
112 return res; 118 return res;
113 } 119 }
114 120
115 121
116 /** 122 /**

http://dive4elements.wald.intevation.org