view flys-artifacts/doc/conf/artifacts/minfo.xml @ 3109:63ef889eea2b

SQ: Directly sample our Function objects instead of Function2D from JFreeChart. flys-artifacts/trunk@4708 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 19 Jun 2012 15:39:02 +0000
parents 0d3dd8230064
children ae14f412ba10
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<artifact name="minfo">

    <states>
        <state id="state.minfo.river" description="state.minfo.river" state="de.intevation.flys.artifacts.states.RiverSelect" helpText="help.index">
            <data name="river" type="String" />
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
                <from state="state.minfo.river"/>
                <to state="state.minfo.calculation_mode"/>
        </transition>

        <state id="state.minfo.calculation_mode" description="state.minfo.calculation_mode" state="de.intevation.flys.artifacts.states.CalculationSelectMinfo" helpText="help.minfo">
            <data name="calculation_mode" type="String"/>
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
            <from state="state.minfo.calculation_mode"/>
            <to state="state.minfo.distance_only"/>
            <condition data="calculation_mode" value="calc.flow.velocity" operator="equal"/>
        </transition>

        <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
            <from state="state.minfo.calculation_mode"/>
            <to state="state.minfo.distance_only"/>
            <condition data="calculation_mode" value="calc.bed.middle" operator="equal"/>
        </transition>

        <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
            <from state="state.minfo.calculation_mode"/>
            <to state="state.minfo.sq.location"/>
            <condition data="calculation_mode" value="calc.sq.relation" operator="equal"/>
        </transition>

        <state id="state.minfo.distance_only" description="state.minfo.distance_only" state="de.intevation.flys.artifacts.states.DistanceOnlySelect" helpText="help.minfo.distance">
            <data name="ld_from" type="Double" />
            <data name="ld_to"   type="Double" />
        </state>

        <state id="state.minfo.sq.location" description="state.minfo.sq.location" state="de.intevation.flys.artifacts.states.LocationSelect" helpText="help.minfo.sq.loaction">
            <data name="ld_locations" type="double"/>
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
            <from state="state.minfo.distance_only"/>
            <to state="state.minfo.dischargestate"/>
            <condition data="calculation_mode" value="calc.flow.velocity" operator="equal"/>
        </transition>

        <transition transition="de.intevation.flys.artifacts.transitions.ValueCompareTransition">
            <from state="state.minfo.distance_only"/>
            <to state="state.minfo.soundings"/>
            <condition data="calculation_mode" value="calc.bed.middle" operator="equal"/>
        </transition>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.minfo.sq.location"/>
            <to state="state.minfo.sq.periods"/>
        </transition>

        <state id="state.minfo.dischargestate" description="state.minfo.dischargestate" state="de.intevation.flys.artifacts.states.DischargeState" helpText="help.minfo.dischargestate">
            <data name="total.channel" type="intoptions"/>
            <data name="main.channel"  type="intoptions"/>
        </state>

        <state id="state.minfo.soundings" description="state.minfo.soundingsstate" state="de.intevation.flys.artifacts.states.SoundingsSelect" helpText="help.minfo.soundingsstate">
            <data name="soundings" type="options"/>
        </state>

        <state id="state.minfo.sq.periods" description="state.minfo.sq.periods" state="de.intevation.flys.artifacts.states.PeriodsSelect">
            <data name="periods" type="Long[]"/>
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.minfo.dischargestate"/>
            <to state="state.minfo.flow_velocity"/>
        </transition>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.minfo.soundings"/>
            <to state="state.minfo.bedheight_middle"/>
        </transition>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.minfo.sq.periods"/>
            <to state="state.minfo.sq.outliers"/>
        </transition>

        <state id="state.minfo.flow_velocity" description="state.minfo.flow_velocity" state="de.intevation.flys.artifacts.states.FlowVelocityState" helpText="help.minfo.flowvelocity">
            <outputmodes>
                <outputmode name="flow_velocity" description="output.flow_velocity" mime-type="image/png" type="chart">
                    <facets>
                        <facet name="flow_velocity.totalchannel" description="A facet for total channels"/>
                        <facet name="flow_velocity.mainchannel" description="A facet for main channels"/>
                        <facet name="flow_velocity.tau" description="A facet for tau"/>
                    </facets>
                </outputmode>
                <outputmode name="flow_velocity_export" description="output.flow_velocity_export" mime-type="text/plain" type="export">
                    <facets>
                        <facet name="csv" description="facet.flow_velocity_export.csv" />
                        <!--
                        <facet name="pdf" description="facet.historical_discharge.pdf" />
                        -->
                    </facets>
                </outputmode>
            </outputmodes>
        </state>

        <state id="state.minfo.bedheight_middle" description="state.minfo.bedheight_middle" state="de.intevation.flys.artifacts.states.MiddleBedHeight" helpText="help.minfo.bedheight_middle">
            <outputmodes>
                <outputmode name="bedheight_middle" description="output.bedheight_middle" mime-type="image/png" type="chart">
                    <facets>
                        <facet name="bedheight_middle.single" description="A facet for total channels"/>
                        <facet name="bedheight_middle.epoch" description="A facet for total channels"/>
                    </facets>
                </outputmode>
                <outputmode name="bedheight_middle_export" description="output.bedheight_middle_export" mime-type="text/plain" type="export">
                    <facets>
                        <facet name="csv" description="facet.bedheight_middle_export.csv" />
                        <!--
                        <facet name="pdf" description="facet.historical_discharge.pdf" />
                        -->
                    </facets>
                </outputmode>
            </outputmodes>
        </state>

        <state id="state.minfo.sq.outliers" description="state.minfo.sq.outliers" state="de.intevation.flys.artifacts.states.OutliersInput" helpText="help.minfo.sq.outliers">
            <data name="outliers" type="Double"/>
        </state>

        <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
            <from state="state.minfo.sq.outliers"/>
            <to state="state.minfo.sq.relation"/>
        </transition>

        <state id="state.minfo.sq.relation" description="state.minfo.sq.relation" state="de.intevation.flys.artifacts.states.SQRelation">
            <outputmodes>
                <outputmode name="sq_relation_a" description="output.sq_relation" type="chart">
                    <facets>
                        <facet name="sq_a_measurement" description="A facet for sq measurements"/>
                        <facet name="sq_a_outlier" description="A facet fo sq outliers"/>
                        <facet name="sq_a_curve" description="A facet for sq curve"/>
                    </facets>
                </outputmode>
                <outputmode name="sq_relation_b" description="output.sq_relation" type="chart">
                    <facets>
                        <facet name="sq_b_measurement" description="A facet for sq measurements"/>
                        <facet name="sq_b_outlier" description="A facet fo sq outliers"/>
                        <facet name="sq_b_curve" description="A facet for sq curve"/>
                    </facets>
                </outputmode>
                <outputmode name="sq_relation_c" description="output.sq_relation" type="chart">
                    <facets>
                        <facet name="sq_c_measurement" description="A facet for sq measurements"/>
                        <facet name="sq_c_outlier" description="A facet fo sq outliers"/>
                        <facet name="sq_c_curve" description="A facet for sq curve"/>
                    </facets>
                </outputmode>
                <outputmode name="sq_relation_d" description="output.sq_relation" type="chart">
                    <facets>
                        <facet name="sq_d_measurement" description="A facet for sq measurements"/>
                        <facet name="sq_d_outlier" description="A facet fo sq outliers"/>
                        <facet name="sq_d_curve" description="A facet for sq curve"/>
                    </facets>
                </outputmode>
                <outputmode name="sq_relation_e" description="output.sq_relation" type="chart">
                    <facets>
                        <facet name="sq_e_measurement" description="A facet for sq measurements"/>
                        <facet name="sq_e_outlier" description="A facet fo sq outliers"/>
                        <facet name="sq_e_curve" description="A facet for sq curve"/>
                    </facets>
                </outputmode>
                <outputmode name="sq_relation_f" description="output.sq_relation" type="chart">
                    <facets>
                        <facet name="sq_f_measurement" description="A facet for sq measurements"/>
                        <facet name="sq_f_outlier" description="A facet fo sq outliers"/>
                        <facet name="sq_f_curve" description="A facet for sq curve"/>
                    </facets>
                </outputmode>
                <outputmode name="sq_relation_export" description="output.sq_relation_export" type="export">
                    <facets>
                        <facet name="csv" description="facet.sq_export.csv" />
                        <facet name="pdf" description="facet.sq_export.pdf" />
                    </facets>
                </outputmode>
            </outputmodes>
        </state>
    </states>

</artifact>

http://dive4elements.wald.intevation.org