9424
|
1 /** Copyright (C) 2017 by Bundesanstalt für Gewässerkunde |
|
2 * Software engineering by |
|
3 * Björnsen Beratende Ingenieure GmbH |
|
4 * Dr. Schumacher Ingenieurbüro für Wasser und Umwelt |
|
5 * |
|
6 * This file is Free Software under the GNU AGPL (>=v3) |
|
7 * and comes with ABSOLUTELY NO WARRANTY! Check out the |
|
8 * documentation coming with Dive4Elements River for details. |
|
9 */ |
|
10 package test.uinfo; |
|
11 |
|
12 import org.dive4elements.artifacts.httpclient.exceptions.ConnectionException; |
|
13 import org.dive4elements.river.client.shared.exceptions.ServerException; |
|
14 |
|
15 import test.AbstractBerechnungsartenTester.River; |
|
16 |
|
17 /** |
|
18 * @author Domenico Nardi Tironi |
|
19 * |
|
20 */ |
|
21 final class UinfoSalixRegionalRunner extends UinfoSalixRunner { |
|
22 |
|
23 private final double fromPart; |
|
24 private final double toPart; |
|
25 private final String dwspl; |
|
26 |
9567
|
27 public UinfoSalixRegionalRunner(final double from, final double to, final River river, final String scenarioChoice, final double fromPart, |
|
28 final double toPart, final String dwspl) throws ConnectionException, ServerException { |
|
29 super(from, to, river, scenarioChoice); |
9424
|
30 this.fromPart = fromPart; |
|
31 this.toPart = toPart; |
|
32 this.dwspl = dwspl; |
|
33 } |
|
34 |
|
35 @Override |
|
36 protected void makeScenario() throws ConnectionException, ServerException { |
9441
|
37 super.feedAndGoSimpleTextInput("scenario_selection", this.getScenarioChoice()); |
9424
|
38 |
|
39 super.makeKmRange(this.fromPart, this.toPart, "ld_from_part", "ld_to_part"); |
|
40 |
9441
|
41 super.feedAndGoSimpleTextInput("sedimentheight", this.dwspl); |
9424
|
42 |
|
43 } |
|
44 |
|
45 } |