refactor(adminui): delete the dead LoadTagsForEquipmentAsync surface (R04 S4)

v3 retired the equipment-Tag binding; IUnsTreeService.LoadTagsForEquipmentAsync
always returned empty, had no production caller, and EquipmentTagRow plus the
always-zero tagCounts / EquipmentRow.TagCount plumbing existed only to feed it.
All removed; the equipment badge count (virtual tags) is unchanged.

Refs #745
Claude-Session: https://claude.ai/code/session_01Ub9hGmYLQvn9XETzw7CMsT
This commit is contained in:
Joseph Doherty
2026-10-22 17:54:53 -04:00
parent a4cdedc31c
commit 4cfa369354
7 changed files with 12 additions and 64 deletions
@@ -75,13 +75,13 @@ public readonly record struct AreaRow(string UnsAreaId, string ClusterId, string
/// <summary>Flat structural row describing a UNS line and its owning area.</summary>
public readonly record struct LineRow(string UnsLineId, string UnsAreaId, string Name);
/// <summary>Flat structural row describing an equipment node, its owning line and its tag/virtual-tag counts.</summary>
/// <summary>Flat structural row describing an equipment node, its owning line and its virtual-tag count.
/// (The driver-tag count was retired with the v3 equipment↔Tag binding; it was always zero.)</summary>
public readonly record struct EquipmentRow(
string EquipmentId,
string UnsLineId,
string MachineCode,
string Name,
int TagCount,
int VirtualTagCount);
/// <summary>
@@ -237,7 +237,7 @@ public static class UnsTreeAssembly
private static UnsNode BuildEquipment(EquipmentRow equipment, string clusterId)
{
var childCount = equipment.TagCount + equipment.VirtualTagCount;
var childCount = equipment.VirtualTagCount;
return new UnsNode
{
Kind = UnsNodeKind.Equipment,