Skip to content

Reference

OpcDialogConditionNode Class

Defines a condition node which represents itself as a dialog.

Reference

OpcDialogConditionNode Class ​

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcDialogConditionNode Members

Defines a condition node which represents itself as a dialog.

Syntax ​

csharp
[OpcEventType(typeof(OpcDialogCondition))]
[OpcNodeType(2830)]
public class OpcDialogConditionNode : OpcConditionNode
vbnet
<OpcEventType(GetType(OpcDialogCondition))>
<OpcNodeType(2830)>
Public Class OpcDialogConditionNode
    Inherits OpcConditionNode

Inheritance ​

Object → OpcNode → OpcInstanceNode → OpcObjectNode → OpcEventNode → OpcConditionNode → OpcDialogConditionNode

Implements ​

Constructors ​

NameDescription
OpcDialogConditionNode6 overloadsInitializes a new instance of the OpcDialogConditionNode class accessible by the name specified.

Properties ​

NameDescription
CancelResponseGets or sets a value which defines the index of the response in the ResponseOptions array that will cause the dialog to go into the inactive state without proceeding with the operation described by the prompt.
CancelResponseNodeGets the OpcPropertyNode<T> of the CancelResponse property.
DefaultResponseGets or sets a value which identifies the response option that should be shown as default to the user.
DefaultResponseNodeGets the OpcPropertyNode<T> of the DefaultResponse property.
DefaultTypeDefinitionIdprotected · overrideGets the default identifier which identifies the node that defines the underlying node type from that this OpcInstanceNode has been created.
IsActiveGets a value indicating whether the dialog is active and is waiting for a response.
IsActiveNodeGets the OpcTwoStateVariableNode of the IsActive property.
LastResponseGets or sets a value which defines the last response provided by a client in the respond method.
LastResponseNodeGets the OpcPropertyNode<T> of the LastResponse property.
OkResponseGets or sets a value which defines the index of the OK option in the ResponseOptions array.
OkResponseNodeGets the OpcPropertyNode<T> of the OkResponse property.
PromptGets or sets the dialog prompt to be shown to the user.
PromptNodeGets the OpcTextPropertyNode of the Prompt property.
RespondCallbackGets or sets a callback used to respond on a dialog of the OpcDialogConditionNode.
RespondNodeGets the OpcDialogResponseMethodNode used to handle 'Respond' method calls to respond on a dialog of the condition node.
ResponseOptionsGets or sets an array of supported response options.
ResponseOptionsNodeGets the OpcTextArrayPropertyNode of the ResponseOptions property.

Methods ​

NameDescription
CreateBranchCoreprotected · overrideCreates a new instance of the OpcDialogConditionNode using the same Id and Name as this node.
RespondResponses on the dialog of the dialog condition node and changes the IsActive to its FalseState using the specified context.
RespondCoreprotected · virtualResponds on the dialog of the dialog condition node using the context and selectedResponse information specified.

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

Extension methods ​

NameDescription
OpcConditionNodeExtension.ActivateDialogActivates the dialog of the conditionNode specified using the further specified context.
OpcConditionNodeExtension.AddCommentApplies a comment to the state reported by an event notification which can be identified by the EventId of the conditionNode specified using the further specified client.
OpcConditionNodeExtension.ChangeCommentChanges the condition 'Comment' state of the conditionNode specified using the further specified context without raising change events.
OpcConditionNodeExtension.ChangeIsEnabledChanges the condition 'Enabled' state of the conditionNode specified using the further specified context without raising change events.
OpcConditionNodeExtension.ChangeSeverityChanges the condition 'Severity' of the conditionNode specified using the further specified context without raising change events.
OpcConditionNodeExtension.DisableChanges the condition state to 'Disabled' of the conditionNode specified using the further specified client.
OpcConditionNodeExtension.EnableChanges the condition state to 'Enabled' of the conditionNode specified using the further specified client.
OpcConditionNodeExtension.RespondDialogChanges the dialog response of the conditionNode specified using the further specified context.
OpcDialogConditionNodeExtension.RespondPasses the selectedResponse option and ends the dialog of the conditionNode specified using the further specified client.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.5–v2.59