using ZB.MOM.WW.OtOpcUa.Core.Abstractions;

namespace ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Runtime;

/// <summary>
///     Driver-internal subscription identity. The numeric id is allocated monotonically per
///     driver; the diagnostic string carries the same id prefixed for log cross-referencing.
/// </summary>
internal sealed record GalaxySubscriptionHandle(long SubscriptionId) : ISubscriptionHandle
{
    /// <inheritdoc />
    public string DiagnosticId => $"galaxy-sub-{SubscriptionId}";
}
