Opc.Ua.AlarmConditionState.IsOneShotShelveExecutable C# (CSharp) Method

IsOneShotShelveExecutable() protected method

Checks whether the OneShotShelve method is executable.
protected IsOneShotShelveExecutable ( ISystemContext context, NodeState node, bool &value ) : ServiceResult
context ISystemContext
node NodeState
value bool
return ServiceResult
        protected ServiceResult IsOneShotShelveExecutable(
            ISystemContext context,
            NodeState node,
            ref bool value)
        {
            value = this.ShelvingState.IsCausePermitted(context, Methods.ShelvedStateMachineType_OneShotShelve, false);
            return ServiceResult.Good;
        }