Skip to content

Reference

OpcAcknowledgeableConditionNode Members

Defines a condition node which introduces additional states for acknowledgement and confirmation.

Reference

OpcAcknowledgeableConditionNode Members ​

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

Inherits members from OpcConditionNode, OpcEventNode, OpcObjectNode, OpcInstanceNode, OpcNode.

Constructors ​

OpcAcknowledgeableConditionNode ​

10 overloads

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

OpcAcknowledgeableConditionNode(OpcName) ​

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

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

Parameters

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

OpcAcknowledgeableConditionNode(OpcName, OpcNodeId) ​

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

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

Parameters

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

OpcAcknowledgeableConditionNode(IOpcNode, OpcName) ​

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

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

OpcAcknowledgeableConditionNode(IOpcNode, OpcName, OpcNodeId) ​

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

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

OpcAcknowledgeableConditionNode(AcknowledgeableConditionState) ​

protected · since v2.50

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

csharp
protected OpcAcknowledgeableConditionNode(AcknowledgeableConditionState content)
vbnet
Protected Sub New(content As AcknowledgeableConditionState)

Parameters

NameTypeDescription
contentAcknowledgeableConditionStateThe AcknowledgeableConditionState to wrap.

Exceptions

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

OpcAcknowledgeableConditionNode(AcknowledgeableConditionState, OpcNodeModel) ​

protected · since v2.50

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

csharp
protected OpcAcknowledgeableConditionNode(
    AcknowledgeableConditionState content,
    OpcNodeModel model)
vbnet
Protected Sub New(
    content As AcknowledgeableConditionState,
    model As OpcNodeModel)

Parameters

NameTypeDescription
contentAcknowledgeableConditionStateThe AcknowledgeableConditionState 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).

OpcAcknowledgeableConditionNode(OpcNodeModel, OpcName) ​

protected · since v2.50

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

csharp
protected OpcAcknowledgeableConditionNode(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 acknowledgeable condition node can be accessed.

OpcAcknowledgeableConditionNode(OpcNodeModel, OpcName, OpcNodeId) ​

protected · since v2.50

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

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

OpcAcknowledgeableConditionNode(OpcNodeModel, IOpcNode, OpcName) ​

protected · since v2.50

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

csharp
protected OpcAcknowledgeableConditionNode(
    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 acknowledgeable condition node can be accessed.

OpcAcknowledgeableConditionNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId) ​

protected · since v2.50

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

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

Properties ​

AcknowledgeCallback ​

Gets or sets a callback used to acknowledge the state of the condition node.

csharp
public OpcAddCommentCallback AcknowledgeCallback { get; set; }
vbnet
Public Property AcknowledgeCallback As OpcAddCommentCallback

Property value

OpcAddCommentCallback

A OpcAddCommentCallback used to acknowledge the state of the condition node. The value can also be a null reference (Nothing in Visual Basic).

AcknowledgeNode ​

Gets the OpcAddCommentMethodNode used to handle 'Acknowledge' method calls to acknowledge the state of the condition node.

csharp
public OpcAddCommentMethodNode AcknowledgeNode { get; }
vbnet
Public ReadOnly Property AcknowledgeNode As OpcAddCommentMethodNode

Property value

OpcAddCommentMethodNode

An instance of the OpcAddCommentMethodNode class. Which uses an OpcAcknowledgeableConditionNode defined callback to acknowledge the state of the condition node.

ConfirmCallback ​

Gets or sets a callback used to confirm the state of the condition node.

csharp
public OpcAddCommentCallback ConfirmCallback { get; set; }
vbnet
Public Property ConfirmCallback As OpcAddCommentCallback

Property value

OpcAddCommentCallback

A OpcAddCommentCallback used to confirm the state of the condition node. The value can also be a null reference (Nothing in Visual Basic).

ConfirmNode ​

Gets the OpcAddCommentMethodNode used to handle 'Confirm' method calls to confirm the state of the condition node.

csharp
public OpcAddCommentMethodNode ConfirmNode { get; }
vbnet
Public ReadOnly Property ConfirmNode As OpcAddCommentMethodNode

Property value

OpcAddCommentMethodNode

An instance of the OpcAddCommentMethodNode class. Which uses an OpcAcknowledgeableConditionNode defined callback to confirm the state of the condition node.

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

IsAcked ​

Gets a value indicating whether the condition requires acknowledgement for the reported condition state.

csharp
public bool IsAcked { get; }
vbnet
Public ReadOnly Property IsAcked As Boolean

Property value

Boolean

The value false if an acknowledgement is required; otherwise the value true.

IsAckedNode ​

Gets the OpcTwoStateVariableNode of the IsAcked property.

csharp
public OpcTwoStateVariableNode IsAckedNode { get; }
vbnet
Public ReadOnly Property IsAckedNode As OpcTwoStateVariableNode

Property value

OpcTwoStateVariableNode

An instance of the OpcTwoStateVariableNode class.

IsConfirmed ​

Gets a value indicating whether the condition requires confirmation for the reported condition state.

csharp
public bool IsConfirmed { get; }
vbnet
Public ReadOnly Property IsConfirmed As Boolean

Property value

Boolean

The value false if an confirmation is required; otherwise the value true.

IsConfirmedNode ​

Gets the OpcTwoStateVariableNode of the IsConfirmed property.

csharp
public OpcTwoStateVariableNode IsConfirmedNode { get; }
vbnet
Public ReadOnly Property IsConfirmedNode As OpcTwoStateVariableNode

Property value

OpcTwoStateVariableNode

An instance of the OpcTwoStateVariableNode class.

Methods ​

Acknowledge ​

3 overloads

OverloadDescription
Acknowledge(OpcContext)Acknowledges the state reported by an event notification which can be identified by the EventId using the specified context.
Acknowledge(OpcContext, OpcText)Acknowledges the state reported by an event notification which can be identified by the EventId using the specified context.
Acknowledge(OpcContext, byte[], OpcText)Acknowledges the state reported by an event notification which can be identified by the eventId using the specified context.

Exceptions (all overloads)

ExceptionCondition
OpcExceptionThe call failed (see exception details for more information).

Acknowledge(OpcContext) ​

Acknowledges the state reported by an event notification which can be identified by the EventId using the specified context.

csharp
public void Acknowledge(OpcContext context)
vbnet
Public Sub Acknowledge(context As OpcContext)

Parameters

NameTypeDescription
contextOpcContextThe OpcContext to use.

Exceptions

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

Acknowledge(OpcContext, OpcText) ​

Acknowledges the state reported by an event notification which can be identified by the EventId using the specified context.

csharp
public void Acknowledge(OpcContext context, OpcText comment)
vbnet
Public Sub Acknowledge(context As OpcContext, comment As OpcText)

Parameters

NameTypeDescription
contextOpcContextThe OpcContext to use.
commentOpcTextThe text to apply on the condition state.

Exceptions

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

Acknowledge(OpcContext, byte[], OpcText) ​

Acknowledges the state reported by an event notification which can be identified by the eventId using the specified context.

csharp
public void Acknowledge(OpcContext context, byte[] eventId, OpcText comment)
vbnet
Public Sub Acknowledge(
    context As OpcContext,
    eventId As Byte(),
    comment As OpcText)

Parameters

NameTypeDescription
contextOpcContextThe OpcContext to use.
eventIdByte[]The identifier which identifies the particular event notification its reported state for the condition node is to be commented.
commentOpcTextThe text to apply on the condition state.

Exceptions

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

AcknowledgeCore ​

protected · virtual

Acknowledges the state of the condition node.

csharp
protected virtual OpcStatusCode AcknowledgeCore(
    OpcNodeContext<OpcConditionNode> context,
    byte[] eventId,
    OpcText comment)
vbnet
Protected Overridable Function AcknowledgeCore(
    context As OpcNodeContext(Of OpcConditionNode),
    eventId As Byte(),
    comment As OpcText) As OpcStatusCode

Parameters

NameTypeDescription
contextOpcNodeContext<OpcConditionNode>The OpcNodeContext<T> to use to acknowledge the state.
eventIdByte[]The identifier identifying a particular event notification where a state was reported for a condition.
commentOpcTextA localized text to be applied to the condition.

Returns

OpcStatusCode

The OpcStatusCode specifying the outcome of the operation using the AcknowledgeCallback or Good if there is no custom callback routine defined.

Confirm ​

3 overloads

OverloadDescription
Confirm(OpcContext)Confirms the state reported by an event notification which can be identified by the EventId using the specified context.
Confirm(OpcContext, OpcText)Confirms the state reported by an event notification which can be identified by the EventId using the specified context.
Confirm(OpcContext, byte[], OpcText)Confirms the state reported by an event notification which can be identified by the eventId using the specified context.

Exceptions (all overloads)

ExceptionCondition
OpcExceptionThe call failed (see exception details for more information).

Confirm(OpcContext) ​

Confirms the state reported by an event notification which can be identified by the EventId using the specified context.

csharp
public void Confirm(OpcContext context)
vbnet
Public Sub Confirm(context As OpcContext)

Parameters

NameTypeDescription
contextOpcContextThe OpcContext to use.

Exceptions

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

Confirm(OpcContext, OpcText) ​

Confirms the state reported by an event notification which can be identified by the EventId using the specified context.

csharp
public void Confirm(OpcContext context, OpcText comment)
vbnet
Public Sub Confirm(context As OpcContext, comment As OpcText)

Parameters

NameTypeDescription
contextOpcContextThe OpcContext to use.
commentOpcTextThe text to apply on the condition state.

Exceptions

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

Confirm(OpcContext, byte[], OpcText) ​

Confirms the state reported by an event notification which can be identified by the eventId using the specified context.

csharp
public void Confirm(OpcContext context, byte[] eventId, OpcText comment)
vbnet
Public Sub Confirm(context As OpcContext, eventId As Byte(), comment As OpcText)

Parameters

NameTypeDescription
contextOpcContextThe OpcContext to use.
eventIdByte[]The identifier which identifies the particular event notification its reported state for the condition node is to be commented.
commentOpcTextThe text to apply on the condition state.

Exceptions

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

ConfirmCore ​

protected · virtual

Confirms the state of the condition node.

csharp
protected virtual OpcStatusCode ConfirmCore(
    OpcNodeContext<OpcConditionNode> context,
    byte[] eventId,
    OpcText comment)
vbnet
Protected Overridable Function ConfirmCore(
    context As OpcNodeContext(Of OpcConditionNode),
    eventId As Byte(),
    comment As OpcText) As OpcStatusCode

Parameters

NameTypeDescription
contextOpcNodeContext<OpcConditionNode>The OpcNodeContext<T> to use to confirm the state.
eventIdByte[]The identifier identifying a particular event notification where a state was reported for a condition.
commentOpcTextA localized text to be applied to the condition.

Returns

OpcStatusCode

The OpcStatusCode specifying the outcome of the operation using the ConfirmCallback or Good if there is no custom callback routine defined.

CreateBranchCore ​

protected · override

Creates a new instance of the OpcAcknowledgeableConditionNode using the same Id and Name as this node.

csharp
protected override OpcConditionNode CreateBranchCore()
vbnet
Protected Overrides Function CreateBranchCore() As OpcConditionNode

Returns

OpcConditionNode

A new instance of the OpcAcknowledgeableConditionNode identifiable and accessible througth the same Id and Name as this node.

Overrides

CreateBranchCore