diff artifacts/doc/conf/artifacts/sinfo.xml @ 9612:f8308db94634

#20 UI, Diagramme
author dnt_bjoernsen <d.tironi@bjoernsen.de>
date Wed, 09 Oct 2019 16:17:16 +0200
parents b9c87bbff6a4
children 1d4262a68f1f
line wrap: on
line diff
--- a/artifacts/doc/conf/artifacts/sinfo.xml	Wed Oct 09 15:58:46 2019 +0200
+++ b/artifacts/doc/conf/artifacts/sinfo.xml	Wed Oct 09 16:17:16 2019 +0200
@@ -27,9 +27,9 @@
       <data name="ld_to" type="Double" />
 
       <!-- This data will hold the valid stations, needed for the Duration-Chart for the flood duration calculation
-            It is ugly to put it here, but we cannot set the state-data of the current state inside the state calculation (only the data of the previous states is put into the collection description).
-            So this is the only way to safely transport this information to the client.
-       -->    
+        It is ugly to put it here, but we cannot set the state-data of the current state inside the state calculation (only the data of the previous states is put into the collection description).
+        So this is the only way to safely transport this information to the client.
+      -->
       <data name="validStations" type="String" />
     </state>
 
@@ -263,7 +263,7 @@
     </transition>
 
     <state id="state.sinfo.load.year" description="state.sinfo.load.year" state="org.dive4elements.river.artifacts.sinfo.collision.LoadMultipleYearSelectState" helpText="help.state.sinfo.collisions.years">
-      <data name="years" type="String" /> 
+      <data name="years" type="String" />
     </state>
 
     <state id="state.sinfo.load.epoch" description="state.sinfo.load.epoch" state="org.dive4elements.river.artifacts.sinfo.collision.LoadMultipleEpochSelectState" helpText="help.state.sinfo.collisions.epochs">
@@ -315,7 +315,7 @@
       <from state="state.sinfo.calculation_mode" />
       <to state="state.sinfo.distance_only" />
       <condition data="calculation_mode" value="sinfo_calc_flood_duration" operator="equal" />
-    </transition> 
+    </transition>
 
     <transition transition="org.dive4elements.river.artifacts.transitions.ValueCompareTransition">
       <from state="state.sinfo.distance_only" />
@@ -323,16 +323,26 @@
       <condition data="calculation_mode" value="sinfo_calc_flood_duration" operator="equal" />
     </transition>
 
+
     <state id="state.sinfo.riverside" description="state.sinfo.riverside" state="org.dive4elements.river.artifacts.sinfo.flood_duration.RiversideRadioChoice" helpText="help.state.sinfo.riverside">
       <data name="riverside" type="String" />
     </state>
 
+    <transition transition="org.dive4elements.river.artifacts.transitions.ValueCompareTransition">
+      <from state="state.sinfo.riverside" />
+      <to state="state.sinfo.flood_infrastructure" />
+      <condition data="calculation_mode" value="sinfo_calc_flood_duration" operator="equal" />
+    </transition>
+    <state id="state.sinfo.flood_infrastructure" description="state.sinfo.flood_infrastructure" state="org.dive4elements.river.artifacts.sinfo.flood_duration.FloodInfrastructure" helpText="help.state.sinfo.flood_infrastructure">
+      <data name="flood_infrastructure" type="String" />
+    </state>
+
     <state id="state.sinfo.wspl" description="state.sinfo.wspl" state="org.dive4elements.river.artifacts.sinfo.flood_duration.WsplChoice" helpText="help.state.sinfo.flood_duration.wspl">
       <data name="wspl" type="Boolean" />
     </state>
 
     <transition transition="org.dive4elements.river.artifacts.transitions.ValueCompareTransition">
-      <from state="state.sinfo.riverside" />
+      <from state="state.sinfo.flood_infrastructure" />
       <to state="state.sinfo.wspl" />
       <condition data="calculation_mode" value="sinfo_calc_flood_duration" operator="equal" />
     </transition>
@@ -359,35 +369,35 @@
       <outputmodes>
         <outputmode name="sinfo_flood_duration" description="output.sinfo_flood_duration" mime-type="image/png" type="chart">
           <facets>
-            <facet name="sinfo_facet_flood_duration.left" description="flood duration of the heights of the left bank infrastructures (points)"/>
-            <facet name="sinfo_facet_flood_duration.right" description="flood duration of the heights of the right bank infrastructures (points)"/>
-            <facet name="mainvalue.duration" description="flood duration of W main value"/>
+            <facet name="sinfo_facet_flood_duration.left" description="flood duration of the heights of the left bank infrastructures (points)" />
+            <facet name="sinfo_facet_flood_duration.right" description="flood duration of the heights of the right bank infrastructures (points)" />
+            <facet name="mainvalue.duration" description="flood duration of W main value" />
 
             <facet name="sinfo_flood_duration.manualpoints" description="Manual Points" />
           </facets>
         </outputmode>
         <outputmode name="sinfo_flood_height" description="output.sinfo_flood_height" mime-type="image/png" type="chart">
           <facets>
-            <facet name="sinfo_facet_flood_height.left" description="flood heights of the left bank infrastructures (points)"/>
-            <facet name="sinfo_facet_flood_height.right" description="flood heights of the right bank infrastructures (points)"/>
-            <facet name="mainvalue.w" description="W of main value"/>
-            
+            <facet name="sinfo_facet_flood_height.left" description="flood heights of the left bank infrastructures (points)" />
+            <facet name="sinfo_facet_flood_height.right" description="flood heights of the right bank infrastructures (points)" />
+            <facet name="mainvalue.w" description="W of main value" />
+
             <facet name="sinfo_flood_height.manualpoints" description="Manual Points" />
-       
+
           </facets>
         </outputmode>
         <outputmode name="sinfo_floodduration_curve" description="output.sinfo_duration_curve" mime-type="image/png" type="chart">
           <facets>
-            <facet name="duration_curve.w" description="facet.duration_curve.w"/>
-            <facet name="duration_curve.q" description="facet.duration_curve.q"/>
-            <facet name="infrastructure.w.left" description="w of the left bank infrastructure"/>
-            <facet name="infrastructure.w.right" description="w of the right bank infrastructure"/>
-            <facet name="infrastructure.q.left" description="q of the left bank infrastructure"/>
-            <facet name="infrastructure.q.right" description="q of the right bank infrastructure"/>
-            <facet name="sinfo.mainvalues.w" description="W Main Values"/>
-            <facet name="sinfo.mainvalues.q" description="Q Main Values at optional second axis"/>
+            <facet name="duration_curve.w" description="facet.duration_curve.w" />
+            <facet name="duration_curve.q" description="facet.duration_curve.q" />
+            <facet name="infrastructure.w.left" description="w of the left bank infrastructure" />
+            <facet name="infrastructure.w.right" description="w of the right bank infrastructure" />
+            <facet name="infrastructure.q.left" description="q of the left bank infrastructure" />
+            <facet name="infrastructure.q.right" description="q of the right bank infrastructure" />
+            <facet name="sinfo.mainvalues.w" description="W Main Values" />
+            <facet name="sinfo.mainvalues.q" description="Q Main Values at optional second axis" />
 
-            <facet name="sinfo_floodduration_curve.manualpoints" description="Manuelle Punkte"/>
+            <facet name="sinfo_floodduration_curve.manualpoints" description="Manuelle Punkte" />
           </facets>
         </outputmode>
 
@@ -397,8 +407,8 @@
             <facet name="pdf" description="facet.sinfo_flood_duration_export.pdf" />
           </facets>
         </outputmode>
- 
-         <outputmode name="sinfo_floodduration_report" description="output.sinfo_floodduration_report" mime-type="text/xml" type="report">
+
+        <outputmode name="sinfo_floodduration_report" description="output.sinfo_floodduration_report" mime-type="text/xml" type="report">
           <facets>
             <facet name="report" description="facet.sinfo_floodduration_report" />
           </facets>
@@ -428,8 +438,8 @@
       <data name="wq_step" type="Double" />
       <data name="wq_single" type="Double[]" />
     </state>
-    
-     <state id="state.sinfo.flood_duration.wq" description="state.sinfo.flood_duration.wq" state="org.dive4elements.river.artifacts.states.WQSelect" helpText="help.state.sinfo.flood_duration.wq">
+
+    <state id="state.sinfo.flood_duration.wq" description="state.sinfo.flood_duration.wq" state="org.dive4elements.river.artifacts.states.WQSelect" helpText="help.state.sinfo.flood_duration.wq">
       <data name="wq_isq" type="Boolean" />
       <data name="wq_isfree" type="Boolean" />
       <data name="wq_isrange" type="Boolean" />

http://dive4elements.wald.intevation.org