Skip to content

Reference

OpcAddVariableNode Class

Defines an abstract base class for a single command of the IOpcAddNodesService used to add one variable node (nodes of the category Variable).

Reference

OpcAddVariableNode Class ​

abstract · since v2.7

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcAddVariableNode Members
Also in
Opc.UaFx.Client

Defines an abstract base class for a single command of the IOpcAddNodesService used to add one variable node (nodes of the category Variable).

Syntax ​

csharp
public abstract class OpcAddVariableNode : OpcAddInstanceNode
vbnet
Public MustInherit Class OpcAddVariableNode
    Inherits OpcAddInstanceNode

Inheritance ​

Object → OpcServiceCommand → OpcNodeServiceCommand → OpcAddNode → OpcAddInstanceNode → OpcAddVariableNode

Derived types ​

Constructors ​

NameDescription
OpcAddVariableNodeprotected · 20 overloadsInitializes a new instance of the OpcAddVariableNode class using the specified type of variable node to add, which shall be accessible by the name defined.

Properties ​

NameDescription
AccessLevelGets or sets a value which indicates in which ways the Value attribute of the variable node can be accessed (read/write) and if it provides current and/or historic data.
ArrayDimensionssince v2.9Gets the number/lengths of dimensions for an array Value with one or more fixed dimensions.
DataTypevirtualGets 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.
DataTypeIdGets or stets the identifier which identifies the node that defines the type of data represented by the variable node.
IsHistorizingGets or sets a value indicating whether the server is actively collecting data for the history of the variable.
TypeGets value indicating the predefined underlying type definition the new node will represent an instance of.
UserAccessLevelGets or sets a value which indicates in which ways the Value attribute of the variable node can be accessed (read/write) and if it provides current and/or historic data taking user access rights into account.
ValueGets or sets the value of the variable node which may be simple or complex.
ValueRankGets or sets a value which indicates whether the value attribute of the variable is an array and how many dimensions the array has.

Methods ​

NameDescription
OfTypestaticRetrieves an instance which represents the definition of a variable type that can be used to define OpcAddVariableNode command instances using the type of variable node represented by the OpcAddVariableNode.TypeDefinition instance provided.

Inherits members from OpcAddInstanceNode, OpcAddNode, OpcNodeServiceCommand, OpcServiceCommand.

Applies to ​

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