Skip to content

Reference

OpcTwoStateDiscreteNode Class

Defines a two state discrete node.

Reference

OpcTwoStateDiscreteNode Class ​

since v2.52

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

Defines a two state discrete node.

Syntax ​

csharp
[OpcNodeType(2373)]
public class OpcTwoStateDiscreteNode : OpcDiscreteItemNode<bool>
vbnet
<OpcNodeType(2373)>
Public Class OpcTwoStateDiscreteNode
    Inherits OpcDiscreteItemNode(Of Boolean)

Inheritance ​

Object → OpcNode → OpcInstanceNode → OpcVariableNode → OpcDataVariableNode → OpcDataItemNode → OpcDiscreteItemNode → OpcDiscreteItemNode<Boolean> → OpcTwoStateDiscreteNode

Implements ​

Remarks ​

The two state discrete node is a specialization of the OpcDiscreteItemNode there its reference type is HasComponent and its type definition is TwoStateDiscrete.

Constructors ​

NameDescription
OpcTwoStateDiscreteNode18 overloadsInitializes a new instance of the OpcTwoStateDiscreteNode 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.
FalseStateGets or sets the localized text to be associated with this OpcTwoStateDiscreteNode when its Value is false.
FalseStateNodeGets the OpcTextPropertyNode of the FalseState property.
TrueStateGets or sets the localized text to be associated with this OpcTwoStateDiscreteNode when its Value is true.
TrueStateNodeGets the OpcTextPropertyNode of the TrueState property.

Inherits members from OpcDiscreteItemNode<Boolean>, OpcDataItemNode, OpcVariableNode, OpcInstanceNode, OpcNode.

Applies to ​

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