docs: fill missing XML docs and strip tracking IDs from src comments

Clears CommentChecker findings in src/ (3,280 -> 209, the remainder being false
positives like PLC-5/IEEE-754/M0.0) by adding missing summaries/params/returns,
normalising inheritdoc usage, and removing Gitea/review tracking IDs while keeping
the rationale they annotated. Comment-only: comment-stripped sources are identical
to the parent commit.
This commit is contained in:
Joseph Doherty
2026-10-15 06:14:58 -04:00
parent ebcbd81fca
commit 826312befe
430 changed files with 4434 additions and 3923 deletions
@@ -1,6 +1,6 @@
namespace ZB.MOM.WW.OtOpcUa.Driver.MTConnect;
/// <summary>The four MTConnect CONDITION levels the alarm path distinguishes (#626).</summary>
/// <summary>The four MTConnect CONDITION levels the alarm path distinguishes.</summary>
internal enum MTConnectConditionLevel
{
/// <summary><c>&lt;Normal/&gt;</c> — nothing is active.</summary>
@@ -17,7 +17,7 @@ internal enum MTConnectConditionLevel
}
/// <summary>
/// The derived state of ONE CONDITION DataItem as the alarm path sees it (#626): the most severe active
/// The derived state of ONE CONDITION DataItem as the alarm path sees it: the most severe active
/// condition when any is active, else Normal or Unavailable.
/// </summary>
/// <param name="Level">The derived level.</param>
@@ -61,7 +61,7 @@ internal sealed record MTConnectConditionState(
/// <summary>
/// Folds MTConnect CONDITION observations into per-DataItem alarm state with the protocol's own
/// multi-condition semantics (#626) — the alarm path's analogue of <see cref="MTConnectObservationIndex"/>.
/// multi-condition semantics — the alarm path's analogue of <see cref="MTConnectObservationIndex"/>.
/// </summary>
/// <remarks>
/// <para>
@@ -137,6 +137,7 @@ internal sealed class MTConnectConditionTracker
/// <summary>The derived state of one DataItem, or <c>null</c> when it has never been observed as a condition.</summary>
/// <param name="dataItemId">The DataItem id.</param>
/// <returns>The derived state, or null when the item was never observed.</returns>
public MTConnectConditionState? Get(string dataItemId)
{
lock (_lock)
@@ -176,6 +177,7 @@ internal sealed class MTConnectConditionTracker
/// <summary>Maps a parsed condition state word onto a level (unknown vendor words ⇒ Warning).</summary>
/// <param name="value">The observation's state word.</param>
/// <returns>The mapped condition level.</returns>
internal static MTConnectConditionLevel LevelOf(string? value) => value switch
{
UnavailableSentinel => MTConnectConditionLevel.Unavailable,