using System;
namespace ZB.MOM.WW.MxGateway.Worker.MxAccess;
///
/// Acknowledges an alarm by writing its MXAccess ack item (AckMsg)
/// after authenticating as the operator. Must be called on the worker STA.
///
public interface IAlarmAckWriter : IDisposable
{
/// Authenticates and writes to .
/// The ack item, e.g. Obj.Alarm.AckMsg.
/// The acknowledgement comment.
/// The operator to authenticate as.
/// The outcome.
AlarmAckResult Acknowledge(string itemAddress, string comment, AlarmAckOperator ackOperator);
}