.NET Based OPC UA Client/Server SDK
2.6.2.427
|
This VariableType defines the general characteristics of a DataItem. More...
Inherits UnifiedAutomation.UaServer.BaseDataVariableModel.
Inherited by UnifiedAutomation.UaServer.BaseAnalogModel, UnifiedAutomation.UaServer.DataItemModel< T >, and UnifiedAutomation.UaServer.DiscreteItemModel.
Public Member Functions | |
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 | |
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... | |
This VariableType defines the general characteristics of a DataItem.
All other DataItem Types derive from it. It defines the optional properties Definition and ValuePrecision. The DataItemType derives from the BaseDataVariableType.
|
inline |
Initializes a new instance of the DataItemModel class.
|
inline |
Initializes a new instance of the DataItemModel class.
template | The template. |
|
getset |
A vendor-specific, human readable string that specifies how the value of this DataItem is calculated.
Definition is non-localized and will often contain an equation that can be parsed by certain clients. Example: Definition::="(TempA - 25) + TempB"
|
getset |
Specifies the maximum precision that the server can maintain for the item based on restrictions in the target environment.
ValuePrecision can be used for the following DataTypes:
The ValuePrecision Property is an approximation that is intended to provide guidance to a Client. A Server is expected to silently round any value with more precision that it supports. This implies that a Client may encounter cases where the value read back from a Server differs from the value that it wrote to the Server. This difference shall be no more than the difference suggested by this Property.