[PATCH 34 of 45] (Issue1755) Add distance step selection to bed quality artifact
Wald Commits
scm-commit at wald.intevation.org
Tue Mar 10 17:06:02 CET 2015
# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1424106189 -3600
# Node ID d1640df656eedaf571b0f10d8bd249a8afe85a50
# Parent 59b4f6cf1cf4483072d88e9fad6a3a39f7288cd5
(Issue1755) Add distance step selection to bed quality artifact
diff -r 59b4f6cf1cf4 -r d1640df656ee artifacts/doc/conf/artifacts/minfo.xml
--- a/artifacts/doc/conf/artifacts/minfo.xml Mon Feb 16 17:09:14 2015 +0100
+++ b/artifacts/doc/conf/artifacts/minfo.xml Mon Feb 16 18:03:09 2015 +0100
@@ -41,7 +41,7 @@
<transition transition="org.dive4elements.river.artifacts.transitions.ValueCompareTransition">
<from state="state.minfo.calculation_mode"/>
- <to state="state.minfo.bed.location"/>
+ <to state="state.minfo.distance"/>
<condition data="calculation_mode" value="calc.bed.quality" operator="equal"/>
</transition>
@@ -50,15 +50,16 @@
<data name="ld_to" type="Double" />
</state>
+ <state id="state.minfo.distance" description="state.minfo.distance" state="org.dive4elements.river.artifacts.states.DistanceSelect" helpText="help.state.minfo.distance">
+ <data name="ld_from" type="Double" />
+ <data name="ld_to" type="Double" />
+ <data name="ld_step" type="Double" />
+ </state>
+
<state id="state.minfo.sq.location" description="state.minfo.sq.location" state="org.dive4elements.river.artifacts.states.LocationSelect" helpText="help.state.minfo.sq.location">
<data name="ld_locations" type="double"/>
</state>
- <state id="state.minfo.bed.location" description="state.minfo.bed.location" state="org.dive4elements.river.artifacts.states.DistanceOnlySelect" helpText="help.state.minfo.bed.location">
- <data name="ld_from" type="Double" />
- <data name="ld_to" type="Double" />
- </state>
-
<transition transition="org.dive4elements.river.artifacts.transitions.ValueCompareTransition">
<from state="state.minfo.distance_only"/>
<to state="state.minfo.dischargestate"/>
@@ -83,8 +84,9 @@
</transition>
<transition transition="org.dive4elements.river.artifacts.transitions.DefaultTransition">
- <from state="state.minfo.bed.location"/>
+ <from state="state.minfo.distance"/>
<to state="state.minfo.bed.periods"/>
+ <condition data="calculation_mode" value="calc.bed.quality" operator="equal"/>
</transition>
<state id="state.minfo.dischargestate" description="state.minfo.dischargestate" state="org.dive4elements.river.artifacts.states.DischargeState" helpText="help.state.minfo.dischargestate">
diff -r 59b4f6cf1cf4 -r d1640df656ee artifacts/src/main/resources/messages.properties
--- a/artifacts/src/main/resources/messages.properties Mon Feb 16 17:09:14 2015 +0100
+++ b/artifacts/src/main/resources/messages.properties Mon Feb 16 18:03:09 2015 +0100
@@ -44,6 +44,7 @@
state.minfo.river = River
state.minfo.calculation_mode = Calculation Mode
+state.minfo.distance = Range selection
state.minfo.distance_only = Range selection
state.minfo.dischargestate = Selection of discharge state and channel
state.minfo.sq.location=Location
@@ -609,6 +610,7 @@
help.state.minfo.river=${help.url}/OnlineHilfe/MINFO#help.state.minfo.river
help.state.minfo.calculation_mode=${help.url}/OnlineHilfe/MINFO#help.state.minfo.calculation_mode
help.state.minfo.distance_only=${help.url}/OnlineHilfe/MINFO#help.state.minfo.distance_only
+help.state.minfo.distance=${help.url}/OnlineHilfe/MINFO#help.state.minfo.distance
help.state.minfo.bed.year_epoch=${help.url}/OnlineHilfe/MINFO#help.state.minfo.bed.year_epoch
help.state.minfo.sq.location=${help.url}/OnlineHilfe/MINFO#help.state.minfo.sq.location
help.state.minfo.bed.location=${help.url}/OnlineHilfe/MINFO#help.state.minfo.bed.location
diff -r 59b4f6cf1cf4 -r d1640df656ee artifacts/src/main/resources/messages_de.properties
--- a/artifacts/src/main/resources/messages_de.properties Mon Feb 16 17:09:14 2015 +0100
+++ b/artifacts/src/main/resources/messages_de.properties Mon Feb 16 18:03:09 2015 +0100
@@ -44,6 +44,7 @@
state.minfo.river = Gew\u00e4sser
state.minfo.calculation_mode = Berechnungsart
+state.minfo.distance = Wahl der Berechnungsstrecke
state.minfo.distance_only = Wahl der Berechnungsstrecke
state.minfo.dischargestate = Abflusszustand und Gerinne
state.minfo.sq.location=Ort
@@ -613,6 +614,7 @@
help.state.minfo.river=${help.url}/OnlineHilfe/MINFO#help.state.minfo.river
help.state.minfo.calculation_mode=${help.url}/OnlineHilfe/MINFO#help.state.minfo.calculation_mode
help.state.minfo.distance_only=${help.url}/OnlineHilfe/MINFO#help.state.minfo.distance_only
+help.state.minfo.distance=${help.url}/OnlineHilfe/MINFO#help.state.minfo.distance
help.state.minfo.bed.year_epoch=${help.url}/OnlineHilfe/MINFO#help.state.minfo.bed.year_epoch
help.state.minfo.sq.location=${help.url}/OnlineHilfe/MINFO#help.state.minfo.sq.location
help.state.minfo.bed.location=${help.url}/OnlineHilfe/MINFO#help.state.minfo.bed.location
diff -r 59b4f6cf1cf4 -r d1640df656ee artifacts/src/main/resources/messages_de_DE.properties
--- a/artifacts/src/main/resources/messages_de_DE.properties Mon Feb 16 17:09:14 2015 +0100
+++ b/artifacts/src/main/resources/messages_de_DE.properties Mon Feb 16 18:03:09 2015 +0100
@@ -44,6 +44,7 @@
state.minfo.river = Gew\u00e4sser
state.minfo.calculation_mode = Berechnungsart
+state.minfo.distance = Wahl der Berechnungsstrecke
state.minfo.distance_only = Wahl der Berechnungsstrecke
state.minfo.dischargestate = Abflusszustand und Gerinne
state.minfo.sq.location=Ort
@@ -608,6 +609,7 @@
help.state.minfo.river=${help.url}/OnlineHilfe/MINFO#help.state.minfo.river
help.state.minfo.calculation_mode=${help.url}/OnlineHilfe/MINFO#help.state.minfo.calculation_mode
help.state.minfo.distance_only=${help.url}/OnlineHilfe/MINFO#help.state.minfo.distance_only
+help.state.minfo.distance=${help.url}/OnlineHilfe/MINFO#help.state.minfo.distance
help.state.minfo.bed.year_epoch=${help.url}/OnlineHilfe/MINFO#help.state.minfo.bed.year_epoch
help.state.minfo.sq.location=${help.url}/OnlineHilfe/MINFO#help.state.minfo.sq.location
help.state.minfo.bed.location=${help.url}/OnlineHilfe/MINFO#help.state.minfo.bed.location
diff -r 59b4f6cf1cf4 -r d1640df656ee artifacts/src/main/resources/messages_en.properties
--- a/artifacts/src/main/resources/messages_en.properties Mon Feb 16 17:09:14 2015 +0100
+++ b/artifacts/src/main/resources/messages_en.properties Mon Feb 16 18:03:09 2015 +0100
@@ -44,6 +44,7 @@
state.minfo.river = River
state.minfo.calculation_mode = Calculation Mode
+state.minfo.distance = Range selection
state.minfo.distance_only = Range selection
state.minfo.dischargestate = Selection of discharge state and channel
state.minfo.sq.location=Location
@@ -612,6 +613,7 @@
help.state.minfo.river=${help.url}/OnlineHilfe/MINFO#help.state.minfo.river
help.state.minfo.calculation_mode=${help.url}/OnlineHilfe/MINFO#help.state.minfo.calculation_mode
help.state.minfo.distance_only=${help.url}/OnlineHilfe/MINFO#help.state.minfo.distance_only
+help.state.minfo.distance=${help.url}/OnlineHilfe/MINFO#help.state.minfo.distance
help.state.minfo.bed.year_epoch=${help.url}/OnlineHilfe/MINFO#help.state.minfo.bed.year_epoch
help.state.minfo.sq.location=${help.url}/OnlineHilfe/MINFO#help.state.minfo.sq.location
help.state.minfo.bed.location=${help.url}/OnlineHilfe/MINFO#help.state.minfo.bed.location
More information about the Dive4Elements-commits
mailing list