Namespace: Opc.UaFx.Client
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcConditionExtension type exposes the following members.
Applies a comment to the state reported by an event notification which can be identified by the eventId
on the condition
specified using the further specified client
.
C#
public static void AddComment(this OpcCondition condition, OpcClient client, byte[] eventId, OpcText comment)
Parameters
condition
OpcCondition
The OpcCondition 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 condition
is to be commented.
comment
OpcText
The text to apply on the condition state.
Exceptions
The condition
, client
or eventId
is a null reference (Nothing in Visual Basic).
The call of the method node failed (see exception details for more information).
Applies a comment to the state reported by an event notification which can be identified by the EventId of the condition
specified using the further specified client
.
C#
public static void AddComment(this OpcCondition condition, OpcClient client, OpcText comment)
Parameters
condition
OpcCondition
The OpcCondition 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
The condition
or client
is a null reference (Nothing in Visual Basic).
The call of the method node failed (see exception details for more information).
Changes the condition state to 'Disabled' of the condition
specified using the further specified client
.
C#
public static void Disable(this OpcCondition condition, OpcClient client)
Parameters
condition
OpcCondition
The OpcCondition its 'Disable' method node is to be called.
client
OpcClient
The OpcClient to use to call the method.
Exceptions
The condition
or client
is a null reference (Nothing in Visual Basic).
The call of the method node failed (see exception details for more information).
Changes the condition state to 'Enabled' of the condition
specified using the further specified client
.
C#
public static void Enable(this OpcCondition condition, OpcClient client)
Parameters
condition
OpcCondition
The OpcCondition its 'Enable' method node is to be called.
client
OpcClient
The OpcClient to use to call the method.
Exceptions
The condition
or client
is a null reference (Nothing in Visual Basic).
The call of the method node failed (see exception details for more information).