namespace ZB.MOM.WW.MxGateway.Server.Alarms;

/// <summary>
///     Well-known <c>reason</c> strings carried on the alarm feed's
///     <c>AlarmProviderStatus</c> message. Shared between the producer
///     (<see cref="GatewayAlarmMonitor" />) and consumers (e.g. the dashboard
///     provider badge) so the two cannot drift on a magic string.
/// </summary>
public static class AlarmProviderReasons
{
    /// <summary>
    ///     Reason set when the monitor starts in subtag mode because
    ///     <c>MxGateway:Alarms:Fallback:Mode</c> is <c>ForceSubtag</c> — a
    ///     deliberate configuration, not a runtime failover. Lets the dashboard
    ///     distinguish a forced subtag mode from an unexpected degraded failover.
    /// </summary>
    public const string ForcedSubtag = "Forced subtag mode (configuration)";
}
