Reference
OpcConditionNodeExtension Members
Provides static (Shared in Visual Basic) extension methods to manage OpcConditionNode objects.
Reference
OpcConditionNodeExtension Members
- Type
- OpcConditionNodeExtension
- Namespace
- Opc.UaFx.Client
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Methods
AddComment
| Overload | Description |
|---|---|
| AddComment( | 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. |
| AddComment( | 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. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| OpcException | The call of the method node failed ( |
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.
public static void AddComment(
this OpcConditionNode conditionNode,
OpcClient client,
OpcText comment)Public Shared Sub AddComment(
conditionNode As OpcConditionNode,
client As OpcClient,
comment As OpcText)Parameters
| Name | Type | Description |
|---|---|---|
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
| Exception | Condition |
|---|---|
| Argument | The conditionNode or client is a null reference ( |
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.
public static void AddComment(
this OpcConditionNode conditionNode,
OpcClient client,
byte[] eventId,
OpcText comment)Public Shared Sub AddComment(
conditionNode As OpcConditionNode,
client As OpcClient,
eventId As Byte(),
comment As OpcText)Parameters
| Name | Type | Description |
|---|---|---|
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
| Exception | Condition |
|---|---|
| Argument | The conditionNode, client or eventId is a null reference ( |
Disable
Changes the condition state to 'Disabled' of the conditionNode specified using the further specified client.
public static void Disable(
this OpcConditionNode conditionNode,
OpcClient client)Public Shared Sub Disable(
conditionNode As OpcConditionNode,
client As OpcClient)Parameters
| Name | Type | Description |
|---|---|---|
conditionNode | OpcConditionNode | The OpcConditionNode its 'Disable' method node is to be called. |
client | OpcClient | The OpcClient to use to call the method. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The conditionNode or client is a null reference ( |
| OpcException | The call of the method node failed ( |
Enable
Changes the condition state to 'Enabled' of the conditionNode specified using the further specified client.
public static void Enable(this OpcConditionNode conditionNode, OpcClient client)Public Shared Sub Enable(conditionNode As OpcConditionNode, client As OpcClient)Parameters
| Name | Type | Description |
|---|---|---|
conditionNode | OpcConditionNode | The OpcConditionNode its 'Enable' method node is to be called. |
client | OpcClient | The OpcClient to use to call the method. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The conditionNode or client is a null reference ( |
| OpcException | The call of the method node failed ( |

