Description | string | Discrete value of the metric.
The possible discrete values are defined using the Values and ValueMap qualifiers. Any derived class of this class shall define the set of possible discrete values in overridden Values and ValueMap qualifiers. The Values qualifiers are string representations of the discrete values and are interpreted as a datatype and unit defined in the Datatype and Unit properties of the associated DiscreteMetricDefinition instance.
An according derived class of DiscreteMetricDefinition shall define the same set of possible discrete values in overridden qualifiers of its DiscreteValues array property. The value is calculated from the Value property of the associated analog BaseMetricValue instance, using the DiscreteValues, AnalogTriggerValues and AnalogResetValues arrays of the associated DiscreteMetricDefinition. The behavior for the value is undefined if AnalogTriggerValues[i] <= AnalogResetValue[i] for any i >= BaseIndex, or AnalogTriggerValues[i] >= AnalogResetValues[i] for any i < BaseIndex (that is, the trigger values are not farther away from the base than the reset values).
The analog value shall still be provided in the Value property of this instance. Note that it is also available in the Value property of the according analog BaseMetricValue instance. |