Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcValueRangePropertyNode type exposes the following members.
Initializes a new instance of the OpcValueRangePropertyNode class accessible by the name
specified as a child node of the parent
node given.
C#
public OpcValueRangePropertyNode(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 value range property node can be accessed.
Initializes a new instance of the OpcValueRangePropertyNode class accessible by the name
and id
specified as a child node of the parent
node given.
C#
public OpcValueRangePropertyNode(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 value range property node can be accessed.
id
OpcNodeId
The OpcNodeId through that the new value range property node can be identified and accessed.
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.
C#
public OpcValueRangePropertyNode(IOpcNode parent, OpcName name, OpcNodeId id, OpcValueRange 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 value range property node can be accessed.
id
OpcNodeId
The OpcNodeId through that the new value range property node can be identified and accessed.
value
OpcValueRange
The initial value of the new value range property node.
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.
C#
public OpcValueRangePropertyNode(IOpcNode parent, OpcName name, OpcValueRange 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 value range property node can be accessed.
value
OpcValueRange
The initial value of the new value range property node.
Initializes a new instance of the OpcValueRangePropertyNode class accessible by the name
specified.
C#
public OpcValueRangePropertyNode(OpcName name)
Parameters
name
OpcName
The OpcName through that the new value range property node can be accessed.
Initializes a new instance of the OpcValueRangePropertyNode class accessible by the name
and id
specified.
C#
public OpcValueRangePropertyNode(OpcName name, OpcNodeId id)
Parameters
name
OpcName
The OpcName through that the new value range property node can be accessed.
id
OpcNodeId
The OpcNodeId through that the new value range property node can be identified and accessed.
Initializes a new instance of the OpcValueRangePropertyNode class accessible by the name
and id
specified with the initial value given by value
.
C#
public OpcValueRangePropertyNode(OpcName name, OpcNodeId id, OpcValueRange value)
Parameters
name
OpcName
The OpcName through that the new value range property node can be accessed.
id
OpcNodeId
The OpcNodeId through that the new value range property node can be identified and accessed.
value
OpcValueRange
The initial value of the new value range property node.
Initializes a new instance of the OpcValueRangePropertyNode class accessible by the name
specified with the initial value given by value
.
C#
public OpcValueRangePropertyNode(OpcName name, OpcValueRange value)
Parameters
name
OpcName
The OpcName through that the new value range property node can be accessed.
value
OpcValueRange
The initial value of the new value range property node.
Gets or sets a callback used to read the value range property value.
C#
public OpcReadValueRangePropertyValueCallback ReadValueRangePropertyValueCallback { get; set; }
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).
Gets or sets the value of the property node.
C#
public OpcValueRange Value { get; set; }
Property Value
A OpcValueRange representing the value of the property node. This can be also a null reference (Nothing in Visual Basic).
Gets or sets a callback used to write the value range property value.
C#
public OpcWriteValueRangePropertyValueCallback WriteValueRangePropertyValueCallback { get; set; }
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).
Reads the value of the property node using the context
and value
information specified.
C#
protected override sealed OpcPropertyValue<object> ReadPropertyValueCore(OpcReadPropertyValueContext context, OpcPropertyValue<object> value)
Parameters
context
OpcReadPropertyValueContext
The OpcReadPropertyValueContext to use to read the property node value.
value
OpcPropertyValue<Object>
The OpcPropertyValue´1 containing the currently used value constructed by the value information contained in the property node cache.
Returns
The OpcPropertyValue´1 read using the ReadPropertyValueCallback or the value
if there is no custom callback routine defined.
Reads the value range value of the property node using the context
and value
information specified.
C#
protected virtual OpcPropertyValue<OpcValueRange> ReadValueRangePropertyValueCore(OpcReadPropertyValueContext<OpcValueRangePropertyNode> context, OpcPropertyValue<OpcValueRange> value)
Parameters
context
OpcReadPropertyValueContext<OpcValueRangePropertyNode>
The OpcReadPropertyValueContext´1 to use to read the property node value.
value
OpcPropertyValue<OpcValueRange>
The OpcPropertyValue´1 containing the currently used value constructed by the value information contained in the property node cache.
Returns
OpcPropertyValue<OpcValueRange>
The OpcPropertyValue´1 read using the ReadValueRangePropertyValueCallback or the value
if there is no custom callback routine defined.
Reads the value range value of the property node.
C#
public OpcValueRange ReadValueRangeValue(OpcReadVariableValueContext context)
Parameters
context
OpcReadVariableValueContext
The OpcReadVariableValueContext to use when reading the value.
Returns
The OpcValueRange value of the value range property node read.
Exceptions
The context
is a null reference (Nothing in Visual Basic).
Writes the value of the property node using the context
and value
information specified.
C#
protected override sealed OpcPropertyValue<object> WritePropertyValueCore(OpcWritePropertyValueContext context, OpcPropertyValue<object> value)
Parameters
context
OpcWritePropertyValueContext
The OpcWritePropertyValueContext to use to write the property node value.
value
OpcPropertyValue<Object>
The OpcPropertyValue´1 containing the currently used value constructed by the value information contained in the property node cache.
Returns
The OpcPropertyValue´1 written using the WritePropertyValueCallback or the value
if there is no custom callback routine defined.
Writes the value range value of the property node using the context
and value
information specified.
C#
protected virtual OpcPropertyValue<OpcValueRange> WriteValueRangePropertyValueCore(OpcWritePropertyValueContext<OpcValueRangePropertyNode> context, OpcPropertyValue<OpcValueRange> value)
Parameters
context
OpcWritePropertyValueContext<OpcValueRangePropertyNode>
The OpcWritePropertyValueContext´1 to use to write the property node value.
value
OpcPropertyValue<OpcValueRange>
The OpcPropertyValue´1 containing the currently used value constructed by the value information contained in the property node cache.
Returns
OpcPropertyValue<OpcValueRange>
The OpcPropertyValue´1 written using the WriteValueRangePropertyValueCallback or the value
if there is no custom callback routine defined.
Writes the value of the property node specified by value
.
C#
public void WriteValueRangeValue(OpcWriteVariableValueContext context, OpcValueRange value)
Parameters
context
OpcWriteVariableValueContext
The OpcWriteVariableValueContext to use when writing the value.
value
OpcValueRange
The OpcValueRange value of the value range property node to write.
Exceptions
The context
is a null reference (Nothing in Visual Basic).