Skip to content

Reference

OpcAnalogUnitNode Members

Defines an analog unit node.

Reference

OpcAnalogUnitNode Members ​

Type
OpcAnalogUnitNode
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0

Inherits members from OpcDataItemNode, OpcVariableNode, OpcInstanceNode, OpcNode.

Constructors ​

OpcAnalogUnitNode ​

18 overloads

OverloadDescription
OpcAnalogUnitNode(OpcName)Initializes a new instance of the OpcAnalogUnitNode class accessible by the name specified.
OpcAnalogUnitNode(OpcName, object)Initializes a new instance of the OpcAnalogUnitNode class accessible by the name specified with the initial value given by value.
OpcAnalogUnitNode(OpcName, OpcNodeId)Initializes a new instance of the OpcAnalogUnitNode class accessible by the name and id specified.
OpcAnalogUnitNode(OpcName, OpcNodeId, object)Initializes a new instance of the OpcAnalogUnitNode class accessible by the name and id specified with the initial value given by value.
OpcAnalogUnitNode(IOpcNode, OpcName)Initializes a new instance of the OpcAnalogUnitNode class accessible by the name specified as a child node of the parent node given.
OpcAnalogUnitNode(IOpcNode, OpcName, object)Initializes a new instance of the OpcAnalogUnitNode class accessible by the name specified with the initial value defined by value as a child node of the parent node given.
OpcAnalogUnitNode(IOpcNode, OpcName, OpcNodeId)Initializes a new instance of the OpcAnalogUnitNode class accessible by the name and id specified as a child node of the parent node given.
OpcAnalogUnitNode(IOpcNode, OpcName, OpcNodeId, object)Initializes a new instance of the OpcAnalogUnitNode class accessible by the name and id specified with the initial value defined by value as a child node of the parent node given.
OpcAnalogUnitNode(AnalogUnitState)protectedInitializes a new instance of the OpcAnalogUnitNode class using the content as the instance to wrap.
OpcAnalogUnitNode(AnalogUnitState, OpcNodeModel)protectedInitializes a new instance of the OpcAnalogUnitNode class using the content as the instance to wrap.
OpcAnalogUnitNode(OpcNodeModel, OpcName)protectedInitializes a new instance of the OpcAnalogUnitNode class accessible by the name specified.
OpcAnalogUnitNode(OpcNodeModel, OpcName, object)protectedInitializes a new instance of the OpcAnalogUnitNode class accessible by the name specified with the initial value given by value.
OpcAnalogUnitNode(OpcNodeModel, OpcName, OpcNodeId)protectedInitializes a new instance of the OpcAnalogUnitNode class accessible by the name and id specified.
OpcAnalogUnitNode(OpcNodeModel, OpcName, OpcNodeId, object)protectedInitializes a new instance of the OpcAnalogUnitNode class accessible by the name and id specified with the initial value given by value.
OpcAnalogUnitNode(OpcNodeModel, IOpcNode, OpcName)protectedInitializes a new instance of the OpcAnalogUnitNode class accessible by the name specified as a child node of the parent node given.
OpcAnalogUnitNode(OpcNodeModel, IOpcNode, OpcName, object)protectedInitializes a new instance of the OpcAnalogUnitNode class accessible by the name specified with the initial value defined by value as a child node of the parent node given.
OpcAnalogUnitNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId)protectedInitializes a new instance of the OpcAnalogUnitNode class accessible by the name and id specified as a child node of the parent node given.
OpcAnalogUnitNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId, object)protectedInitializes a new instance of the OpcAnalogUnitNode class accessible by the name and id specified with the initial value defined by value as a child node of the parent node given.

OpcAnalogUnitNode(OpcName) ​

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

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

Parameters

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

OpcAnalogUnitNode(OpcName, object) ​

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

csharp
public OpcAnalogUnitNode(OpcName name, object value)
vbnet
Public Sub New(name As OpcName, value As Object)

Parameters

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

OpcAnalogUnitNode(OpcName, OpcNodeId) ​

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

csharp
public OpcAnalogUnitNode(OpcName name, OpcNodeId id)
vbnet
Public Sub New(name As OpcName, id As OpcNodeId)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new analog unit node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new analog unit node can be identified and accessed.

OpcAnalogUnitNode(OpcName, OpcNodeId, object) ​

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

csharp
public OpcAnalogUnitNode(OpcName name, OpcNodeId id, object value)
vbnet
Public Sub New(name As OpcName, id As OpcNodeId, value As Object)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new analog unit node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new analog unit node can be identified and accessed.
valueObjectThe initial value of the new analog unit node.

OpcAnalogUnitNode(IOpcNode, OpcName) ​

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

csharp
public OpcAnalogUnitNode(IOpcNode parent, OpcName name)
vbnet
Public Sub New(parent As IOpcNode, name As OpcName)

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new analog unit node can be accessed.

OpcAnalogUnitNode(IOpcNode, OpcName, object) ​

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

csharp
public OpcAnalogUnitNode(IOpcNode parent, OpcName name, object value)
vbnet
Public Sub New(parent As IOpcNode, name As OpcName, value As Object)

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new analog unit node can be accessed.
valueObjectThe initial value of the new analog unit node.

OpcAnalogUnitNode(IOpcNode, OpcName, OpcNodeId) ​

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

csharp
public OpcAnalogUnitNode(IOpcNode parent, OpcName name, OpcNodeId id)
vbnet
Public Sub New(parent As IOpcNode, name As OpcName, id As OpcNodeId)

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new analog unit node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new analog unit node can be identified and accessed.

OpcAnalogUnitNode(IOpcNode, OpcName, OpcNodeId, object) ​

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

csharp
public OpcAnalogUnitNode(
    IOpcNode parent,
    OpcName name,
    OpcNodeId id,
    object value)
vbnet
Public Sub New(
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId,
    value As Object)

Parameters

NameTypeDescription
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new analog unit node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new analog unit node can be identified and accessed.
valueObjectThe initial value of the new analog unit node.

OpcAnalogUnitNode(AnalogUnitState) ​

protected

Initializes a new instance of the OpcAnalogUnitNode class using the content as the instance to wrap.

csharp
protected OpcAnalogUnitNode(AnalogUnitState content)
vbnet
Protected Sub New(content As AnalogUnitState)

Parameters

NameTypeDescription
contentAnalogUnitStateThe AnalogUnitState to wrap.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe content is a null reference (Nothing in Visual Basic).

OpcAnalogUnitNode(AnalogUnitState, OpcNodeModel) ​

protected

Initializes a new instance of the OpcAnalogUnitNode class using the content as the instance to wrap.

csharp
protected OpcAnalogUnitNode(AnalogUnitState content, OpcNodeModel model)
vbnet
Protected Sub New(content As AnalogUnitState, model As OpcNodeModel)

Parameters

NameTypeDescription
contentAnalogUnitStateThe AnalogUnitState to wrap.
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe content is a null reference (Nothing in Visual Basic).

OpcAnalogUnitNode(OpcNodeModel, OpcName) ​

protected

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

csharp
protected OpcAnalogUnitNode(OpcNodeModel model, OpcName name)
vbnet
Protected Sub New(model As OpcNodeModel, name As OpcName)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
nameOpcNameThe OpcName through that the new analog unit node can be accessed.

OpcAnalogUnitNode(OpcNodeModel, OpcName, object) ​

protected

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

csharp
protected OpcAnalogUnitNode(OpcNodeModel model, OpcName name, object value)
vbnet
Protected Sub New(model As OpcNodeModel, name As OpcName, value As Object)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
nameOpcNameThe OpcName through that the new analog unit node can be accessed.
valueObjectThe initial value of the new analog unit node.

OpcAnalogUnitNode(OpcNodeModel, OpcName, OpcNodeId) ​

protected

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

csharp
protected OpcAnalogUnitNode(OpcNodeModel model, OpcName name, OpcNodeId id)
vbnet
Protected Sub New(model As OpcNodeModel, name As OpcName, id As OpcNodeId)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
nameOpcNameThe OpcName through that the new analog unit node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new analog unit node can be identified and accessed.

OpcAnalogUnitNode(OpcNodeModel, OpcName, OpcNodeId, object) ​

protected

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

csharp
protected OpcAnalogUnitNode(
    OpcNodeModel model,
    OpcName name,
    OpcNodeId id,
    object value)
vbnet
Protected Sub New(
    model As OpcNodeModel,
    name As OpcName,
    id As OpcNodeId,
    value As Object)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
nameOpcNameThe OpcName through that the new analog unit node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new analog unit node can be identified and accessed.
valueObjectThe initial value of the new analog unit node.

OpcAnalogUnitNode(OpcNodeModel, IOpcNode, OpcName) ​

protected

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

csharp
protected OpcAnalogUnitNode(OpcNodeModel model, IOpcNode parent, OpcName name)
vbnet
Protected Sub New(model As OpcNodeModel, parent As IOpcNode, name As OpcName)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new analog unit node can be accessed.

OpcAnalogUnitNode(OpcNodeModel, IOpcNode, OpcName, object) ​

protected

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

csharp
protected OpcAnalogUnitNode(
    OpcNodeModel model,
    IOpcNode parent,
    OpcName name,
    object value)
vbnet
Protected Sub New(
    model As OpcNodeModel,
    parent As IOpcNode,
    name As OpcName,
    value As Object)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new analog unit node can be accessed.
valueObjectThe initial value of the new analog unit node.

OpcAnalogUnitNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId) ​

protected

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

csharp
protected OpcAnalogUnitNode(
    OpcNodeModel model,
    IOpcNode parent,
    OpcName name,
    OpcNodeId id)
vbnet
Protected Sub New(
    model As OpcNodeModel,
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new analog unit node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new analog unit node can be identified and accessed.

OpcAnalogUnitNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId, object) ​

protected

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

csharp
protected OpcAnalogUnitNode(
    OpcNodeModel model,
    IOpcNode parent,
    OpcName name,
    OpcNodeId id,
    object value)
vbnet
Protected Sub New(
    model As OpcNodeModel,
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId,
    value As Object)

Parameters

NameTypeDescription
modelOpcNodeModelThe OpcNodeModel which defines the modelling directives for the new node or a null reference (Nothing in Visual Basic) if there are no directives are to be applied to the node.
parentIOpcNodeThe IOpcNode used as the parent node or a null reference (Nothing in Visual Basic) in the case there is no parent node available.
nameOpcNameThe OpcName through that the new analog unit node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new analog unit node can be identified and accessed.
valueObjectThe initial value of the new analog unit node.

Properties ​

DefaultTypeDefinitionId ​

protected · override

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

csharp
protected override OpcNodeId DefaultTypeDefinitionId { get; }
vbnet
Protected Overrides ReadOnly Property DefaultTypeDefinitionId As OpcNodeId

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).

Overrides

DefaultTypeDefinitionId

EngineeringUnit ​

Gets or sets the engineering unit information which specifies the unit of the value attribute of the OpcAnalogUnitNode.

csharp
public OpcEngineeringUnitInfo EngineeringUnit { get; set; }
vbnet
Public Property EngineeringUnit As OpcEngineeringUnitInfo

Property value

OpcEngineeringUnitInfo

An instance of the OpcEngineeringUnitInfo class which provides the information of the unit used to scale the value attribute of the OpcAnalogUnitNode.

Remarks

Understanding the units of a measurement value is essential for a uniform system. In an open system in particular where servers from different cultures might be used, it is essential to know what the units of measurement are. Based on such knowledge, values can be converted if necessary before being used. Therefore, although defined as optional, support of the EngineeringUnit property is strongly advised.

EngineeringUnitNode ​

Gets the OpcEngineeringUnitInfoPropertyNode of the EngineeringUnit property.

csharp
public OpcEngineeringUnitInfoPropertyNode EngineeringUnitNode { get; }
vbnet
Public ReadOnly Property EngineeringUnitNode As OpcEngineeringUnitInfoPropertyNode

Property value

OpcEngineeringUnitInfoPropertyNode

An instance of the OpcEngineeringUnitInfoPropertyNode class.

EngineeringUnitRange ​

Gets or sets the range information which applies to normal operation.

csharp
public OpcValueRange EngineeringUnitRange { get; set; }
vbnet
Public Property EngineeringUnitRange As OpcValueRange

Property value

OpcValueRange

An instance of the OpcValueRange class which provides the range information of the value attribute in normal operation. This information is intended for such use as automatically scaling a bar graph display.

Remarks

Sensor or instrument failure or deactivation can result in a returned item value which is actually outside of this range. Clients must be prepared to deal with this possibility. Similarly a Client may attempt to write a value that is outside of this range back to the Server. The exact behaviour (accept, reject, clamp, etc.) in this case is Server-dependent. However, in general Server shall be prepared to handle this.

EngineeringUnitRangeNode ​

Gets the OpcValueRangePropertyNode of the EngineeringUnitRange property.

csharp
public OpcValueRangePropertyNode EngineeringUnitRangeNode { get; }
vbnet
Public ReadOnly Property EngineeringUnitRangeNode As OpcValueRangePropertyNode

Property value

OpcValueRangePropertyNode

An instance of the OpcValueRangePropertyNode class.

InstrumentRange ​

Gets or sets the range information which applies to the instrumental values returned by the instrument.

csharp
public OpcValueRange InstrumentRange { get; set; }
vbnet
Public Property InstrumentRange As OpcValueRange

Property value

OpcValueRange

An instance of the OpcValueRange class which provides the range information about the values provided by the unterlaying senor or instrument used to determine the value of the OpcAnalogUnitNode.

Remarks

Although defined as optional, it is strongly recommended for Servers to support this property. Without an InstrumentRange being provided, Clients will commonly assume the full range according to the DataType of the OpcAnalogUnitNode.

InstrumentRangeNode ​

Gets the OpcValueRangePropertyNode of the InstrumentRange property.

csharp
public OpcValueRangePropertyNode InstrumentRangeNode { get; }
vbnet
Public ReadOnly Property InstrumentRangeNode As OpcValueRangePropertyNode

Property value

OpcValueRangePropertyNode

An instance of the OpcValueRangePropertyNode class.