Skip to content

Reference

OpcConditionNode Class

Defines all general characteristics of a condition.

Reference

OpcConditionNode Class ​

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

Defines all general characteristics of a condition.

Syntax ​

csharp
[OpcEventType(typeof(OpcCondition))]
[OpcNodeType(2782)]
public class OpcConditionNode : OpcEventNode
vbnet
<OpcEventType(GetType(OpcCondition))>
<OpcNodeType(2782)>
Public Class OpcConditionNode
    Inherits OpcEventNode

Inheritance ​

Object → OpcNode → OpcInstanceNode → OpcObjectNode → OpcEventNode → OpcConditionNode

Implements ​

Derived types ​

Remarks ​

Events of this type cause at least an event notification in case one of the following properties will change: Quality, Severity and Comment.

Constructors ​

NameDescription
OpcConditionNode10 overloadsInitializes a new instance of the OpcConditionNode class accessible by the name specified.

Properties ​

NameDescription
AddCommentCallbackGets or sets a callback used to add a comment to the condition node.
AddCommentNodeGets the OpcAddCommentMethodNode used to handle 'AddComment' method calls to add a comment to the condition node.
AutoReportChangesGets or sets a value indicating whether the OpcConditionNode will automatically report an event when a change method call completes.
BranchIdGets or sets an identifier which identifies the branch to that the event does belong.
BranchIdNodeGets the OpcNodeIdPropertyNode of the BranchId property.
ClientUserIdGets or sets an identifier that is related to the Comment and contains the identity of the user who inserted the most recent Comment.
ClientUserIdNodeGets the OpcPropertyNode<T> of the ClientUserId property.
CommentGets or sets the last comment provided for a certain state (condition branch).
CommentNodeGets the OpcTextConditionVariableNode of the Comment property.
ConditionClassIdGets or sets a value which specifies in which domain this condition is used.
ConditionClassIdNodeGets the OpcNodeIdPropertyNode of the ConditionClassId property.
ConditionClassNameGets or sets a value that matches the display name of the condition class type.
ConditionClassNameNodeGets the OpcTextPropertyNode of the ConditionClassName property.
ConditionNameGets or sets a value which identifies the condition instance that the event originated from.
ConditionNameNodeGets the OpcPropertyNode<T> of the ConditionName property.
DefaultTypeDefinitionIdprotected · overrideGets the default identifier which identifies the node that defines the underlying node type from that this OpcInstanceNode has been created.
DisableCallbackGets or sets a callback used to disable the condition node.
DisableNodeGets the OpcActionMethodNode used to handle 'Disable' method calls to disable the condition.
EnableCallbackGets or sets a callback used to enable the condition node.
EnableNodeGets the OpcActionMethodNode used to handle 'Enable' method calls to enable the condition.
IsEnabledGets a value indicating whether the condition is enabled.
IsEnabledNodeGets the OpcTwoStateVariableNode of the IsEnabled property.
IsRetainedGets or sets a value indicating whether the condition is in a state that is interesting for a client wishing to synchronize its state with the server's state.
IsRetainedNodeGets the OpcPropertyNode<T> of the IsRetained property.
IsRetainedPolicysince v2.55Gets or sets the evaluation policy that controls the lifecycle of the IsRetained property for this OpcConditionNode.
LastSeverityGets or sets a value which provides the previous severity of the condition branch.
LastSeverityNodeGets the OpcConditionVariableNode<T> of the LastSeverity property.
QualityGets or sets a value which reveals the status of process values or other resources that this condition is based upon.
QualityNodeGets the OpcStatusConditionVariableNode of the Quality property.

Methods ​

NameDescription
AddComment2 overloadsApplies a comment to the state reported by an event notification which can be identified by the EventId using the specified context.
AddCommentCoreprotected · virtualApplies the comment to the state of the condition node.
CreateBranch2 overloadsCreates a new instance of the OpcConditionNode class which can be used to maintain branched event information.
CreateBranchCoreprotected · virtualCreates a new instance of the OpcConditionNode using the same Id and Name as this node.
DisableChanges the condition state to 'Disabled' using the specified context.
DisableCoreprotected · virtualDisables the condition node.
EnableChanges the condition state to 'Enabled' using the specified context.
EnableCoreprotected · virtualEnables the condition node.
InitializeDefaultsprotected · overrideInitializes the default values used by the OpcConditionNode.

Inherits members from OpcEventNode, OpcObjectNode, OpcInstanceNode, OpcNode.

Extension methods ​

NameDescription
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.

Applies to ​

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