comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java @ 4478:6153c50f78cf

WaterLineArtifact: Added callcontext-parameter to interfaces getWaterLine. Update all implementations. The change was done to be able to compute the extreme values during getWaterLine to access data needed in CrossSectionProfile Diagrams.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 13 Nov 2012 14:46:44 +0100
parents e1f81795401f
children 5fc7df736634
comparison
equal deleted inserted replaced
4477:79bb64f66c74 4478:6153c50f78cf
161 /** 161 /**
162 * Returns the data that is computed by a waterlevel computation. 162 * Returns the data that is computed by a waterlevel computation.
163 * 163 *
164 * @return an array of data triples that consist of W, Q and Kms. 164 * @return an array of data triples that consist of W, Q and Kms.
165 */ 165 */
166 public CalculationResult getWaterlevelData() 166 public CalculationResult getWaterlevelData(CallContext context)
167 { 167 {
168 logger.debug("WINFOArtifact.getWaterlevelData"); 168 logger.debug("WINFOArtifact.getWaterlevelData");
169 169
170 if (getDataAsString("calculation_mode") 170 if (getDataAsString("calculation_mode")
171 .equals("calc.discharge.longitudinal.section") 171 .equals("calc.discharge.longitudinal.section")

http://dive4elements.wald.intevation.org