comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FlowVelocityCalculation.java @ 4434:60c728e557f4

Backed out changeset e8a4d2fd25cc
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 07 Nov 2012 12:28:50 +0100
parents e8a4d2fd25cc
children cc6323401643
comparison
equal deleted inserted replaced
4432:e8a4d2fd25cc 4434:60c728e557f4
128 } 128 }
129 129
130 DischargeZone zone = model.getDischargeZone(); 130 DischargeZone zone = model.getDischargeZone();
131 String lo = zone.getLowerDischarge(); 131 String lo = zone.getLowerDischarge();
132 String hi = zone.getUpperDischarge(); 132 String hi = zone.getUpperDischarge();
133 // TODO make discharge available, should be shown in diagram.
134 133
135 if (lo.equals(hi)) { 134 if (lo.equals(hi)) {
136 data.setZone(lo); 135 data.setZone(lo);
137 } 136 }
138 else { 137 else {
140 } 139 }
141 } 140 }
142 141
143 142
144 protected CalculationResult buildCalculationResult( 143 protected CalculationResult buildCalculationResult(
145 FlowVelocityAccess access, 144 FlowVelocityAccess access,
146 List<FlowVelocityModel> models 145 List<FlowVelocityModel> models
147 ) { 146 ) {
148 double kmLo = access.getLowerKM(); 147 double kmLo = access.getLowerKM();
149 double kmHi = access.getUpperKM(); 148 double kmHi = access.getUpperKM();
150 149

http://dive4elements.wald.intevation.org