Skip to content

Reference

OpcAddAnalogItemNode Members

Defines a single command of the IOpcAddNodesService used to add one analog item node.

Reference

OpcAddAnalogItemNode<T> Members ​

Type
OpcAddAnalogItemNode<T>
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Inherits members from OpcAddAnalogItemNode, OpcAddDataItemNode, OpcAddVariableNode, OpcAddInstanceNode, OpcAddNode, OpcNodeServiceCommand, OpcServiceCommand.

Constructors ​

OpcAddAnalogItemNode ​

10 overloads

OverloadDescription
OpcAddAnalogItemNode(OpcName)Initializes a new instance of the OpcAddAnalogItemNode<T> class using the name of the analog item node to add.
OpcAddAnalogItemNode(OpcName, T)Initializes a new instance of the OpcAddAnalogItemNode<T> class using the name of the analog item node to add.
OpcAddAnalogItemNode(OpcName, OpcNodeId)Initializes a new instance of the OpcAddAnalogItemNode<T> class using the name of the analog item node to add, which shall be additionally accessible by the nodeId defined.
OpcAddAnalogItemNode(OpcName, OpcNodeId, T)Initializes a new instance of the OpcAddAnalogItemNode<T> class using the name of the analog item node to add, which shall be additionally accessible by the nodeId defined.
OpcAddAnalogItemNode(OpcName, OpcNodeId, OpcNodeId)Initializes a new instance of the OpcAddAnalogItemNode<T> class using the name of the analog item node to add, which shall be additionally accessible by the nodeId defined.
OpcAddAnalogItemNode(OpcName, OpcNodeId, OpcNodeId, T)Initializes a new instance of the OpcAddAnalogItemNode<T> class using the name of the analog item node to add, which shall be additionally accessible by the nodeId defined.
OpcAddAnalogItemNode(OpcName, OpcNodeId, OpcNodeId, OpcReferenceType)Initializes a new instance of the OpcAddAnalogItemNode<T> class using the name of the analog item node to add, which shall be additionally accessible by the nodeId defined.
OpcAddAnalogItemNode(OpcName, OpcNodeId, OpcNodeId, OpcReferenceType, T)Initializes a new instance of the OpcAddAnalogItemNode<T> class using the name of the analog item node to add, which shall be additionally accessible by the nodeId defined.
OpcAddAnalogItemNode(OpcName, OpcNodeId, OpcNodeId, OpcNodeId)Initializes a new instance of the OpcAddAnalogItemNode<T> class using the name of the analog item node to add, which shall be additionally accessible by the nodeId defined.
OpcAddAnalogItemNode(OpcName, OpcNodeId, OpcNodeId, OpcNodeId, T)Initializes a new instance of the OpcAddAnalogItemNode<T> class using the name of the analog item node to add, which shall be additionally accessible by the nodeId defined.

OpcAddAnalogItemNode(OpcName) ​

Initializes a new instance of the OpcAddAnalogItemNode<T> class using the name of the analog item node to add. The according OpcNodeId to identify and access the new node is determined by the service. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.

csharp
public OpcAddAnalogItemNode(OpcName name)
vbnet
Public Sub New(name As OpcName)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new analog item node can be accessed.

Exceptions

ExceptionCondition
ArgumentExceptionThe name is equals Null.
ArgumentNullExceptionThe name is a null reference (Nothing in Visual Basic).

OpcAddAnalogItemNode(OpcName, T) ​

Initializes a new instance of the OpcAddAnalogItemNode<T> class using the name of the analog item node to add. The according OpcNodeId to identify and access the new node is determined by the service. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.

csharp
public OpcAddAnalogItemNode(OpcName name, T value)
vbnet
Public Sub New(name As OpcName, value As T)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new analog item node can be accessed.
valueTThe initial value of the new analog item node.

Exceptions

ExceptionCondition
ArgumentExceptionThe name is equals Null.
ArgumentNullExceptionThe name is a null reference (Nothing in Visual Basic).

OpcAddAnalogItemNode(OpcName, OpcNodeId) ​

Initializes a new instance of the OpcAddAnalogItemNode<T> class using the name of the analog item node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.

csharp
public OpcAddAnalogItemNode(OpcName name, OpcNodeId nodeId)
vbnet
Public Sub New(name As OpcName, nodeId As OpcNodeId)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new analog item node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.

Exceptions

ExceptionCondition
ArgumentExceptionThe name is equals Null.
ArgumentNullExceptionThe name or nodeId is a null reference (Nothing in Visual Basic).

OpcAddAnalogItemNode(OpcName, OpcNodeId, T) ​

Initializes a new instance of the OpcAddAnalogItemNode<T> class using the name of the analog item node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.

csharp
public OpcAddAnalogItemNode(OpcName name, OpcNodeId nodeId, T value)
vbnet
Public Sub New(name As OpcName, nodeId As OpcNodeId, value As T)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new analog item node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
valueTThe initial value of the new analog item node.

Exceptions

ExceptionCondition
ArgumentExceptionThe name is equals Null.
ArgumentNullExceptionThe name or nodeId is a null reference (Nothing in Visual Basic).

OpcAddAnalogItemNode(OpcName, OpcNodeId, OpcNodeId) ​

Initializes a new instance of the OpcAddAnalogItemNode<T> class using the name of the analog item node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the node identified by parentNodeId using HasComponent as the type of reference.

csharp
public OpcAddAnalogItemNode(
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId)
vbnet
Public Sub New(name As OpcName, nodeId As OpcNodeId, parentNodeId As OpcNodeId)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new analog item node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using HasComponent as the type of reference.

Exceptions

ExceptionCondition
ArgumentExceptionThe parentNodeId is equals Null or name is equals Null.
ArgumentNullExceptionThe name, nodeId or parentNodeId is a null reference (Nothing in Visual Basic).

OpcAddAnalogItemNode(OpcName, OpcNodeId, OpcNodeId, T) ​

Initializes a new instance of the OpcAddAnalogItemNode<T> class using the name of the analog item node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the node identified by parentNodeId using HasComponent as the type of reference.

csharp
public OpcAddAnalogItemNode(
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    T value)
vbnet
Public Sub New(
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    value As T)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new analog item node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using HasComponent as the type of reference.
valueTThe initial value of the new analog item node.

Exceptions

ExceptionCondition
ArgumentExceptionThe parentNodeId is equals Null or name is equals Null.
ArgumentNullExceptionThe name, nodeId or parentNodeId is a null reference (Nothing in Visual Basic).

OpcAddAnalogItemNode(OpcName, OpcNodeId, OpcNodeId, OpcReferenceType) ​

Initializes a new instance of the OpcAddAnalogItemNode<T> class using the name of the analog item node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the node identified by parentNodeId using the referenceType specified as the type of reference.

csharp
public OpcAddAnalogItemNode(
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    OpcReferenceType referenceType)
vbnet
Public Sub New(
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    referenceType As OpcReferenceType)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new analog item node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using HasComponent as the type of reference.
referenceTypeOpcReferenceTypeOne of the members defined by the OpcReferenceType enumeration to use to setup the reference between the new node and the existing parent node identified by parentNodeId.

Exceptions

ExceptionCondition
ArgumentExceptionThe parentNodeId is equals Null or name is equals Null.
ArgumentNullExceptionThe name, nodeId or parentNodeId is a null reference (Nothing in Visual Basic).

OpcAddAnalogItemNode(OpcName, OpcNodeId, OpcNodeId, OpcReferenceType, T) ​

Initializes a new instance of the OpcAddAnalogItemNode<T> class using the name of the analog item node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the node identified by parentNodeId using the referenceType specified as the type of reference.

csharp
public OpcAddAnalogItemNode(
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    OpcReferenceType referenceType,
    T value)
vbnet
Public Sub New(
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    referenceType As OpcReferenceType,
    value As T)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new analog item node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using HasComponent as the type of reference.
referenceTypeOpcReferenceTypeOne of the members defined by the OpcReferenceType enumeration to use to setup the reference between the new node and the existing parent node identified by parentNodeId.
valueTThe initial value of the new analog item node.

Exceptions

ExceptionCondition
ArgumentExceptionThe parentNodeId is equals Null or name is equals Null.
ArgumentNullExceptionThe name, nodeId or parentNodeId is a null reference (Nothing in Visual Basic).

OpcAddAnalogItemNode(OpcName, OpcNodeId, OpcNodeId, OpcNodeId) ​

Initializes a new instance of the OpcAddAnalogItemNode<T> class using the name of the analog item node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the node identified by parentNodeId using the type of reference identified by the referenceTypeId specified.

csharp
public OpcAddAnalogItemNode(
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    OpcNodeId referenceTypeId)
vbnet
Public Sub New(
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    referenceTypeId As OpcNodeId)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new analog item node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using the type of reference identified by referenceTypeId.
referenceTypeIdOpcNodeIdThe OpcNodeId which identifies the type of reference to use for the new node and the existing parent node identified by parentNodeId.

Exceptions

ExceptionCondition
ArgumentExceptionThe parentNodeId or referenceTypeId is equals Null or name is equals Null.
ArgumentNullExceptionThe name, nodeId, parentNodeId or referenceTypeId is a null reference (Nothing in Visual Basic).

OpcAddAnalogItemNode(OpcName, OpcNodeId, OpcNodeId, OpcNodeId, T) ​

Initializes a new instance of the OpcAddAnalogItemNode<T> class using the name of the analog item node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the node identified by parentNodeId using the type of reference identified by the referenceTypeId specified.

csharp
public OpcAddAnalogItemNode(
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    OpcNodeId referenceTypeId,
    T value)
vbnet
Public Sub New(
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    referenceTypeId As OpcNodeId,
    value As T)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new analog item node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using the type of reference identified by referenceTypeId.
referenceTypeIdOpcNodeIdThe OpcNodeId which identifies the type of reference to use for the new node and the existing parent node identified by parentNodeId.
valueTThe initial value of the new analog item node.

Exceptions

ExceptionCondition
ArgumentExceptionThe parentNodeId or referenceTypeId is equals Null or name is equals Null.
ArgumentNullExceptionThe name, nodeId, parentNodeId or referenceTypeId is a null reference (Nothing in Visual Basic).

Properties ​

DataType ​

override

Gets 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. A null reference (Nothing in Visual Basic) indicates that the attribute is undefined and its default value is used.

csharp
public override OpcDataType? DataType { get; set; }
vbnet
Public Overrides Property DataType As OpcDataType?

Property value

Nullable<OpcDataType>

One of the members defined by the OpcDataType enumeration.

Overrides

DataType

Value ​

Gets or sets the value of the data variable node. A null reference (Nothing in Visual Basic) indicates that the attribute is undefined and its default value is used.

csharp
public T Value { get; set; }
vbnet
Public Property Value As T

Property value

T

A T representing the value of the data variable node. This can be also a null reference (Nothing in Visual Basic).