OpcPropertyNode Members

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

OpcPropertyNode(IOpcNode, OpcName)

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

C#

public OpcPropertyNode(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 property node can be accessed.

OpcPropertyNode(IOpcNode, OpcName, Object)

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

C#

public OpcPropertyNode(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 property node can be accessed.

value Object

The initial value of the new property node.

OpcPropertyNode(IOpcNode, OpcName, OpcNodeId)

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

C#

public OpcPropertyNode(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 property node can be accessed.

id OpcNodeId

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

OpcPropertyNode(IOpcNode, OpcName, OpcNodeId, Object)

Initializes a new instance of the OpcPropertyNode 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 OpcPropertyNode(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 property node can be accessed.

id OpcNodeId

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

value Object

The initial value of the new property node.

OpcPropertyNode(OpcName)

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

C#

public OpcPropertyNode(OpcName name)


Parameters

name OpcName

The OpcName through that the new property node can be accessed.

OpcPropertyNode(OpcName, Object)

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

C#

public OpcPropertyNode(OpcName name, object value)


Parameters

name OpcName

The OpcName through that the new property node can be accessed.

value Object

The initial value of the new property node.

OpcPropertyNode(OpcName, OpcNodeId)

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

C#

public OpcPropertyNode(OpcName name, OpcNodeId id)


Parameters

name OpcName

The OpcName through that the new property node can be accessed.

id OpcNodeId

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

OpcPropertyNode(OpcName, OpcNodeId, Object)

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

C#

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


Parameters

name OpcName

The OpcName through that the new property node can be accessed.

id OpcNodeId

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

value Object

The initial value of the new property node.

DefaultReferenceTypeId

Gets the default identifier which identifies the type that defines the underlying node reference within this OpcInstanceNode is referenced by its parent node.

C#

protected override OpcNodeId DefaultReferenceTypeId { get; }


Property Value

OpcNodeId

The OpcNodeId of the reference wihin this OpcInstanceNode is referenced. These reference defines the typical behaviour of an instance node and its role in the address space regarding its parent. If there exists no specific reference type a null reference (Nothing in Visual Basic).

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

ReadPropertyValueCallback

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

C#

public OpcReadPropertyValueCallback ReadPropertyValueCallback { get; set; }


Property Value

OpcReadPropertyValueCallback

A OpcReadPropertyValueCallback used to read the property value as an Object. The value can also be a null reference (Nothing in Visual Basic).



Remarks

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

WritePropertyValueCallback

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

C#

public OpcWritePropertyValueCallback WritePropertyValueCallback { get; set; }


Property Value

OpcWritePropertyValueCallback

A OpcWritePropertyValueCallback used to write the property value as an Object. The value can also be a null reference (Nothing in Visual Basic).



Remarks

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

ReadPropertyValueCore(OpcReadPropertyValueContext, OpcPropertyValue<Object>)

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

C#

protected virtual 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

OpcPropertyValue<Object>

The OpcPropertyValue´1 read using the ReadPropertyValueCallback or the value if there is no custom callback routine defined.

ReadVariableValueCore(OpcReadVariableValueContext, OpcVariableValue<Object>)

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

C#

protected override sealed OpcVariableValue<object> ReadVariableValueCore(OpcReadVariableValueContext context, OpcVariableValue<object> value)


Parameters

context OpcReadVariableValueContext

The OpcReadVariableValueContext to use to read the variable node value.

value OpcVariableValue<Object>

The OpcVariableValue´1 containing the currently used value constructed by the value information contained in the variable node cache.


Returns

OpcVariableValue<Object>

The OpcVariableValue´1 read using the ReadVariableValueCallback or the value if there is no custom callback routine defined.

WritePropertyValueCore(OpcWritePropertyValueContext, OpcPropertyValue<Object>)

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

C#

protected virtual 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

OpcPropertyValue<Object>

The OpcPropertyValue´1 written using the WritePropertyValueCallback or the value if there is no custom callback routine defined.

WriteVariableValueCore(OpcWriteVariableValueContext, OpcVariableValue<Object>)

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

C#

protected override sealed OpcVariableValue<object> WriteVariableValueCore(OpcWriteVariableValueContext context, OpcVariableValue<object> value)


Parameters

context OpcWriteVariableValueContext

The OpcWriteVariableValueContext to use to write the variable node value.

value OpcVariableValue<Object>

The OpcVariableValue´1 containing the currently used value constructed by the value information contained in the variable node cache.


Returns

OpcVariableValue<Object>

The OpcVariableValue´1 written using the WriteVariableValueCallback or the value if there is no custom callback routine defined.