OpcConditionVariableNode<T> Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcConditionVariableNode<T> type exposes the following members.

OpcConditionVariableNode(IOpcNode, OpcName)

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

C#

public OpcConditionVariableNode(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 condition variable node can be accessed.

OpcConditionVariableNode(IOpcNode, OpcName, OpcNodeId)

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

C#

public OpcConditionVariableNode(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 condition variable node can be accessed.

id OpcNodeId

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

OpcConditionVariableNode(IOpcNode, OpcName, OpcNodeId, T)

Initializes a new instance of the OpcConditionVariableNode´1 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 OpcConditionVariableNode(IOpcNode parent, OpcName name, OpcNodeId id, T 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 condition variable node can be accessed.

id OpcNodeId

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

value T

The initial value of the new condition variable node.

OpcConditionVariableNode(IOpcNode, OpcName, T)

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

C#

public OpcConditionVariableNode(IOpcNode parent, OpcName name, T 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 condition variable node can be accessed.

value T

The initial value of the new condition variable node.

OpcConditionVariableNode(OpcName)

Initializes a new instance of the OpcConditionVariableNode´1 class accessible by the name specified.

C#

public OpcConditionVariableNode(OpcName name)


Parameters

name OpcName

The OpcName through that the new condition variable node can be accessed.

OpcConditionVariableNode(OpcName, OpcNodeId)

Initializes a new instance of the OpcConditionVariableNode´1 class accessible by the name and id specified.

C#

public OpcConditionVariableNode(OpcName name, OpcNodeId id)


Parameters

name OpcName

The OpcName through that the new condition variable node can be accessed.

id OpcNodeId

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

OpcConditionVariableNode(OpcName, OpcNodeId, T)

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

C#

public OpcConditionVariableNode(OpcName name, OpcNodeId id, T value)


Parameters

name OpcName

The OpcName through that the new condition variable node can be accessed.

id OpcNodeId

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

value T

The initial value of the new condition variable node.

OpcConditionVariableNode(OpcName, T)

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

C#

public OpcConditionVariableNode(OpcName name, T value)


Parameters

name OpcName

The OpcName through that the new condition variable node can be accessed.

value T

The initial value of the new condition variable node.

DataType

Gets or sets a value which defines a pre-defined used DataTypeId as one of the members defined by the OpcDataType enumeration to simplify querying standard data types.

C#

public override OpcDataType DataType { get; set; }


Property Value

OpcDataType

One of the members defined by the OpcDataType enumeration.

Value

Gets or sets the value of the condition variable node.

C#

public T Value { get; set; }


Property Value

T

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

InitializeDefaults()

Initializes the default values used by the OpcConditionVariableNode´1.

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.

ReadGenericValue(OpcReadVariableValueContext)

Reads the condition variable node value using the context specified.

C#

public T ReadGenericValue(OpcReadVariableValueContext context)


Parameters

context OpcReadVariableValueContext

The OpcReadVariableValueContext to use to read the condition variable node value.


Returns

T

The T condition variable node value associated with this node and read using the context specified. This can also be a null reference (Nothing in Visual Basic).



Exceptions

ArgumentNullException

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

WriteGenericValue(OpcWriteVariableValueContext, T)

Writes the value to the condition variable node value using the context specified.

C#

public void WriteGenericValue(OpcWriteVariableValueContext context, T value)


Parameters

context OpcWriteVariableValueContext

The OpcWriteVariableValueContext to use to write the condition variable node value specified.

value T

The T to write to the condition variable node value.



Exceptions

ArgumentNullException

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