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.
30 lines
1.1 KiB
C#
30 lines
1.1 KiB
C#
using System;
|
|
|
|
namespace ZB.MOM.WW.OtOpcUa.Driver.Historian.Wonderware.Backend
|
|
{
|
|
/// <summary>
|
|
/// Point-in-time state of a single historian cluster node. One entry per configured node
|
|
/// appears inside <see cref="HistorianHealthSnapshot"/>.
|
|
/// </summary>
|
|
public sealed class HistorianClusterNodeState
|
|
{
|
|
/// <summary>Gets or sets the node name.</summary>
|
|
public string Name { get; set; } = "";
|
|
|
|
/// <summary>Gets or sets a value indicating whether the node is healthy.</summary>
|
|
public bool IsHealthy { get; set; }
|
|
|
|
/// <summary>Gets or sets the time until the node exits cooldown mode.</summary>
|
|
public DateTime? CooldownUntil { get; set; }
|
|
|
|
/// <summary>Gets or sets the count of recent failures.</summary>
|
|
public int FailureCount { get; set; }
|
|
|
|
/// <summary>Gets or sets the last error message.</summary>
|
|
public string? LastError { get; set; }
|
|
|
|
/// <summary>Gets or sets the time of the last failure.</summary>
|
|
public DateTime? LastFailureTime { get; set; }
|
|
}
|
|
}
|