OpcDataItemNode Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcDataItemNode type exposes the following members.

OpcDataItemNode(IOpcNode, OpcName)

Initializes a new instance of the OpcDataItemNode class accessible by the name specified as a child node of the parent node given.

C#

public OpcDataItemNode(IOpcNode parent, OpcName name)


Parameters

parent IOpcNode

The IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.

name OpcName

The OpcName through that the new data item node can be accessed.

OpcDataItemNode(IOpcNode, OpcName, Object)

Initializes a new instance of the OpcDataItemNode class accessible by the name specified with the initial value defined by value as a child node of the parent node given.

C#

public OpcDataItemNode(IOpcNode parent, OpcName name, object value)


Parameters

parent IOpcNode

The IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.

name OpcName

The OpcName through that the new data item node can be accessed.

value Object

The initial value of the new data item node.

OpcDataItemNode(IOpcNode, OpcName, OpcNodeId)

Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified as a child node of the parent node given.

C#

public OpcDataItemNode(IOpcNode parent, OpcName name, OpcNodeId id)


Parameters

parent IOpcNode

The IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.

name OpcName

The OpcName through that the new data item node can be accessed.

id OpcNodeId

The OpcNodeId through that the new data item node can be identified and accessed.

OpcDataItemNode(IOpcNode, OpcName, OpcNodeId, Object)

Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified with the initial value defined by value as a child node of the parent node given.

C#

public OpcDataItemNode(IOpcNode parent, OpcName name, OpcNodeId id, object value)


Parameters

parent IOpcNode

The IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.

name OpcName

The OpcName through that the new data item node can be accessed.

id OpcNodeId

The OpcNodeId through that the new data item node can be identified and accessed.

value Object

The initial value of the new data item node.

OpcDataItemNode(OpcName)

Initializes a new instance of the OpcDataItemNode class accessible by the name specified.

C#

public OpcDataItemNode(OpcName name)


Parameters

name OpcName

The OpcName through that the new data item node can be accessed.

OpcDataItemNode(OpcName, Object)

Initializes a new instance of the OpcDataItemNode class accessible by the name specified with the initial value given by value.

C#

public OpcDataItemNode(OpcName name, object value)


Parameters

name OpcName

The OpcName through that the new data item node can be accessed.

value Object

The initial value of the new data item node.

OpcDataItemNode(OpcName, OpcNodeId)

Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified.

C#

public OpcDataItemNode(OpcName name, OpcNodeId id)


Parameters

name OpcName

The OpcName through that the new data item node can be accessed.

id OpcNodeId

The OpcNodeId through that the new data item node can be identified and accessed.

OpcDataItemNode(OpcName, OpcNodeId, Object)

Initializes a new instance of the OpcDataItemNode class accessible by the name and id specified with the initial value given by value.

C#

public OpcDataItemNode(OpcName name, OpcNodeId id, object value)


Parameters

name OpcName

The OpcName through that the new data item node can be accessed.

id OpcNodeId

The OpcNodeId through that the new data item node can be identified and accessed.

value Object

The initial value of the new data item node.

DefaultTypeDefinitionId

Gets the default identifier which identifies the node that defines the underlying node type from that this OpcInstanceNode has been created.

C#

protected override OpcNodeId DefaultTypeDefinitionId { get; }


Property Value

OpcNodeId

The OpcNodeId of the type node from that this OpcInstanceNode has been created from. These type node defines the typical structure of an instance node of its type definition. If there exists no specific type definition node a null reference (Nothing in Visual Basic).

Definition

Gets or sets a vendor-specific, human readable string that specifies how the value of this data item is calculated.

C#

public string Definition { get; set; }


Property Value

String

A non-localized value which will often contain an equation that can be parsed by certain clients.

DefinitionNode

Gets the OpcPropertyNode´1 of the Definition property.

C#

public OpcPropertyNode<string> DefinitionNode { get; }


Property Value

OpcPropertyNode<String>

An instance of the OpcPropertyNode´1 class.

ValuePrecision

Gets or sets a value which specifies the maximum precision that the server can maintain for the item based on restrictions in the target environment.

C#

public double ValuePrecision { get; set; }


Property Value

Double

The maximum precision that the server can maintain for the item.



Remarks

The property can be used for the following OpcDataTypes: * *

The value is an approximation that is intended to provide guidance to a client. A server is expected to silently round any value with more precision that it supports. This implies that a client may encounter cases where the value read back from a server differs from the value that it wrote to the server. This difference should be no more than the difference suggested by this property.

ValuePrecisionNode

Gets the OpcPropertyNode´1 of the ValuePrecision property.

C#

public OpcPropertyNode<double> ValuePrecisionNode { get; }


Property Value

OpcPropertyNode<Double>

An instance of the OpcPropertyNode´1 class.

InitializeDefaults()

Initializes the default values used by the OpcDataItemNode.

C#

protected override void InitializeDefaults()


Remarks

This method is used to ensure the availability of appropriate node specific default values. For more information like when this method is to be overwritten see InitializeDefaults.