Skip to content

Reference

OpcConditionVariableNode Members

Defines a variable node which is used by various information elements of a condition that are not considered to be states.

Reference

OpcConditionVariableNode Members ​

Type
OpcConditionVariableNode
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0

Inherits members from OpcVariableNode, OpcInstanceNode, OpcNode.

Constructors ​

OpcConditionVariableNode ​

10 overloads

OverloadDescription
OpcConditionVariableNode(OpcName)Initializes a new instance of the OpcConditionVariableNode class accessible by the name specified.
OpcConditionVariableNode(OpcName, object)Initializes a new instance of the OpcConditionVariableNode class accessible by the name specified with the initial value given by value.
OpcConditionVariableNode(OpcName, OpcNodeId)Initializes a new instance of the OpcConditionVariableNode class accessible by the name and id specified.
OpcConditionVariableNode(OpcName, OpcNodeId, object)Initializes a new instance of the OpcConditionVariableNode class accessible by the name and id specified with the initial value given by value.
OpcConditionVariableNode(IOpcNode, OpcName)Initializes a new instance of the OpcConditionVariableNode class accessible by the name specified as a child node of the parent node given.
OpcConditionVariableNode(IOpcNode, OpcName, object)Initializes a new instance of the OpcConditionVariableNode class accessible by the name specified with the initial value defined by value as a child node of the parent node given.
OpcConditionVariableNode(IOpcNode, OpcName, OpcNodeId)Initializes a new instance of the OpcConditionVariableNode class accessible by the name and id specified as a child node of the parent node given.
OpcConditionVariableNode(IOpcNode, OpcName, OpcNodeId, object)Initializes a new instance of the OpcConditionVariableNode class accessible by the name and id specified with the initial value defined by value as a child node of the parent node given.
OpcConditionVariableNode(ConditionVariableState)protected · since v2.50Initializes a new instance of the OpcConditionVariableNode class using the content as the instance to wrap.
OpcConditionVariableNode(ConditionVariableState, OpcNodeModel)protected · since v2.50Initializes a new instance of the OpcConditionVariableNode class using the content as the instance to wrap.

OpcConditionVariableNode(OpcName) ​

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

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

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new condition variable node can be accessed.

OpcConditionVariableNode(OpcName, object) ​

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

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

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new condition variable node can be accessed.
valueObjectThe initial value of the new condition variable node.

OpcConditionVariableNode(OpcName, OpcNodeId) ​

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

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

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new condition variable node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new condition variable node can be identified and accessed.

OpcConditionVariableNode(OpcName, OpcNodeId, object) ​

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

csharp
public OpcConditionVariableNode(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 condition variable node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new condition variable node can be identified and accessed.
valueObjectThe initial value of the new condition variable node.

OpcConditionVariableNode(IOpcNode, OpcName) ​

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

csharp
public OpcConditionVariableNode(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 condition variable node can be accessed.

OpcConditionVariableNode(IOpcNode, OpcName, object) ​

Initializes a new instance of the OpcConditionVariableNode class accessible by the name specified with the initial value defined by value as a child node of the parent node given.

csharp
public OpcConditionVariableNode(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 condition variable node can be accessed.
valueObjectThe initial value of the new condition variable node.

OpcConditionVariableNode(IOpcNode, OpcName, OpcNodeId) ​

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

csharp
public OpcConditionVariableNode(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 condition variable node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new condition variable node can be identified and accessed.

OpcConditionVariableNode(IOpcNode, OpcName, OpcNodeId, object) ​

Initializes a new instance of the OpcConditionVariableNode 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 OpcConditionVariableNode(
    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 condition variable node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new condition variable node can be identified and accessed.
valueObjectThe initial value of the new condition variable node.

OpcConditionVariableNode(ConditionVariableState) ​

protected · since v2.50

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

csharp
protected OpcConditionVariableNode(ConditionVariableState content)
vbnet
Protected Sub New(content As ConditionVariableState)

Parameters

NameTypeDescription
contentConditionVariableStateThe ConditionVariableState to wrap.

Exceptions

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

OpcConditionVariableNode(ConditionVariableState, OpcNodeModel) ​

protected · since v2.50

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

csharp
protected OpcConditionVariableNode(
    ConditionVariableState content,
    OpcNodeModel model)
vbnet
Protected Sub New(content As ConditionVariableState, model As OpcNodeModel)

Parameters

NameTypeDescription
contentConditionVariableStateThe ConditionVariableState 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).

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

SourceTimestamp ​

Gets or sets a value which indicates the time of the last change of the Value of this condition variable.

csharp
public DateTime SourceTimestamp { get; set; }
vbnet
Public Property SourceTimestamp As Date

Property value

DateTime

The time of the last change of the Value of this OpcConditionVariableNode.

Remarks

Its value should be the same time that would be returned from the read service inside the OpcValue structure for the condition variable Value attribute.

SourceTimestampNode ​

Gets the OpcPropertyNode<T> of the SourceTimestamp property.

csharp
public OpcPropertyNode<DateTime> SourceTimestampNode { get; }
vbnet
Public ReadOnly Property SourceTimestampNode As OpcPropertyNode(Of Date)

Property value

OpcPropertyNode<DateTime>

An instance of the OpcPropertyNode<T> class.