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

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

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

Свойство Тип Описание
OnRespond DialogResponseEventHandler

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

Метод Описание
Activate ( ISystemContext context ) : void

Activates the dialog.

SetResponse ( ISystemContext context, int response ) : void

Sets the response to the dialog.

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

Метод Описание
OnAfterCreate ( ISystemContext context, NodeState node ) : void

Called after a node is created.

OnRespondCalled ( ISystemContext context, MethodState method, Opc.Ua.NodeId objectId, int selectedResponse ) : ServiceResult

Called when the Respond method is called.

UpdateEffectiveState ( ISystemContext context ) : void

Updates the effective state for the condition.

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

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

Activates the dialog.
public Activate ( ISystemContext context ) : void
context ISystemContext The system context.
Результат void

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

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

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

Called when the Respond method is called.
protected OnRespondCalled ( ISystemContext context, MethodState method, Opc.Ua.NodeId objectId, int selectedResponse ) : ServiceResult
context ISystemContext The system context.
method MethodState The method being called.
objectId Opc.Ua.NodeId The id of the object.
selectedResponse int The selected response.
Результат ServiceResult

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

Sets the response to the dialog.
public SetResponse ( ISystemContext context, int response ) : void
context ISystemContext The system context.
response int The selected response.
Результат void

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

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

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

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

Raised when a dialog receives a Response.
Return code can be used to cancel the operation.
public DialogResponseEventHandler OnRespond
Результат DialogResponseEventHandler