64e3fbe035
v2-ci / build (push) Failing after 1m43s
v2-ci / unit-tests (tests/Core/ZB.MOM.WW.OtOpcUa.Cluster.Tests) (push) Has been skipped
v2-ci / unit-tests (tests/Server/ZB.MOM.WW.OtOpcUa.ControlPlane.Tests) (push) Has been skipped
v2-ci / unit-tests (tests/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer.Tests) (push) Has been skipped
v2-ci / unit-tests (tests/Server/ZB.MOM.WW.OtOpcUa.Runtime.Tests) (push) Has been skipped
v2-ci / unit-tests (tests/Server/ZB.MOM.WW.OtOpcUa.Security.Tests) (push) Has been skipped
v2-ci / integration (tests/Server/ZB.MOM.WW.OtOpcUa.Host.IntegrationTests) (push) Has been skipped
v2-ci / integration (tests/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer.IntegrationTests) (push) Has been skipped
Adds <summary>, <param>, <typeparam>, and <inheritdoc/> tags to public members surfaced by commentchecker — resolves 5,847 of 5,869 issues (99.6%) across three /fixdocs passes.
24 lines
969 B
C#
24 lines
969 B
C#
using ZB.MOM.WW.OtOpcUa.Core.Abstractions;
|
|
|
|
namespace ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Runtime;
|
|
|
|
/// <summary>
|
|
/// Driver-side handle returned by <see cref="GalaxyDriver.SubscribeAlarmsAsync"/>.
|
|
/// The driver doesn't multiplex alarm transitions per handle — every active handle
|
|
/// observes the gateway's alarm-event stream — but the handle is needed for
|
|
/// symmetric Unsubscribe and for the server-side AlarmConditionService to
|
|
/// correlate transitions with the originating subscription.
|
|
/// </summary>
|
|
internal sealed class GalaxyAlarmSubscriptionHandle : IAlarmSubscriptionHandle
|
|
{
|
|
/// <summary>Initializes a new instance of the GalaxyAlarmSubscriptionHandle class.</summary>
|
|
/// <param name="diagnosticId">The diagnostic ID for the subscription.</param>
|
|
public GalaxyAlarmSubscriptionHandle(string diagnosticId)
|
|
{
|
|
DiagnosticId = diagnosticId;
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
public string DiagnosticId { get; }
|
|
}
|