diff artifacts/doc/conf/artifacts/sinfo.xml @ 9265:e5367900dd6d

Small cleanup concerning getPoints Adding validStations as dataItem to flood duration calculation Flood duration now km aware
author gernotbelger
date Tue, 17 Jul 2018 19:48:28 +0200
parents 66b003701546
children 06a581ffdd3f
line wrap: on
line diff
--- a/artifacts/doc/conf/artifacts/sinfo.xml	Tue Jul 17 19:48:23 2018 +0200
+++ b/artifacts/doc/conf/artifacts/sinfo.xml	Tue Jul 17 19:48:28 2018 +0200
@@ -25,6 +25,12 @@
     <state id="state.sinfo.distance_only" description="state.sinfo.distance_only" state="org.dive4elements.river.artifacts.states.DistanceOnlySelect" helpText="help.state.sinfo.distance_only">
       <data name="ld_from" type="Double" />
       <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.
+       -->    
+      <data name="validStations" type="String" />
     </state>
 
     <transition transition="org.dive4elements.river.artifacts.transitions.ValueCompareTransition">

http://dive4elements.wald.intevation.org