Skip to content

Reference

OpcTwoStateVariableNode Class

Defines a specialization of the OpcStateVariableNode which uses a bool as the value of the VariableId.

Reference

OpcTwoStateVariableNode Class ​

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

Defines a specialization of the OpcStateVariableNode which uses a bool as the value of the VariableId.

Syntax ​

csharp
[OpcNodeType(8995)]
public class OpcTwoStateVariableNode : OpcStateVariableNode
vbnet
<OpcNodeType(8995)>
Public Class OpcTwoStateVariableNode
    Inherits OpcStateVariableNode

Inheritance ​

Object → OpcNode → OpcInstanceNode → OpcVariableNode → OpcDataVariableNode → OpcTextVariableNode → OpcStateVariableNode → OpcTwoStateVariableNode

Implements ​

Constructors ​

NameDescription
OpcTwoStateVariableNode10 overloadsInitializes a new instance of the OpcTwoStateVariableNode class accessible by the name specified.

Properties ​

NameDescription
DefaultTypeDefinitionIdprotected · overrideGets the default identifier which identifies the node that defines the underlying node type from that this OpcInstanceNode has been created.
EffectiveTransitionTimeGets or sets a value which specifies the time when the current state or one of its substates was entered.
EffectiveTransitionTimeNodeGets the OpcPropertyNode<T> of the EffectiveTransitionTime property.
FalseStateGets or sets a value which contains a human readable representation for the variable value when its VariableId property has the value true.
FalseStateNodeGets the OpcTextPropertyNode of the FalseState property.
TransitionTimeGets or sets a value which specifies when the current state was entered.
TransitionTimeNodeGets the OpcPropertyNode<T> of the TransitionTime property.
TrueStateGets or sets a value which contains a human readable representation for the variable value when its VariableId property has the value true.
TrueStateNodeGets the OpcTextPropertyNode of the TrueState property.
VariableIdGets or sets a node identifier which uniquely identifies the current state within the state machine.

Methods ​

NameDescription
InitializeDefaultsprotected · overrideInitializes the default values used by the OpcTwoStateVariableNode.

Inherits members from OpcStateVariableNode, OpcTextVariableNode, OpcVariableNode, OpcInstanceNode, OpcNode.

Applies to ​

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