using ZB.MOM.WW.OtOpcUa.Core.Abstractions;
namespace ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Runtime;
///
/// Test seam for the gateway-side Acknowledge call. Production wraps the
/// MxGatewayClient.AcknowledgeAlarmAsync RPC; tests substitute a fake
/// so can be exercised without a
/// running gateway.
///
internal interface IGalaxyAlarmAcknowledger
{
///
/// Forward a single alarm acknowledgement to the gateway. The gateway
/// translates this to an MxAccess Acknowledge call against the worker's
/// session and returns the native MxStatus on the reply.
///
///
/// Fully-qualified alarm reference (e.g. "Tank01.Level.HiHi").
///
/// Operator-supplied comment forwarded to MxAccess.
///
/// Operator principal performing the acknowledgement. Resolved from the
/// OPC UA session by the server-side ACL layer before reaching the driver.
///
/// Cancels the gateway RPC.
Task AcknowledgeAsync(
string alarmFullReference,
string comment,
string operatorUser,
CancellationToken cancellationToken);
}