C# 클래스 Opc.Ua.DialogConditionState

파일 보기 프로젝트 열기: OPCFoundation/UA-.NETStandardLibrary 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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