C# Class Opc.Ua.DialogConditionState

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

Méthodes publiques

Свойство Type Description
OnRespond DialogResponseEventHandler

Méthodes publiques

Méthode Description
Activate ( ISystemContext context ) : void

Activates the dialog.

SetResponse ( ISystemContext context, int response ) : void

Sets the response to the dialog.

Méthodes protégées

Méthode Description
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.

Method Details

Activate() public méthode

Activates the dialog.
public Activate ( ISystemContext context ) : void
context ISystemContext The system context.
Résultat void

OnAfterCreate() protected méthode

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

OnRespondCalled() protected méthode

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.
Résultat ServiceResult

SetResponse() public méthode

Sets the response to the dialog.
public SetResponse ( ISystemContext context, int response ) : void
context ISystemContext The system context.
response int The selected response.
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

Property Details

OnRespond public_oe property

Raised when a dialog receives a Response.
Return code can be used to cancel the operation.
public DialogResponseEventHandler OnRespond
Résultat DialogResponseEventHandler