|
The SEDRIS Data Representation Model
APPENDIX A - Classes Scale Control Link |
|---|
The specialized <Control Link> used to provide the connection between an ordered aggregation of <Expressions> and the target fields of a <Scale>.
The expr_index field is a 1-based index into the ordered aggregation of <Expressions>, and is used to select the specific <Expression> that defines <Scale's> scale_amount field.
The lower_expr_index field is a 1-based index into the ordered aggregation of <Expressions>, and is used to select the specific <Expression> that defines the lower limit for <Scale's> scale_amount.
The upper_expr_index field is a 1-based index into the ordered aggregation of <Expressions>, and is used to select the specific <Expression> that defines the upper limit for <Scale's> scale_amount.
Consider a <Scale Control Link> instance that is to be driven using values from a <Property Table>. The table value that is to be used is to be specified from outside the transmittal.
For simplicity, in this example the controlling <Expression> is just the table value itself, rather than some more complex <Function> using the table value as an argument. Specifically, the <Scale Control Link> instance's controlling <Expression> is the <Predefined Function> SE_PREDEF_FUNC_TABLE_VALUE, the argument of which is a <Property Table Reference> referring to the <Property Table> containing the scale values, as shown in the instance diagram.
The <Variable> drives the < Property Table Reference Control Link>, so that it determines which value is referenced from the <Property Table>. To provide the hook for this <Variable> to be set from outside the transmittal, the <Variable> is associated with an < Interface Template> (not shown).
| SE_String | description; | (notes) |
|---|
| SE_Integer_Positive | expr_index; | (notes) |
|---|---|---|
| SE_Integer_Unsigned | lower_index; | (notes) |
| SE_Integer_Unsigned | upper_index; | (notes) |
A text description of what the <Control Link> is for
This identifies a component <Expression>, the value of which specifies the value of the scale_amount field of the affected <Scale> instances.
index of the expression defining the lower limit of the scaling An upper_index value of 0 means no lower limit was defined.
index of the expression defining the upper limit of the scaling. An upper_index value of 0 means no upper limit was defined.
|