pub struct VariableCharacteristics {
pub unit: Option<String>,
pub data_type: DataEnum,
pub min_limit: Option<f64>,
pub max_limit: Option<f64>,
pub max_elements: Option<i64>,
pub values_list: Option<String>,
pub supports_monitoring: bool,
pub custom_data: Option<CustomData>,
}Expand description
Fixed read-only parameters of a variable.
Fields§
§unit: Option<String>Unit of the variable. When the transmitted value has a unit, this field SHALL be included.
data_type: DataEnum§min_limit: Option<f64>Minimum possible value of this variable.
max_limit: Option<f64>Maximum possible value of this variable. When the datatype of this Variable is String, OptionList, SequenceList or MemberList, this field defines the maximum length of the (CSV) string.
max_elements: Option<i64>(2.1) Maximum number of elements from valuesList that are supported as attributeValue.
values_list: Option<String>Mandatory when dataType = OptionList, MemberList or SequenceList. In that case valuesList specifies the allowed values for the type. The length of this field can be limited by DeviceDataCtrlr.ConfigurationValueSize.
- OptionList: The (Actual) Variable value must be a single value from the reported (CSV) enumeration list.
- MemberList: The (Actual) Variable value may be an (unordered) (sub-)set of the reported (CSV) valid values list.
- SequenceList: The (Actual) Variable value may be an ordered (priority, etc) (sub-)set of the reported (CSV) valid values.
This is a comma separated list. The Configuration Variable <<configkey-configuration-value-size,ConfigurationValueSize>> can be used to limit SetVariableData.attributeValue and VariableCharacteristics.valuesList. The max size of these values will always remain equal.
supports_monitoring: boolFlag indicating if this variable supports monitoring.
custom_data: Option<CustomData>