refactor(adminui): delete alias-tag/relay-converter files (build red until spine stripped)
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
namespace ZB.MOM.WW.OtOpcUa.AdminUI.Uns;
|
||||
using ZB.MOM.WW.OtOpcUa.Configuration.Enums;
|
||||
|
||||
/// <summary>The editable state of a Galaxy alias tag, loaded for the alias edit modal.
|
||||
/// <paramref name="FullName"/> is parsed out of the tag's TagConfig {"FullName":…}.</summary>
|
||||
/// <param name="TagId">The tag's stable id (read-only on edit).</param>
|
||||
/// <param name="Name">The tag name.</param>
|
||||
/// <param name="DriverInstanceId">The bound Galaxy gateway driver id.</param>
|
||||
/// <param name="DataType">The OPC UA built-in type name.</param>
|
||||
/// <param name="AccessLevel">The tag-level access baseline.</param>
|
||||
/// <param name="FullName">The Galaxy object reference parsed from TagConfig; empty string when absent.</param>
|
||||
/// <param name="RowVersion">The optimistic-concurrency token last read.</param>
|
||||
public sealed record AliasTagEditDto(
|
||||
string TagId, string Name, string DriverInstanceId, string DataType,
|
||||
TagAccessLevel AccessLevel, string FullName, byte[] RowVersion);
|
||||
@@ -1,18 +0,0 @@
|
||||
namespace ZB.MOM.WW.OtOpcUa.AdminUI.Uns;
|
||||
|
||||
using ZB.MOM.WW.OtOpcUa.Configuration.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// Operator-editable fields for a Galaxy alias tag (an equipment Tag bound to the Galaxy gateway).
|
||||
/// <paramref name="FullName"/> is the picked Galaxy reference (tag_name.AttributeName); it is stored
|
||||
/// as the tag's TagConfig <c>{"FullName":…}</c>. AccessLevel defaults to ReadOnly at the call site.
|
||||
/// </summary>
|
||||
/// <param name="TagId">Stable unique tag id; only honoured on create.</param>
|
||||
/// <param name="Name">Tag display name; unique within the owning equipment.</param>
|
||||
/// <param name="DriverInstanceId">The bound Galaxy gateway driver instance.</param>
|
||||
/// <param name="DataType">OPC UA built-in type name (Boolean / Int32 / Float / etc.).</param>
|
||||
/// <param name="AccessLevel">Tag-level OPC UA access baseline (default ReadOnly).</param>
|
||||
/// <param name="FullName">The Galaxy reference (tag_name.AttributeName) this alias surfaces.</param>
|
||||
public sealed record AliasTagInput(
|
||||
string TagId, string Name, string DriverInstanceId, string DataType,
|
||||
TagAccessLevel AccessLevel, string FullName);
|
||||
@@ -1,23 +0,0 @@
|
||||
namespace ZB.MOM.WW.OtOpcUa.AdminUI.Uns;
|
||||
|
||||
/// <summary>One relay VirtualTag that will/would become an alias Tag.</summary>
|
||||
/// <param name="EquipmentId">The owning equipment whose relay virtual tag is converted.</param>
|
||||
/// <param name="VirtualTagName">The relay virtual tag's name (becomes the alias tag's name).</param>
|
||||
/// <param name="FullName">The resolved Galaxy reference the alias surfaces (any <c>{{equip}}</c> token expanded).</param>
|
||||
/// <param name="DataType">The OPC UA built-in type name carried over from the virtual tag.</param>
|
||||
public sealed record RelayConversionItem(string EquipmentId, string VirtualTagName, string FullName, string DataType);
|
||||
|
||||
/// <summary>One relay VirtualTag that cannot be converted, with the reason.</summary>
|
||||
/// <param name="EquipmentId">The owning equipment whose virtual tag was skipped.</param>
|
||||
/// <param name="VirtualTagName">The skipped virtual tag's name.</param>
|
||||
/// <param name="Reason">A human-readable explanation of why the virtual tag was not converted.</param>
|
||||
public sealed record RelayConversionSkip(string EquipmentId, string VirtualTagName, string Reason);
|
||||
|
||||
/// <summary>Outcome of a (dry-run or applied) conversion pass.</summary>
|
||||
/// <param name="Converted">The relay virtual tags that were (or, on dry-run, would be) converted to alias tags.</param>
|
||||
/// <param name="Skipped">The candidate virtual tags that could not be converted, each with a reason.</param>
|
||||
/// <param name="Applied"><c>true</c> when the pass mutated the config; <c>false</c> for a dry-run preview.</param>
|
||||
public sealed record RelayConversionResult(
|
||||
IReadOnlyList<RelayConversionItem> Converted,
|
||||
IReadOnlyList<RelayConversionSkip> Skipped,
|
||||
bool Applied);
|
||||
Reference in New Issue
Block a user