Skip to content

Reference

OpcValueRangePropertyNode Members

Defines a property node for value range properties.

Reference

OpcValueRangePropertyNode Members ​

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

Inherits members from OpcPropertyNode, OpcVariableNode, OpcInstanceNode, OpcNode.

Constructors ​

OpcValueRangePropertyNode ​

10 overloads

OverloadDescription
OpcValueRangePropertyNode(OpcName)Initializes a new instance of the OpcValueRangePropertyNode class accessible by the name specified.
OpcValueRangePropertyNode(OpcName, OpcValueRange)Initializes a new instance of the OpcValueRangePropertyNode class accessible by the name specified with the initial value given by value.
OpcValueRangePropertyNode(OpcName, OpcNodeId)Initializes a new instance of the OpcValueRangePropertyNode class accessible by the name and id specified.
OpcValueRangePropertyNode(OpcName, OpcNodeId, OpcValueRange)Initializes a new instance of the OpcValueRangePropertyNode class accessible by the name and id specified with the initial value given by value.
OpcValueRangePropertyNode(IOpcNode, OpcName)Initializes a new instance of the OpcValueRangePropertyNode class accessible by the name specified as a child node of the parent node given.
OpcValueRangePropertyNode(IOpcNode, OpcName, OpcValueRange)Initializes a new instance of the OpcValueRangePropertyNode class accessible by the name specified with the initial value defined by value as a child node of the parent node given.
OpcValueRangePropertyNode(IOpcNode, OpcName, OpcNodeId)Initializes a new instance of the OpcValueRangePropertyNode class accessible by the name and id specified as a child node of the parent node given.
OpcValueRangePropertyNode(IOpcNode, OpcName, OpcNodeId, OpcValueRange)Initializes a new instance of the OpcValueRangePropertyNode class accessible by the name and id specified with the initial value defined by value as a child node of the parent node given.
OpcValueRangePropertyNode(PropertyState<Range>)protected · since v2.50Initializes a new instance of the OpcValueRangePropertyNode class using the content as the instance to wrap.
OpcValueRangePropertyNode(PropertyState<Range>, OpcNodeModel)protected · since v2.50Initializes a new instance of the OpcValueRangePropertyNode class using the content as the instance to wrap.

OpcValueRangePropertyNode(OpcName) ​

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

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

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new value range property node can be accessed.

OpcValueRangePropertyNode(OpcName, OpcValueRange) ​

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

csharp
public OpcValueRangePropertyNode(OpcName name, OpcValueRange value)
vbnet
Public Sub New(name As OpcName, value As OpcValueRange)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new value range property node can be accessed.
valueOpcValueRangeThe initial value of the new value range property node.

OpcValueRangePropertyNode(OpcName, OpcNodeId) ​

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

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

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new value range property node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new value range property node can be identified and accessed.

OpcValueRangePropertyNode(OpcName, OpcNodeId, OpcValueRange) ​

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

csharp
public OpcValueRangePropertyNode(
    OpcName name,
    OpcNodeId id,
    OpcValueRange value)
vbnet
Public Sub New(name As OpcName, id As OpcNodeId, value As OpcValueRange)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new value range property node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new value range property node can be identified and accessed.
valueOpcValueRangeThe initial value of the new value range property node.

OpcValueRangePropertyNode(IOpcNode, OpcName) ​

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

csharp
public OpcValueRangePropertyNode(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 value range property node can be accessed.

OpcValueRangePropertyNode(IOpcNode, OpcName, OpcValueRange) ​

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

csharp
public OpcValueRangePropertyNode(
    IOpcNode parent,
    OpcName name,
    OpcValueRange value)
vbnet
Public Sub New(parent As IOpcNode, name As OpcName, value As OpcValueRange)

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 value range property node can be accessed.
valueOpcValueRangeThe initial value of the new value range property node.

OpcValueRangePropertyNode(IOpcNode, OpcName, OpcNodeId) ​

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

csharp
public OpcValueRangePropertyNode(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 value range property node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new value range property node can be identified and accessed.

OpcValueRangePropertyNode(IOpcNode, OpcName, OpcNodeId, OpcValueRange) ​

Initializes a new instance of the OpcValueRangePropertyNode 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 OpcValueRangePropertyNode(
    IOpcNode parent,
    OpcName name,
    OpcNodeId id,
    OpcValueRange value)
vbnet
Public Sub New(
    parent As IOpcNode,
    name As OpcName,
    id As OpcNodeId,
    value As OpcValueRange)

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 value range property node can be accessed.
idOpcNodeIdThe OpcNodeId through that the new value range property node can be identified and accessed.
valueOpcValueRangeThe initial value of the new value range property node.

OpcValueRangePropertyNode(PropertyState<Range>) ​

protected · since v2.50

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

csharp
protected OpcValueRangePropertyNode(PropertyState<Range> content)
vbnet
Protected Sub New(content As PropertyState(Of Range))

Parameters

NameTypeDescription
contentPropertyState<Range>The PropertyState<T> to wrap.

Exceptions

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

OpcValueRangePropertyNode(PropertyState<Range>, OpcNodeModel) ​

protected · since v2.50

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

csharp
protected OpcValueRangePropertyNode(
    PropertyState<Range> content,
    OpcNodeModel model)
vbnet
Protected Sub New(content As PropertyState(Of Range), model As OpcNodeModel)

Parameters

NameTypeDescription
contentPropertyState<Range>The PropertyState<T> 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).

Properties ​

ReadValueRangePropertyValueCallback ​

Gets or sets a callback used to read the value range property value.

csharp
public OpcReadValueRangePropertyValueCallback ReadValueRangePropertyValueCallback { get; set; }
vbnet
Public Property ReadValueRangePropertyValueCallback As OpcReadValueRangePropertyValueCallback

Property value

OpcReadValueRangePropertyValueCallback

A OpcReadValueRangePropertyValueCallback used to read the value range property value as the type OpcValueRange. The value can also be a null reference (Nothing in Visual Basic).

Remarks

This callback is used in call chain with the ReadPropertyValueCallback and will be called with the outcome of that callback routine (in case there is one defined).

Value ​

Gets or sets the value of the property node.

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

Property value

OpcValueRange

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

WriteValueRangePropertyValueCallback ​

Gets or sets a callback used to write the value range property value.

csharp
public OpcWriteValueRangePropertyValueCallback WriteValueRangePropertyValueCallback { get; set; }
vbnet
Public Property WriteValueRangePropertyValueCallback As OpcWriteValueRangePropertyValueCallback

Property value

OpcWriteValueRangePropertyValueCallback

A OpcWriteValueRangePropertyValueCallback used to write the value range property value as the type OpcValueRange. The value can also be a null reference (Nothing in Visual Basic).

Remarks

This callback is used in call chain with the WritePropertyValueCallback and will be called with the outcome of that callback routine (in case there is one defined).

Methods ​

ReadPropertyValueCore ​

protected · override

Reads the value of the property node using the context and value information specified.

csharp
protected override sealed OpcPropertyValue<object> ReadPropertyValueCore(
    OpcReadPropertyValueContext context,
    OpcPropertyValue<object> value)
vbnet
Protected NotOverridable Overrides Function ReadPropertyValueCore(
    context As OpcReadPropertyValueContext,
    value As OpcPropertyValue(Of Object)) As OpcPropertyValue(Of Object)

Parameters

NameTypeDescription
contextOpcReadPropertyValueContextThe OpcReadPropertyValueContext to use to read the property node value.
valueOpcPropertyValue<Object>The OpcPropertyValue<T> containing the currently used value constructed by the value information contained in the property node cache.

Returns

OpcPropertyValue<Object>

The OpcPropertyValue<T> read using the ReadPropertyValueCallback or the value if there is no custom callback routine defined.

Overrides

ReadPropertyValueCore

ReadValueRangePropertyValueCore ​

protected · virtual

Reads the value range value of the property node using the context and value information specified.

csharp
protected virtual OpcPropertyValue<OpcValueRange> ReadValueRangePropertyValueCore(
    OpcReadPropertyValueContext<OpcValueRangePropertyNode> context,
    OpcPropertyValue<OpcValueRange> value)
vbnet
Protected Overridable Function ReadValueRangePropertyValueCore(
    context As OpcReadPropertyValueContext(Of OpcValueRangePropertyNode),
    value As OpcPropertyValue(Of OpcValueRange)) As OpcPropertyValue(Of OpcValueRange)

Parameters

NameTypeDescription
contextOpcReadPropertyValueContext<OpcValueRangePropertyNode>The OpcReadPropertyValueContext<T> to use to read the property node value.
valueOpcPropertyValue<OpcValueRange>The OpcPropertyValue<T> containing the currently used value constructed by the value information contained in the property node cache.

Returns

OpcPropertyValue<OpcValueRange>

The OpcPropertyValue<T> read using the ReadValueRangePropertyValueCallback or the value if there is no custom callback routine defined.

ReadValueRangeValue ​

Reads the value range value of the property node.

csharp
public OpcValueRange ReadValueRangeValue(OpcReadVariableValueContext context)
vbnet
Public Function ReadValueRangeValue(
    context As OpcReadVariableValueContext) As OpcValueRange

Parameters

NameTypeDescription
contextOpcReadVariableValueContextThe OpcReadVariableValueContext to use when reading the value.

Returns

OpcValueRange

The OpcValueRange value of the value range property node read.

Exceptions

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

WritePropertyValueCore ​

protected · override

Writes the value of the property node using the context and value information specified.

csharp
protected override sealed OpcPropertyValue<object> WritePropertyValueCore(
    OpcWritePropertyValueContext context,
    OpcPropertyValue<object> value)
vbnet
Protected NotOverridable Overrides Function WritePropertyValueCore(
    context As OpcWritePropertyValueContext,
    value As OpcPropertyValue(Of Object)) As OpcPropertyValue(Of Object)

Parameters

NameTypeDescription
contextOpcWritePropertyValueContextThe OpcWritePropertyValueContext to use to write the property node value.
valueOpcPropertyValue<Object>The OpcPropertyValue<T> containing the currently used value constructed by the value information contained in the property node cache.

Returns

OpcPropertyValue<Object>

The OpcPropertyValue<T> written using the WritePropertyValueCallback or the value if there is no custom callback routine defined.

Overrides

WritePropertyValueCore

WriteValueRangePropertyValueCore ​

protected · virtual

Writes the value range value of the property node using the context and value information specified.

csharp
protected virtual OpcPropertyValue<OpcValueRange> WriteValueRangePropertyValueCore(
    OpcWritePropertyValueContext<OpcValueRangePropertyNode> context,
    OpcPropertyValue<OpcValueRange> value)
vbnet
Protected Overridable Function WriteValueRangePropertyValueCore(
    context As OpcWritePropertyValueContext(Of OpcValueRangePropertyNode),
    value As OpcPropertyValue(Of OpcValueRange)) As OpcPropertyValue(Of OpcValueRange)

Parameters

NameTypeDescription
contextOpcWritePropertyValueContext<OpcValueRangePropertyNode>The OpcWritePropertyValueContext<T> to use to write the property node value.
valueOpcPropertyValue<OpcValueRange>The OpcPropertyValue<T> containing the currently used value constructed by the value information contained in the property node cache.

Returns

OpcPropertyValue<OpcValueRange>

The OpcPropertyValue<T> written using the WriteValueRangePropertyValueCallback or the value if there is no custom callback routine defined.

WriteValueRangeValue ​

Writes the value of the property node specified by value.

csharp
public void WriteValueRangeValue(
    OpcWriteVariableValueContext context,
    OpcValueRange value)
vbnet
Public Sub WriteValueRangeValue(
    context As OpcWriteVariableValueContext,
    value As OpcValueRange)

Parameters

NameTypeDescription
contextOpcWriteVariableValueContextThe OpcWriteVariableValueContext to use when writing the value.
valueOpcValueRangeThe OpcValueRange value of the value range property node to write.

Exceptions

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