Opc.Ua.AcknowledgeableConditionState.SetAcknowledgedState C# (CSharp) Method

SetAcknowledgedState() public method

Sets the acknowledged state of the condition.
public SetAcknowledgedState ( ISystemContext context, bool acknowledged ) : void
context ISystemContext The system context.
acknowledged bool if set to true the condition is acknowledged.
return void
        public virtual void SetAcknowledgedState(
            ISystemContext context,
            bool acknowledged)
        {
            if (acknowledged)
            {
                UpdateStateAfterAcknowledge(context);
            }
            else
            {
                UpdateStateAfterUnacknowledge(context);
            }
        }