Skip to content

Reference

OpcStatusConditionVariableNode Members

Defines a condition variable node for OpcStatus variables.

Reference

OpcStatusConditionVariableNode Members ​

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

Inherits members from OpcConditionVariableNode, OpcVariableNode, OpcInstanceNode, OpcNode.

Constructors ​

OpcStatusConditionVariableNode ​

10 overloads

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

OpcStatusConditionVariableNode(OpcName) ​

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

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

Parameters

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

OpcStatusConditionVariableNode(OpcName, OpcStatus) ​

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

csharp
public OpcStatusConditionVariableNode(OpcName name, OpcStatus value)
vbnet
Public Sub New(name As OpcName, value As OpcStatus)

Parameters

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

OpcStatusConditionVariableNode(OpcName, OpcNodeId) ​

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

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

Parameters

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

OpcStatusConditionVariableNode(OpcName, OpcNodeId, OpcStatus) ​

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

csharp
public OpcStatusConditionVariableNode(
    OpcName name,
    OpcNodeId id,
    OpcStatus value)
vbnet
Public Sub New(name As OpcName, id As OpcNodeId, value As OpcStatus)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new status condition variable node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new status condition variable node can be identified and accessed.
valueOpcStatusThe initial value of the new status condition variable node.

OpcStatusConditionVariableNode(IOpcNode, OpcName) ​

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

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

OpcStatusConditionVariableNode(IOpcNode, OpcName, OpcStatus) ​

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

csharp
public OpcStatusConditionVariableNode(
    IOpcNode parent,
    OpcName name,
    OpcStatus value)
vbnet
Public Sub New(parent As IOpcNode, name As OpcName, value As OpcStatus)

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 status condition variable node can be accessed.
valueOpcStatusThe initial value of the new status condition variable node.

OpcStatusConditionVariableNode(IOpcNode, OpcName, OpcNodeId) ​

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

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

OpcStatusConditionVariableNode(IOpcNode, OpcName, OpcNodeId, OpcStatus) ​

Initializes a new instance of the OpcStatusConditionVariableNode 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 OpcStatusConditionVariableNode(
    IOpcNode parent,
    OpcName name,
    OpcNodeId id,
    OpcStatus value)
vbnet
Public Sub New(
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId,
    value As OpcStatus)

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 status condition variable node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new status condition variable node can be identified and accessed.
valueOpcStatusThe initial value of the new status condition variable node.

OpcStatusConditionVariableNode(ConditionVariableState<StatusCode>) ​

protected · since v2.50

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

csharp
protected OpcStatusConditionVariableNode(
    ConditionVariableState<StatusCode> content)
vbnet
Protected Sub New(content As ConditionVariableState(Of StatusCode))

Parameters

NameTypeDescription
contentConditionVariableState<StatusCode>The ConditionVariableState<T> to wrap.

Exceptions

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

OpcStatusConditionVariableNode(ConditionVariableState<StatusCode>, OpcNodeModel) ​

protected · since v2.50

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

csharp
protected OpcStatusConditionVariableNode(
    ConditionVariableState<StatusCode> content,
    OpcNodeModel model)
vbnet
Protected Sub New(
    content As ConditionVariableState(Of StatusCode),
    model As OpcNodeModel)

Parameters

NameTypeDescription
contentConditionVariableState<StatusCode>The ConditionVariableState<T> 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 ​

Value ​

Gets or sets the value of the status condition variable node.

csharp
public OpcStatus Value { get; set; }
vbnet
Public Property Value As OpcStatus

Property value

OpcStatus

A OpcStatus representing the value of the status condition variable node. This can be also a null reference (Nothing in Visual Basic).

Methods ​

ReadStatusValue ​

Reads the status condition variable node value using the context specified.

csharp
public OpcStatus ReadStatusValue(OpcReadVariableValueContext context)
vbnet
Public Function ReadStatusValue(
    context As OpcReadVariableValueContext) As OpcStatus

Parameters

NameTypeDescription
contextOpcReadVariableValueContextThe OpcReadVariableValueContext to use to read the status condition variable node value.

Returns

OpcStatus

The OpcStatus status condition variable node value associated with this node and read using the context specified. This can also be a null reference (Nothing in Visual Basic).

Exceptions

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

WriteStatusValue ​

Writes the value to the status condition variable node value using the context specified.

csharp
public void WriteStatusValue(
    OpcWriteVariableValueContext context,
    OpcStatus value)
vbnet
Public Sub WriteStatusValue(
    context As OpcWriteVariableValueContext,
    value As OpcStatus)

Parameters

NameTypeDescription
contextOpcWriteVariableValueContextThe OpcWriteVariableValueContext to use to write the status condition variable node value specified.
valueOpcStatusThe OpcStatus to write to the status condition variable node value.

Exceptions

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