Skip to content

Reference

OpcMultiStateDiscreteNode Class

Defines a generic implementation of the OpcMultiStateDiscreteNode.

Reference

OpcMultiStateDiscreteNode<T> Class ​

since v2.53

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcMultiStateDiscreteNode<T> Members

Defines a generic implementation of the OpcMultiStateDiscreteNode.

Syntax ​

csharp
public class OpcMultiStateDiscreteNode<T> : OpcMultiStateDiscreteNode
vbnet
Public Class OpcMultiStateDiscreteNode(Of T)
    Inherits OpcMultiStateDiscreteNode

Type parameters ​

NameDescription
TThe type of multi state discrete.

Inheritance ​

Object → OpcNode → OpcInstanceNode → OpcVariableNode → OpcDataVariableNode → OpcDataItemNode → OpcDiscreteItemNode → OpcMultiStateDiscreteNode → OpcMultiStateDiscreteNode<T>

Implements ​

Remarks ​

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

Constructors ​

NameDescription
OpcMultiStateDiscreteNode22 overloadsInitializes a new instance of the OpcMultiStateDiscreteNode<T> class accessible by the name specified.

Properties ​

NameDescription
DataTypeoverrideGets or sets a value which defines a pre-defined used DataTypeId as one of the members defined by the OpcDataType enumeration to simplify querying standard data types.
ValueGets or sets the value of the multi state discrete node.

Methods ​

NameDescription
InitializeDefaultsprotected · overrideInitializes the default values used by the OpcMultiStateDiscreteNode<T>.
ReadGenericValueReads the multi state discrete node value using the context specified.
WriteGenericValueWrites the value to the multi state discrete node value using the context specified.

Inherits members from OpcMultiStateDiscreteNode, OpcDataItemNode, OpcVariableNode, OpcInstanceNode, OpcNode.

Applies to ​

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