Skip to content

Reference

OpcDataVariableNode Class

Provides a node to represent complex data structures expose their information as complex data types, as well as components in the address space.

Reference

OpcDataVariableNode Class ​

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

Provides a node to represent complex data structures expose their information as complex data types, as well as components in the address space. This allows access to simple values as well as access to the whole information at once in a transactional context.

Syntax ​

csharp
[OpcNodeType(63)]
public class OpcDataVariableNode : OpcVariableNode
vbnet
<OpcNodeType(63)>
Public Class OpcDataVariableNode
    Inherits OpcVariableNode

Inheritance ​

Object → OpcNode → OpcInstanceNode → OpcVariableNode → OpcDataVariableNode

Implements ​

Derived types ​

Remarks ​

The data variable node is a specialization of the OpcVariableNode there its reference type is HasComponent and its type definition is BaseDataVariable.

For example, the ServerStatus variable of the server object is modelled as a complex data variable having the ServerStatusDataType providing all information about the server status. But it also exposes the CurrentTime as a simple data variable, because a client may want to read only the current time of the server, and is not interested in the build information, etc.

Constructors ​

NameDescription
OpcDataVariableNode18 overloadsInitializes a new instance of the OpcDataVariableNode 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.

Inherits members from OpcVariableNode, OpcInstanceNode, OpcNode.

Applies to ​

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