Skip to content

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 ​

18 overloads

OverloadDescription
OpcDataItemNode(OpcName)Initializes a new instance of the OpcDataItemNode class accessible by the name specified.
OpcDataItemNode(OpcName, object)Initializes a new instance of the OpcDataItemNode class accessible by the name specified with the initial value given by value.
OpcDataItemNode(OpcName, OpcNodeId)Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified.
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.
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.
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.
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.
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.
OpcDataItemNode(DataItemState)protected · since v2.50Initializes a new instance of the OpcDataItemNode class using the content as the instance to wrap.
OpcDataItemNode(DataItemState, OpcNodeModel)protected · since v2.50Initializes a new instance of the OpcDataItemNode class using the content as the instance to wrap.
OpcDataItemNode(OpcNodeModel, OpcName)protected · since v2.50Initializes a new instance of the OpcDataItemNode class accessible by the name specified.
OpcDataItemNode(OpcNodeModel, OpcName, object)protected · since v2.50Initializes a new instance of the OpcDataItemNode class accessible by the name specified with the initial value given by value.
OpcDataItemNode(OpcNodeModel, OpcName, OpcNodeId)protected · since v2.50Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified.
OpcDataItemNode(OpcNodeModel, OpcName, OpcNodeId, object)protected · since v2.50Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified with the initial value given by value.
OpcDataItemNode(OpcNodeModel, IOpcNode, OpcName)protected · since v2.50Initializes a new instance of the OpcDataItemNode class accessible by the name specified as a child node of the parent node given.
OpcDataItemNode(OpcNodeModel, IOpcNode, OpcName, object)protected · since v2.50Initializes 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(OpcNodeModel, IOpcNode, OpcName, OpcNodeId)protected · since v2.50Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified as a child node of the parent node given.
OpcDataItemNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId, object)protected · since v2.50Initializes 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.

csharp
public OpcDataItemNode(OpcName name)
vbnet
Public Sub New(name As OpcName)

Parameters

NameTypeDescription
nameOpcNameThe 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.

csharp
public OpcDataItemNode(OpcName name, object value)
vbnet
Public Sub New(name As OpcName, value As Object)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new data item node can be accessed.
valueObjectThe 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.

csharp
public OpcDataItemNode(OpcName name, OpcNodeId id)
vbnet
Public Sub New(name As OpcName, id As OpcNodeId)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new data item node can be accessed.
idOpcNodeIdThe 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.

csharp
public OpcDataItemNode(OpcName name, OpcNodeId id, object value)
vbnet
Public Sub New(name As OpcName, id As OpcNodeId, value As Object)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new data item node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new data item node can be identified and accessed.
valueObjectThe 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.

csharp
public OpcDataItemNode(IOpcNode parent, OpcName name)
vbnet
Public Sub New(parent As IOpcNode, name As OpcName)

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe 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.

csharp
public OpcDataItemNode(IOpcNode parent, OpcName name, object value)
vbnet
Public Sub New(parent As IOpcNode, name As OpcName, value As Object)

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new data item node can be accessed.
valueObjectThe 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.

csharp
public OpcDataItemNode(IOpcNode parent, OpcName name, OpcNodeId id)
vbnet
Public Sub New(parent As IOpcNode, name As OpcName, id As OpcNodeId)

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new data item node can be accessed.
idOpcNodeIdThe 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.

csharp
public OpcDataItemNode(
    IOpcNode parent,
    OpcName name,
    OpcNodeId id,
    object value)
vbnet
Public Sub New(
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId,
    value As Object)

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new data item node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new data item node can be identified and accessed.
valueObjectThe initial value of the new data item node.

OpcDataItemNode(DataItemState) ​

protected · since v2.50

Initializes a new instance of the OpcDataItemNode class using the content as the instance to wrap.

csharp
protected OpcDataItemNode(DataItemState content)
vbnet
Protected Sub New(content As DataItemState)

Parameters

NameTypeDescription
contentDataItemStateThe DataItemState to wrap.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe content is a null reference (Nothing in Visual Basic).

OpcDataItemNode(DataItemState, OpcNodeModel) ​

protected · since v2.50

Initializes a new instance of the OpcDataItemNode class using the content as the instance to wrap.

csharp
protected OpcDataItemNode(DataItemState content, OpcNodeModel model)
vbnet
Protected Sub New(content As DataItemState, model As OpcNodeModel)

Parameters

NameTypeDescription
contentDataItemStateThe DataItemState to wrap.
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe content is a null reference (Nothing in Visual Basic).

OpcDataItemNode(OpcNodeModel, OpcName) ​

protected · since v2.50

Initializes a new instance of the OpcDataItemNode class accessible by the name specified.

csharp
protected OpcDataItemNode(OpcNodeModel model, OpcName name)
vbnet
Protected Sub New(model As OpcNodeModel, name As OpcName)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
nameOpcNameThe OpcName through that the new data item node can be accessed.

OpcDataItemNode(OpcNodeModel, OpcName, object) ​

protected · since v2.50

Initializes a new instance of the OpcDataItemNode class accessible by the name specified with the initial value given by value.

csharp
protected OpcDataItemNode(OpcNodeModel model, OpcName name, object value)
vbnet
Protected Sub New(model As OpcNodeModel, name As OpcName, value As Object)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
nameOpcNameThe OpcName through that the new data item node can be accessed.
valueObjectThe initial value of the new data item node.

OpcDataItemNode(OpcNodeModel, OpcName, OpcNodeId) ​

protected · since v2.50

Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified.

csharp
protected OpcDataItemNode(OpcNodeModel model, OpcName name, OpcNodeId id)
vbnet
Protected Sub New(model As OpcNodeModel, name As OpcName, id As OpcNodeId)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
nameOpcNameThe OpcName through that the new data item node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new data item node can be identified and accessed.

OpcDataItemNode(OpcNodeModel, OpcName, OpcNodeId, object) ​

protected · since v2.50

Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified with the initial value given by value.

csharp
protected OpcDataItemNode(
    OpcNodeModel model,
    OpcName name,
    OpcNodeId id,
    object value)
vbnet
Protected Sub New(
    model As OpcNodeModel,
    name As OpcName,
    id As OpcNodeId,
    value As Object)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
nameOpcNameThe OpcName through that the new data item node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new data item node can be identified and accessed.
valueObjectThe initial value of the new data item node.

OpcDataItemNode(OpcNodeModel, IOpcNode, OpcName) ​

protected · since v2.50

Initializes a new instance of the OpcDataItemNode class accessible by the name specified as a child node of the parent node given.

csharp
protected OpcDataItemNode(OpcNodeModel model, IOpcNode parent, OpcName name)
vbnet
Protected Sub New(model As OpcNodeModel, parent As IOpcNode, name As OpcName)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new data item node can be accessed.

OpcDataItemNode(OpcNodeModel, IOpcNode, OpcName, object) ​

protected · since v2.50

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.

csharp
protected OpcDataItemNode(
    OpcNodeModel model,
    IOpcNode parent,
    OpcName name,
    object value)
vbnet
Protected Sub New(
    model As OpcNodeModel,
    parent As IOpcNode,
    name As OpcName,
    value As Object)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new data item node can be accessed.
valueObjectThe initial value of the new data item node.

OpcDataItemNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId) ​

protected · since v2.50

Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified as a child node of the parent node given.

csharp
protected OpcDataItemNode(
    OpcNodeModel model,
    IOpcNode parent,
    OpcName name,
    OpcNodeId id)
vbnet
Protected Sub New(
    model As OpcNodeModel,
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new data item node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new data item node can be identified and accessed.

OpcDataItemNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId, object) ​

protected · since v2.50

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.

csharp
protected OpcDataItemNode(
    OpcNodeModel model,
    IOpcNode parent,
    OpcName name,
    OpcNodeId id,
    object value)
vbnet
Protected Sub New(
    model As OpcNodeModel,
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId,
    value As Object)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new data item node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new data item node can be identified and accessed.
valueObjectThe initial value of the new data item node.

Properties ​

DefaultTypeDefinitionId ​

protected · override

Gets the default identifier which identifies the node that defines the underlying node type from that this OpcInstanceNode has been created.

csharp
protected override OpcNodeId DefaultTypeDefinitionId { get; }
vbnet
Protected Overrides ReadOnly Property DefaultTypeDefinitionId As OpcNodeId

Property value

OpcNodeId

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

DefaultTypeDefinitionId

Definition ​

Gets or sets a vendor-specific, human readable string that specifies how the value of this data item is calculated.

csharp
public string Definition { get; set; }
vbnet
Public Property Definition As String

Property value

String

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.

csharp
public OpcPropertyNode<string> DefinitionNode { get; }
vbnet
Public ReadOnly Property DefinitionNode As OpcPropertyNode(Of String)

Property value

OpcPropertyNode<String>

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.

csharp
public double ValuePrecision { get; set; }
vbnet
Public Property ValuePrecision As Double

Property value

Double

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.

csharp
public OpcPropertyNode<double> ValuePrecisionNode { get; }
vbnet
Public ReadOnly Property ValuePrecisionNode As OpcPropertyNode(Of Double)

Property value

OpcPropertyNode<Double>

An instance of the OpcPropertyNode<T> class.

Methods ​

InitializeDefaults ​

protected · override

Initializes the default values used by the OpcDataItemNode.

csharp
protected override void InitializeDefaults()
vbnet
Protected Overrides Sub InitializeDefaults()

Overrides

InitializeDefaults

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.