4cfa369354
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
32 lines
1.8 KiB
C#
32 lines
1.8 KiB
C#
using ZB.MOM.WW.OtOpcUa.Configuration.Enums;
|
|
|
|
namespace ZB.MOM.WW.OtOpcUa.AdminUI.Uns;
|
|
|
|
/// <summary>A virtual-tag row for the equipment page's Virtual Tags tab table.</summary>
|
|
public sealed record EquipmentVirtualTagRow(string VirtualTagId, string Name, string DataType, string ScriptId, bool Enabled);
|
|
|
|
/// <summary>
|
|
/// A UNS tag-reference row for the equipment page's Tags tab table (v3 reference-only equipment). Each
|
|
/// row projects a <see cref="Configuration.Entities.UnsTagReference"/> together with the backing raw
|
|
/// tag's inherited (read-only) datatype/access and computed RawPath. The effective name is the
|
|
/// <c>DisplayNameOverride</c> when set, else the backing raw tag's <c>Name</c>. <c>RowVersion</c> is the
|
|
/// reference row's concurrency token, echoed on the override-set / remove mutations.
|
|
/// </summary>
|
|
/// <param name="UnsTagReferenceId">The reference's stable logical id (the mutation key).</param>
|
|
/// <param name="EffectiveName">Override else the raw tag's Name — the UNS leaf name.</param>
|
|
/// <param name="RawPath">The backing raw tag's computed RawPath (folder/driver/device/group/tag).</param>
|
|
/// <param name="DataType">Inherited OPC UA built-in type name from the raw tag (read-only).</param>
|
|
/// <param name="AccessLevel">Inherited access level from the raw tag (read-only).</param>
|
|
/// <param name="DisplayNameOverride">The optional display-name override; <c>null</c> = use the raw name.</param>
|
|
/// <param name="SortOrder">Sibling display ordering within the equipment's Tags list.</param>
|
|
/// <param name="RowVersion">The reference row's optimistic-concurrency token.</param>
|
|
public sealed record EquipmentReferenceRow(
|
|
string UnsTagReferenceId,
|
|
string EffectiveName,
|
|
string RawPath,
|
|
string DataType,
|
|
TagAccessLevel AccessLevel,
|
|
string? DisplayNameOverride,
|
|
int SortOrder,
|
|
byte[] RowVersion);
|