C# Class Opc.Ua.AcknowledgeableConditionState

Afficher le fichier Open project: OPCFoundation/UA-.NETStandardLibrary Class Usage Examples

Méthodes publiques

Свойство Type Description
OnAcknowledge ConditionAddCommentEventHandler
OnConfirm ConditionAddCommentEventHandler

Méthodes publiques

Méthode Description
SetAcknowledgedState ( ISystemContext context, bool acknowledged ) : void

Sets the acknowledged state of the condition.

SetConfirmedState ( ISystemContext context, bool confirmed ) : void

Sets the confirmed state of the condition.

Méthodes protégées

Méthode Description
OnAcknowledgeCalled ( ISystemContext context, MethodState method, Opc.Ua.NodeId objectId, byte eventId, Opc.Ua.LocalizedText comment ) : ServiceResult

Called when the Acknowledge method is called.

OnAfterCreate ( ISystemContext context, NodeState node ) : void

Called after a node is created.

OnConfirmCalled ( ISystemContext context, MethodState method, Opc.Ua.NodeId objectId, byte eventId, Opc.Ua.LocalizedText comment ) : ServiceResult

Called when the Confirm method is called.

ProcessBeforeAcknowledge ( ISystemContext context, byte eventId, Opc.Ua.LocalizedText comment ) : ServiceResult

Does any processing before adding a comment to a condition.

ProcessBeforeConfirm ( ISystemContext context, byte eventId, Opc.Ua.LocalizedText comment ) : ServiceResult

Does any processing before adding a comment to a condition.

UpdateEffectiveState ( ISystemContext context ) : void

Updates the effective state for the condition.

UpdateStateAfterAcknowledge ( ISystemContext context ) : void

Updates the condition state after enabling.

UpdateStateAfterConfirm ( ISystemContext context ) : void

Updates the condition state after enabling.

UpdateStateAfterUnacknowledge ( ISystemContext context ) : void

Updates the condition state after disabling.

UpdateStateAfterUnconfirm ( ISystemContext context ) : void

Updates the condition state after disabling.

Method Details

OnAcknowledgeCalled() protected méthode

Called when the Acknowledge method is called.
protected OnAcknowledgeCalled ( ISystemContext context, MethodState method, Opc.Ua.NodeId objectId, byte eventId, Opc.Ua.LocalizedText comment ) : ServiceResult
context ISystemContext The system context.
method MethodState The method being called.
objectId Opc.Ua.NodeId The id of the object.
eventId byte The identifier for the event which is the target for the comment.
comment Opc.Ua.LocalizedText The comment.
Résultat ServiceResult

OnAfterCreate() protected méthode

Called after a node is created.
protected OnAfterCreate ( ISystemContext context, NodeState node ) : void
context ISystemContext
node NodeState
Résultat void

OnConfirmCalled() protected méthode

Called when the Confirm method is called.
protected OnConfirmCalled ( ISystemContext context, MethodState method, Opc.Ua.NodeId objectId, byte eventId, Opc.Ua.LocalizedText comment ) : ServiceResult
context ISystemContext The system context.
method MethodState The method being called.
objectId Opc.Ua.NodeId The id of the object.
eventId byte The identifier for the event which is the target for the comment.
comment Opc.Ua.LocalizedText The comment.
Résultat ServiceResult

ProcessBeforeAcknowledge() protected méthode

Does any processing before adding a comment to a condition.
protected ProcessBeforeAcknowledge ( ISystemContext context, byte eventId, Opc.Ua.LocalizedText comment ) : ServiceResult
context ISystemContext The system context.
eventId byte The identifier for the event which is the target for the comment.
comment Opc.Ua.LocalizedText The comment.
Résultat ServiceResult

ProcessBeforeConfirm() protected méthode

Does any processing before adding a comment to a condition.
protected ProcessBeforeConfirm ( ISystemContext context, byte eventId, Opc.Ua.LocalizedText comment ) : ServiceResult
context ISystemContext The system context.
eventId byte The identifier for the event which is the target for the comment.
comment Opc.Ua.LocalizedText The comment.
Résultat ServiceResult

SetAcknowledgedState() public méthode

Sets the acknowledged state of the condition.
public SetAcknowledgedState ( ISystemContext context, bool acknowledged ) : void
context ISystemContext The system context.
acknowledged bool if set to true the condition is acknowledged.
Résultat void

SetConfirmedState() public méthode

Sets the confirmed state of the condition.
public SetConfirmedState ( ISystemContext context, bool confirmed ) : void
context ISystemContext The context.
confirmed bool if set to true the condition is confirmed.
Résultat void

UpdateEffectiveState() protected méthode

Updates the effective state for the condition.
protected UpdateEffectiveState ( ISystemContext context ) : void
context ISystemContext The context.
Résultat void

UpdateStateAfterAcknowledge() protected méthode

Updates the condition state after enabling.
protected UpdateStateAfterAcknowledge ( ISystemContext context ) : void
context ISystemContext The system context.
Résultat void

UpdateStateAfterConfirm() protected méthode

Updates the condition state after enabling.
protected UpdateStateAfterConfirm ( ISystemContext context ) : void
context ISystemContext The system context.
Résultat void

UpdateStateAfterUnacknowledge() protected méthode

Updates the condition state after disabling.
protected UpdateStateAfterUnacknowledge ( ISystemContext context ) : void
context ISystemContext The system context.
Résultat void

UpdateStateAfterUnconfirm() protected méthode

Updates the condition state after disabling.
protected UpdateStateAfterUnconfirm ( ISystemContext context ) : void
context ISystemContext The system context.
Résultat void

Property Details

OnAcknowledge public_oe property

Raised when a condition is acknowledged.
Return code can be used to cancel the operation.
public ConditionAddCommentEventHandler OnAcknowledge
Résultat ConditionAddCommentEventHandler

OnConfirm public_oe property

Raised when a condition is confirmed.
Return code can be used to cancel the operation.
public ConditionAddCommentEventHandler OnConfirm
Résultat ConditionAddCommentEventHandler