view artifacts/doc/conf/artifacts/sqrelation.xml @ 8472:3f505fba522f

(issue1772) Use 0.001km tolarance instead of 0.1 to find matching km. There is no sense to use a define here. I will not write static final double NULLPOINTNULLNULLONE=0.001 if i just want to use that value and not any other value which may make sense in some other place. Using hardcoded values can have its merits and makes the code easier to read.
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 18 Nov 2014 15:24:40 +0100
parents a5fbcdd85359
children
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<artifact name="staticsqrelation">
    <states>
        <state id="state.sqrelation.init" description="state.sqrelation.init" state="org.dive4elements.river.artifacts.states.sq.SQInitState">
            <data name="river" type="String"/>
            <data name="station" type="Integer" />
            <data name="station_name" type="String" />
            <data name="ld_locations" type="String" />
        </state>
        <transition transition="org.dive4elements.river.artifacts.transitions.DefaultTransition">
            <from state="state.sqrelation.init"/>
            <to state="state.sqrelation.static"/>
        </transition>
         <state id="state.sqrelation.static" description="state.sqrelation.static" state="org.dive4elements.river.artifacts.states.sq.SQStaticState">
            <outputmodes>
                <outputmode name="sq_relation_a" description="output.sq_relation" type="chart">
                    <facets>
                        <facet name="sq_a_curve" description="A facet for sq curve"/>
                        <facet name="sq_relation_a.manualpoints" />
                    </facets>
                </outputmode>
                <outputmode name="sq_relation_b" description="output.sq_relation" type="chart">
                    <facets>
                        <facet name="sq_b_curve" description="A facet for sq curve"/>
                        <facet name="sq_relation_b.manualpoints" />
                    </facets>
                </outputmode>
                <outputmode name="sq_relation_c" description="output.sq_relation" type="chart">
                    <facets>
                        <facet name="sq_c_curve" description="A facet for sq curve"/>
                        <facet name="sq_relation_c.manualpoints" />
                    </facets>
                </outputmode>
                <outputmode name="sq_relation_d" description="output.sq_relation" type="chart">
                    <facets>
                        <facet name="sq_d_curve" description="A facet for sq curve"/>
                        <facet name="sq_relation_d.manualpoints" />
                    </facets>
                </outputmode>
                <outputmode name="sq_relation_e" description="output.sq_relation" type="chart">
                    <facets>
                        <facet name="sq_e_curve" description="A facet for sq curve"/>
                        <facet name="sq_relation_e.manualpoints" />
                    </facets>
                </outputmode>
                <outputmode name="sq_relation_f" description="output.sq_relation" type="chart">
                    <facets>
                        <facet name="sq_relation_f.manualpoints" />
                        <facet name="sq_f_curve" description="A facet for sq curve"/>
                    </facets>
                </outputmode>
                <outputmode name="sq_relation_g" description="output.sq_relation" type="chart">
                    <facets>
                        <facet name="sq_relation_g.manualpoints" />
                        <facet name="sq_g_curve" description="A facet for sq curve"/>
                    </facets>
                </outputmode>
            </outputmodes>
         </state>
    </states>
</artifact>

http://dive4elements.wald.intevation.org