Skip to content

Reference

OpcDiscreteItemNode Class

Defines an abstract generic implementation of the OpcDiscreteItemNode.

Reference

OpcDiscreteItemNode<T> Class ​

abstract · since v2.52

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

Defines an abstract generic implementation of the OpcDiscreteItemNode.

Syntax ​

csharp
public abstract class OpcDiscreteItemNode<T> : OpcDiscreteItemNode
vbnet
Public MustInherit Class OpcDiscreteItemNode(Of T)
    Inherits OpcDiscreteItemNode

Type parameters ​

NameDescription
TThe type of discrete item value.

Inheritance ​

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

Implements ​

Derived types ​

Remarks ​

The discrete item node is a specialization of the OpcDataItemNode there its reference type is HasComponent and its type definition is DiscreteItem.

Constructors ​

NameDescription
OpcDiscreteItemNodeprotected · 14 overloadsInitializes a new instance of the OpcDiscreteItemNode<T> class using the content as the instance to wrap.

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 discrete item node.

Methods ​

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

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

Applies to ​

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