C# 클래스 Opc.Ua.AlarmConditionState

파일 보기 프로젝트 열기: OPCFoundation/Misc-Tools 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
OnShelve AlarmConditionShelveEventHandler
OnTimedUnshelve AlarmConditionTimedUnshelveEventHandler

공개 메소드들

메소드 설명
SetActiveEffectiveSubState ( ISystemContext context, Opc.Ua.LocalizedText displayName, System.DateTime transitionTime ) : void

Called when one or more sub-states change state.

SetActiveState ( ISystemContext context, bool active ) : void

Sets the active state of the condition.

SetShelvingState ( ISystemContext context, bool shelved, bool oneShot, double shelvingTime ) : void

Sets the shelving state of the condition.

SetSuppressedState ( ISystemContext context, bool suppressed ) : void

Sets the suppressed state of the condition.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

IsOneShotShelveExecutable ( ISystemContext context, NodeState node, bool &value ) : ServiceResult

Checks whether the OneShotShelve method is executable.

IsTimedShelveExecutable ( ISystemContext context, NodeState node, bool &value ) : ServiceResult

Checks whether the TimedShelve method is executable.

IsUnshelveExecutable ( ISystemContext context, NodeState node, bool &value ) : ServiceResult

Checks whether the Unshelve method is executable.

OnAfterCreate ( ISystemContext context, NodeState node ) : void

Called after a node is created.

OnOneShotShelve ( ISystemContext context, MethodState method, IList inputArguments, IList outputArguments ) : ServiceResult

Handles the OneShotShelve method.

OnReadUnshelveTime ( ISystemContext context, NodeState node, object &value ) : ServiceResult

Checks whether the OneShotShelve method is executable.

OnTimedShelve ( ISystemContext context, MethodState method, Opc.Ua.NodeId objectId, double shelvingTime ) : ServiceResult

Handles the TimedShelve method.

OnUnshelve ( ISystemContext context, MethodState method, IList inputArguments, IList outputArguments ) : ServiceResult

Handles the Unshelve method.

UpdateEffectiveState ( ISystemContext context ) : void

Updates the effective state for the condition.

비공개 메소드들

메소드 설명
OnTimerExpired ( object state ) : void

Called when timed shelve period expires.

메소드 상세

Dispose() 보호된 메소드

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

IsOneShotShelveExecutable() 보호된 메소드

Checks whether the OneShotShelve method is executable.
protected IsOneShotShelveExecutable ( ISystemContext context, NodeState node, bool &value ) : ServiceResult
context ISystemContext
node NodeState
value bool
리턴 ServiceResult

IsTimedShelveExecutable() 보호된 메소드

Checks whether the TimedShelve method is executable.
protected IsTimedShelveExecutable ( ISystemContext context, NodeState node, bool &value ) : ServiceResult
context ISystemContext
node NodeState
value bool
리턴 ServiceResult

IsUnshelveExecutable() 보호된 메소드

Checks whether the Unshelve method is executable.
protected IsUnshelveExecutable ( ISystemContext context, NodeState node, bool &value ) : ServiceResult
context ISystemContext
node NodeState
value bool
리턴 ServiceResult

OnAfterCreate() 보호된 메소드

Called after a node is created.
protected OnAfterCreate ( ISystemContext context, NodeState node ) : void
context ISystemContext
node NodeState
리턴 void

OnOneShotShelve() 보호된 메소드

Handles the OneShotShelve method.
protected OnOneShotShelve ( ISystemContext context, MethodState method, IList inputArguments, IList outputArguments ) : ServiceResult
context ISystemContext
method MethodState
inputArguments IList
outputArguments IList
리턴 ServiceResult

OnReadUnshelveTime() 보호된 메소드

Checks whether the OneShotShelve method is executable.
protected OnReadUnshelveTime ( ISystemContext context, NodeState node, object &value ) : ServiceResult
context ISystemContext
node NodeState
value object
리턴 ServiceResult

OnTimedShelve() 보호된 메소드

Handles the TimedShelve method.
protected OnTimedShelve ( ISystemContext context, MethodState method, Opc.Ua.NodeId objectId, double shelvingTime ) : ServiceResult
context ISystemContext
method MethodState
objectId Opc.Ua.NodeId
shelvingTime double
리턴 ServiceResult

OnUnshelve() 보호된 메소드

Handles the Unshelve method.
protected OnUnshelve ( ISystemContext context, MethodState method, IList inputArguments, IList outputArguments ) : ServiceResult
context ISystemContext
method MethodState
inputArguments IList
outputArguments IList
리턴 ServiceResult

SetActiveEffectiveSubState() 공개 메소드

Called when one or more sub-states change state.
public SetActiveEffectiveSubState ( ISystemContext context, Opc.Ua.LocalizedText displayName, System.DateTime transitionTime ) : void
context ISystemContext The context.
displayName Opc.Ua.LocalizedText The display name for the effective state.
transitionTime System.DateTime The transition time.
리턴 void

SetActiveState() 공개 메소드

Sets the active state of the condition.
public SetActiveState ( ISystemContext context, bool active ) : void
context ISystemContext The system context.
active bool if set to true the condition is active.
리턴 void

SetShelvingState() 공개 메소드

Sets the shelving state of the condition.
public SetShelvingState ( ISystemContext context, bool shelved, bool oneShot, double shelvingTime ) : void
context ISystemContext The shelving context.
shelved bool if set to true shelved.
oneShot bool if set to true for a one shot shelve..
shelvingTime double The duration of a timed shelve.
리턴 void

SetSuppressedState() 공개 메소드

Sets the suppressed state of the condition.
public SetSuppressedState ( ISystemContext context, bool suppressed ) : void
context ISystemContext The context.
suppressed bool if set to true the condition is suppressed.
리턴 void

UpdateEffectiveState() 보호된 메소드

Updates the effective state for the condition.
protected UpdateEffectiveState ( ISystemContext context ) : void
context ISystemContext The context.
리턴 void

프로퍼티 상세

OnShelve 공개적으로 프로퍼티

Raised when the alarm is shelved.
Return code can be used to cancel the operation.
public AlarmConditionShelveEventHandler OnShelve
리턴 AlarmConditionShelveEventHandler

OnTimedUnshelve 공개적으로 프로퍼티

Raised when the timed shelving period expires.
public AlarmConditionTimedUnshelveEventHandler OnTimedUnshelve
리턴 AlarmConditionTimedUnshelveEventHandler