OpcConditionNodeExtension Members

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

AddComment(OpcConditionNode, OpcClient, Byte[], OpcText)

Applies a comment to the state reported by an event notification which can be identified by the eventId on the conditionNode specified using the further specified client.

C#

public static void AddComment(this OpcConditionNode conditionNode, OpcClient client, byte[] eventId, OpcText comment)


Parameters

conditionNode OpcConditionNode

The OpcConditionNode its 'AddComment' method node is to be called.

client OpcClient

The OpcClient to use to call the method.

eventId Byte[]

The identifier which identifies the particular event notification its reported state for the conditionNode is to be commented.

comment OpcText

The text to apply on the condition state.



Exceptions

ArgumentNullException

The conditionNode, client or eventId is a null reference (Nothing in Visual Basic).

OpcException

The call of the method node failed (see exception details for more information).

AddComment(OpcConditionNode, OpcClient, OpcText)

Applies a comment to the state reported by an event notification which can be identified by the EventId of the conditionNode specified using the further specified client.

C#

public static void AddComment(this OpcConditionNode conditionNode, OpcClient client, OpcText comment)


Parameters

conditionNode OpcConditionNode

The OpcConditionNode its 'AddComment' method node is to be called.

client OpcClient

The OpcClient to use to call the method.

comment OpcText

The text to apply on the condition state.



Exceptions

ArgumentNullException

The conditionNode or client is a null reference (Nothing in Visual Basic).

OpcException

The call of the method node failed (see exception details for more information).

Disable(OpcConditionNode, OpcClient)

Changes the condition state to 'Disabled' of the conditionNode specified using the further specified client.

C#

public static void Disable(this OpcConditionNode conditionNode, OpcClient client)


Parameters

conditionNode OpcConditionNode

The OpcConditionNode its 'Disable' method node is to be called.

client OpcClient

The OpcClient to use to call the method.



Exceptions

ArgumentNullException

The conditionNode or client is a null reference (Nothing in Visual Basic).

OpcException

The call of the method node failed (see exception details for more information).

Enable(OpcConditionNode, OpcClient)

Changes the condition state to 'Enabled' of the conditionNode specified using the further specified client.

C#

public static void Enable(this OpcConditionNode conditionNode, OpcClient client)


Parameters

conditionNode OpcConditionNode

The OpcConditionNode its 'Enable' method node is to be called.

client OpcClient

The OpcClient to use to call the method.



Exceptions

ArgumentNullException

The conditionNode or client is a null reference (Nothing in Visual Basic).

OpcException

The call of the method node failed (see exception details for more information).