.NET Based OPC UA Client/Server SDK
2.5.3.389
|
Defines the general characteristics of a DiscreteItem that can have more than two states. More...
Inherits UnifiedAutomation.UaServer.DiscreteItemModel.
Inherited by UnifiedAutomation.UaServer.MultiStateDiscreteModel< T >.
Public Member Functions | |
MultiStateDiscreteModel () | |
Initializes a new instance of the MultiStateDiscreteModel class. More... | |
MultiStateDiscreteModel (MultiStateDiscreteModel template) | |
Initializes a new instance of the MultiStateDiscreteModel class. More... | |
Public Member Functions inherited from UnifiedAutomation.UaServer.DiscreteItemModel | |
DiscreteItemModel () | |
Initializes a new instance of the DiscreteItemModel class. More... | |
DiscreteItemModel (DiscreteItemModel template) | |
Initializes a new instance of the DiscreteItemModel class. More... | |
Public Member Functions inherited from UnifiedAutomation.UaServer.DataItemModel | |
DataItemModel () | |
Initializes a new instance of the DataItemModel class. More... | |
DataItemModel (DataItemModel template) | |
Initializes a new instance of the DataItemModel class. More... | |
Public Member Functions inherited from UnifiedAutomation.UaServer.BaseDataVariableModel | |
BaseDataVariableModel () | |
Initializes a new instance of the BaseDataVariableModel class. More... | |
BaseDataVariableModel (BaseDataVariableModel template) | |
Initializes a new instance of the BaseDataVariableModel class. More... | |
Public Member Functions inherited from UnifiedAutomation.UaServer.BaseVariableModel | |
BaseVariableModel () | |
Initializes a new instance of the BaseVariableModel class. More... | |
BaseVariableModel (BaseVariableModel template) | |
Initializes a new instance of the BaseVariableModel class. More... | |
Public Member Functions inherited from UnifiedAutomation.UaServer.ModelControllerBase | |
virtual ModelHandle | GetModelHandle (StringTable namespaceUris, object instance) |
Gets the metadata handle. More... | |
virtual DataValue | GetValue (IMapperContext context, ModelMapping mapping) |
Gets the value associated with the mapping. More... | |
virtual bool | SetValue (IMapperContext context, ModelMapping mapping, DataValue value) |
Sets the value associated with the mapping. More... | |
Properties | |
LocalizedText[] | EnumStrings [get, set] |
EnumStrings is a string lookup table corresponding to sequential numeric values of the variable (0, 1, 2, etc.). More... | |
Properties inherited from UnifiedAutomation.UaServer.DataItemModel | |
string | Definition [get, set] |
A vendor-specific, human readable string that specifies how the value of this DataItem is calculated. More... | |
double | ValuePrecision [get, set] |
Specifies the maximum precision that the server can maintain for the item based on restrictions in the target environment. More... | |
Properties inherited from UnifiedAutomation.UaServer.BaseVariableModel | |
object | Value [get, set] |
Gets or sets the value. More... | |
Properties inherited from UnifiedAutomation.UaServer.ModelControllerBase | |
ModelHandle | ModelHandle [get, set] |
Gets or sets the metadata handle. More... | |
object | UserData [get, set] |
Gets or sets the user data. More... | |
Defines the general characteristics of a DiscreteItem that can have more than two states.
The value of the DiscreteItem is delivered as UInteger but the EnumStrings Property defined by the MultiStateDiscreteType provides display strings for every possible state value.
The EnumStrings Property is also used for Enumeration DataTypes.
The StatusCode delivered with the value also contains an informational bit called SemanticsChanged. Servers that implement Data Access shall set this Bit in notifications if the EnumStrings (changes can cause misinterpretation by users or (scripting) programs) Property is changed. Clients that use any of these Properties should re-read them before they process the data value.
In addition a server can send SemanticChangeEvents if the value of the Property EnumStrings is changed. To indicate this capability, the SemanticChange flag must be set in the AccessLevel and UserAccessLevel attributes of this variable.
|
inline |
Initializes a new instance of the MultiStateDiscreteModel class.
|
inline |
Initializes a new instance of the MultiStateDiscreteModel class.
template | The template. |
|
getset |
EnumStrings is a string lookup table corresponding to sequential numeric values of the variable (0, 1, 2, etc.).
Example:"OPEN""CLOSE""IN TRANSIT" etc. Here the string"OPEN" corresponds to 0, "CLOSE" to 1 and"IN TRANSIT" to 2.
If the item contains an array then this lookup table shall apply to all elements in the array.
The EnumStrings Property is also used for Enumeration DataTypes.