Reference
OpcDataItemNode Members
Defines a specialisation of the OpcDataVariableNode which defines the general characteristics of a data item.
Reference
OpcDataItemNode Members
- Type
- OpcDataItemNode
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Inherits members from OpcVariableNode, OpcInstanceNode, OpcNode.
Constructors
OpcDataItemNode
| Overload | Description |
|---|---|
| OpcDataItemNode( | Initializes a new instance of the OpcDataItemNode class accessible by the name specified. |
| OpcDataItemNode( | Initializes a new instance of the OpcDataItemNode class accessible by the name specified with the initial value given by value. |
| OpcDataItemNode( | Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified. |
| OpcDataItemNode( | Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified with the initial value given by value. |
| OpcDataItemNode( | Initializes a new instance of the OpcDataItemNode class accessible by the name specified as a child node of the parent node given. |
| OpcDataItemNode( | Initializes a new instance of the OpcDataItemNode class accessible by the name specified with the initial value defined by value as a child node of the parent node given. |
| OpcDataItemNode( | Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified as a child node of the parent node given. |
| OpcDataItemNode( | Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified with the initial value defined by value as a child node of the parent node given. |
| OpcDataItemNode( | Initializes a new instance of the OpcDataItemNode class using the content as the instance to wrap. |
| OpcDataItemNode( | Initializes a new instance of the OpcDataItemNode class using the content as the instance to wrap. |
| OpcDataItemNode( | Initializes a new instance of the OpcDataItemNode class accessible by the name specified. |
| OpcDataItemNode( | Initializes a new instance of the OpcDataItemNode class accessible by the name specified with the initial value given by value. |
| OpcDataItemNode( | Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified. |
| OpcDataItemNode( | Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified with the initial value given by value. |
| OpcDataItemNode( | Initializes a new instance of the OpcDataItemNode class accessible by the name specified as a child node of the parent node given. |
| OpcDataItemNode( | Initializes a new instance of the OpcDataItemNode class accessible by the name specified with the initial value defined by value as a child node of the parent node given. |
| OpcDataItemNode( | Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified as a child node of the parent node given. |
| OpcDataItemNode( | Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified with the initial value defined by value as a child node of the parent node given. |
OpcDataItemNode(OpcName)
Initializes a new instance of the OpcDataItemNode class accessible by the name specified.
public OpcDataItemNode(OpcName name)Public Sub New(name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new data item node can be accessed. |
OpcDataItemNode(OpcName, object)
Initializes a new instance of the OpcDataItemNode class accessible by the name specified with the initial value given by value.
public OpcDataItemNode(OpcName name, object value)Public Sub New(name As OpcName, value As Object)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new data item node can be accessed. |
value | Object | The initial value of the new data item node. |
OpcDataItemNode(OpcName, OpcNodeId)
Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified.
public OpcDataItemNode(OpcName name, OpcNodeId id)Public Sub New(name As OpcName, id As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new data item node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new data item node can be identified and accessed. |
OpcDataItemNode(OpcName, OpcNodeId, object)
Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified with the initial value given by value.
public OpcDataItemNode(OpcName name, OpcNodeId id, object value)Public Sub New(name As OpcName, id As OpcNodeId, value As Object)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new data item node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new data item node can be identified and accessed. |
value | Object | The initial value of the new data item node. |
OpcDataItemNode(IOpcNode, OpcName)
Initializes a new instance of the OpcDataItemNode class accessible by the name specified as a child node of the parent node given.
public OpcDataItemNode(IOpcNode parent, OpcName name)Public Sub New(parent As IOpcNode, name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new data item node can be accessed. |
OpcDataItemNode(IOpcNode, OpcName, object)
Initializes a new instance of the OpcDataItemNode class accessible by the name specified with the initial value defined by value as a child node of the parent node given.
public OpcDataItemNode(IOpcNode parent, OpcName name, object value)Public Sub New(parent As IOpcNode, name As OpcName, value As Object)Parameters
| Name | Type | Description |
|---|---|---|
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new data item node can be accessed. |
value | Object | The initial value of the new data item node. |
OpcDataItemNode(IOpcNode, OpcName, OpcNodeId)
Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified as a child node of the parent node given.
public OpcDataItemNode(IOpcNode parent, OpcName name, OpcNodeId id)Public Sub New(parent As IOpcNode, name As OpcName, id As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new data item node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new data item node can be identified and accessed. |
OpcDataItemNode(IOpcNode, OpcName, OpcNodeId, object)
Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified with the initial value defined by value as a child node of the parent node given.
public OpcDataItemNode(
IOpcNode parent,
OpcName name,
OpcNodeId id,
object value)Public Sub New(
parent As IOpcNode,
name As OpcName,
id As OpcNodeId,
value As Object)Parameters
| Name | Type | Description |
|---|---|---|
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new data item node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new data item node can be identified and accessed. |
value | Object | The initial value of the new data item node. |
OpcDataItemNode(DataItemState)
Initializes a new instance of the OpcDataItemNode class using the content as the instance to wrap.
protected OpcDataItemNode(DataItemState content)Protected Sub New(content As DataItemState)Parameters
| Name | Type | Description |
|---|---|---|
content | DataItemState | The DataItemState to wrap. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The content is a null reference ( |
OpcDataItemNode(DataItemState, OpcNodeModel)
Initializes a new instance of the OpcDataItemNode class using the content as the instance to wrap.
protected OpcDataItemNode(DataItemState content, OpcNodeModel model)Protected Sub New(content As DataItemState, model As OpcNodeModel)Parameters
| Name | Type | Description |
|---|---|---|
content | DataItemState | The DataItemState to wrap. |
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The content is a null reference ( |
OpcDataItemNode(OpcNodeModel, OpcName)
Initializes a new instance of the OpcDataItemNode class accessible by the name specified.
protected OpcDataItemNode(OpcNodeModel model, OpcName name)Protected Sub New(model As OpcNodeModel, name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
name | OpcName | The OpcName through that the new data item node can be accessed. |
OpcDataItemNode(OpcNodeModel, OpcName, object)
Initializes a new instance of the OpcDataItemNode class accessible by the name specified with the initial value given by value.
protected OpcDataItemNode(OpcNodeModel model, OpcName name, object value)Protected Sub New(model As OpcNodeModel, name As OpcName, value As Object)Parameters
| Name | Type | Description |
|---|---|---|
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
name | OpcName | The OpcName through that the new data item node can be accessed. |
value | Object | The initial value of the new data item node. |
OpcDataItemNode(OpcNodeModel, OpcName, OpcNodeId)
Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified.
protected OpcDataItemNode(OpcNodeModel model, OpcName name, OpcNodeId id)Protected Sub New(model As OpcNodeModel, name As OpcName, id As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
name | OpcName | The OpcName through that the new data item node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new data item node can be identified and accessed. |
OpcDataItemNode(OpcNodeModel, OpcName, OpcNodeId, object)
Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified with the initial value given by value.
protected OpcDataItemNode(
OpcNodeModel model,
OpcName name,
OpcNodeId id,
object value)Protected Sub New(
model As OpcNodeModel,
name As OpcName,
id As OpcNodeId,
value As Object)Parameters
| Name | Type | Description |
|---|---|---|
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
name | OpcName | The OpcName through that the new data item node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new data item node can be identified and accessed. |
value | Object | The initial value of the new data item node. |
OpcDataItemNode(OpcNodeModel, IOpcNode, OpcName)
Initializes a new instance of the OpcDataItemNode class accessible by the name specified as a child node of the parent node given.
protected OpcDataItemNode(OpcNodeModel model, IOpcNode parent, OpcName name)Protected Sub New(model As OpcNodeModel, parent As IOpcNode, name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new data item node can be accessed. |
OpcDataItemNode(OpcNodeModel, IOpcNode, OpcName, object)
Initializes a new instance of the OpcDataItemNode class accessible by the name specified with the initial value defined by value as a child node of the parent node given.
protected OpcDataItemNode(
OpcNodeModel model,
IOpcNode parent,
OpcName name,
object value)Protected Sub New(
model As OpcNodeModel,
parent As IOpcNode,
name As OpcName,
value As Object)Parameters
| Name | Type | Description |
|---|---|---|
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new data item node can be accessed. |
value | Object | The initial value of the new data item node. |
OpcDataItemNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId)
Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified as a child node of the parent node given.
protected OpcDataItemNode(
OpcNodeModel model,
IOpcNode parent,
OpcName name,
OpcNodeId id)Protected Sub New(
model As OpcNodeModel,
parent As IOpcNode,
name As OpcName,
id As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new data item node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new data item node can be identified and accessed. |
OpcDataItemNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId, object)
Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified with the initial value defined by value as a child node of the parent node given.
protected OpcDataItemNode(
OpcNodeModel model,
IOpcNode parent,
OpcName name,
OpcNodeId id,
object value)Protected Sub New(
model As OpcNodeModel,
parent As IOpcNode,
name As OpcName,
id As OpcNodeId,
value As Object)Parameters
| Name | Type | Description |
|---|---|---|
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new data item node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new data item node can be identified and accessed. |
value | Object | The initial value of the new data item node. |
Properties
DefaultTypeDefinitionId
Gets the default identifier which identifies the node that defines the underlying node type from that this OpcInstanceNode has been created.
protected override OpcNodeId DefaultTypeDefinitionId { get; }Protected Overrides ReadOnly Property DefaultTypeDefinitionId As OpcNodeIdProperty value
The OpcNodeId of the type node from that this OpcInstanceNode has been created from. These type node defines the typical structure of an instance node of its type definition. If there exists no specific type definition node a null reference (Nothing in Visual Basic).
Overrides
Definition
Gets or sets a vendor-specific, human readable string that specifies how the value of this data item is calculated.
public string Definition { get; set; }Public Property Definition As StringProperty value
A non-localized value which will often contain an equation that can be parsed by certain clients.
DefinitionNode
Gets the OpcPropertyNode<T> of the Definition property.
public OpcPropertyNode<string> DefinitionNode { get; }Public ReadOnly Property DefinitionNode As OpcPropertyNode(Of String)Property value
An instance of the OpcPropertyNode<T> class.
ValuePrecision
Gets or sets a value which specifies the maximum precision that the server can maintain for the item based on restrictions in the target environment.
public double ValuePrecision { get; set; }Public Property ValuePrecision As DoubleProperty value
The maximum precision that the server can maintain for the item.
Remarks
The property can be used for the following OpcDataTypes:
- For Float and Double values it specifies the number of digits after the decimal place.
- For DateTime values it indicates the minimum time difference in nanoseconds. For example, a ValuePrecision of 20 000 000 defines a precision of 20 ms.
The value 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 should be no more than the difference suggested by this property.
ValuePrecisionNode
Gets the OpcPropertyNode<T> of the ValuePrecision property.
public OpcPropertyNode<double> ValuePrecisionNode { get; }Public ReadOnly Property ValuePrecisionNode As OpcPropertyNode(Of Double)Property value
An instance of the OpcPropertyNode<T> class.
Methods
InitializeDefaults
Initializes the default values used by the OpcDataItemNode.
protected override void InitializeDefaults()Protected Overrides Sub InitializeDefaults()Overrides
Remarks
This method is used to ensure the availability of appropriate node specific default values. For more information like when this method is to be overwritten see InitializeDefaults.

