xtce:DynamicValue

Uses a parameter  to for the value.  The parameter value may be optionally adjusted by a Linear function or use a series of boolean expressions to lookup the value.  Anything more complex and a DynamicValue with a CustomAlgorithm may be used

Element Information

Model

Source

<element name="DynamicValue">
  <annotation>
    <documentation>Uses a parameter to for the value. The parameter value may be optionally adjusted by a Linear function or use a series of boolean expressions to lookup the value. Anything more complex and a DynamicValue with a CustomAlgorithm may be used</documentation>
  </annotation>
  <complexType>
    <sequence>
      <element name="ParameterInstanceRef" type="xtce:ParameterInstanceRefType"/>
      <element name="LinearAdjustment" minOccurs="0">
        <annotation>
          <documentation>A slope and intercept may be applied to scale or shift the value of the parameter in the dynamic value</documentation>
        </annotation>
        <complexType>
          <attribute name="slope" type="integer" default="0"/>
          <attribute name="intercept" type="integer" default="0"/>
        </complexType>
      </element>
    </sequence>
  </complexType>
</element>

Sample