C# Класс Opc.Ua.AcknowledgeableConditionState

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
OnAcknowledge ConditionAddCommentEventHandler
OnConfirm ConditionAddCommentEventHandler

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Описание методов

OnAcknowledgeCalled() защищенный Метод

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.
Результат ServiceResult

OnAfterCreate() защищенный Метод

Called after a node is created.
protected OnAfterCreate ( ISystemContext context, NodeState node ) : void
context ISystemContext
node NodeState
Результат void

OnConfirmCalled() защищенный Метод

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.
Результат ServiceResult

ProcessBeforeAcknowledge() защищенный Метод

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.
Результат ServiceResult

ProcessBeforeConfirm() защищенный Метод

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.
Результат ServiceResult

SetAcknowledgedState() публичный Метод

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.
Результат void

SetConfirmedState() публичный Метод

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.
Результат void

UpdateEffectiveState() защищенный Метод

Updates the effective state for the condition.
protected UpdateEffectiveState ( ISystemContext context ) : void
context ISystemContext The context.
Результат void

UpdateStateAfterAcknowledge() защищенный Метод

Updates the condition state after enabling.
protected UpdateStateAfterAcknowledge ( ISystemContext context ) : void
context ISystemContext The system context.
Результат void

UpdateStateAfterConfirm() защищенный Метод

Updates the condition state after enabling.
protected UpdateStateAfterConfirm ( ISystemContext context ) : void
context ISystemContext The system context.
Результат void

UpdateStateAfterUnacknowledge() защищенный Метод

Updates the condition state after disabling.
protected UpdateStateAfterUnacknowledge ( ISystemContext context ) : void
context ISystemContext The system context.
Результат void

UpdateStateAfterUnconfirm() защищенный Метод

Updates the condition state after disabling.
protected UpdateStateAfterUnconfirm ( ISystemContext context ) : void
context ISystemContext The system context.
Результат void

Описание свойств

OnAcknowledge публичное свойство

Raised when a condition is acknowledged.
Return code can be used to cancel the operation.
public ConditionAddCommentEventHandler OnAcknowledge
Результат ConditionAddCommentEventHandler

OnConfirm публичное свойство

Raised when a condition is confirmed.
Return code can be used to cancel the operation.
public ConditionAddCommentEventHandler OnConfirm
Результат ConditionAddCommentEventHandler