From 4cbd03bd21eeb0e9e67b870afc11bfe627dbbe5a Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Mon, 10 Aug 2026 18:00:20 -0400 Subject: [PATCH] =?UTF-8?q?ui(equipment):=20adopt=20panel=20idiom=20on=20t?= =?UTF-8?q?ab=20bodies=20+=20bound=20RawPath=20column=20(=C2=A71d=20Task?= =?UTF-8?q?=203)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Components/Pages/Uns/EquipmentPage.razor | 56 ++++++++++++++----- 1 file changed, 43 insertions(+), 13 deletions(-) diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Uns/EquipmentPage.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Uns/EquipmentPage.razor index 75c8d610..5bb9f138 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Uns/EquipmentPage.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Uns/EquipmentPage.razor @@ -43,7 +43,9 @@ else -
Identity
+
+
Identity
+
@if (!IsNew) {
@@ -100,9 +102,12 @@ else
+ +
-
-
OPC 40010 identification (optional)
+
+
OPC 40010 identification (optional)
+
@@ -118,6 +123,8 @@ else
+
+
@if (!string.IsNullOrWhiteSpace(_error)) {
@_error
} @@ -134,6 +141,9 @@ else @* v3 Batch 3: equipment is reference-only — the Tags tab lists UnsTagReference rows pointing at raw tags. Datatype/access are inherited (read-only) from the backing raw tag; the display-name override is the only per-reference editable field. *@ +
+
Tag references
+
@@ -143,15 +153,16 @@ else } @if (_refs is null) { -

Loading…

+

Loading…

} else if (_refs.Count == 0) { -

No tag references yet.

+

No tag references yet.

} else { - +
+
@@ -163,7 +174,9 @@ else { - + @* Bound so a long RawPath cannot squeeze the editable override input and the + row's action buttons off the panel; the full value stays on the tooltip. *@ +
Effective nameRaw pathData typeAccess
@r.EffectiveName@r.RawPath@DisplayText.Abbreviate(r.RawPath, 48) @r.DataType @r.AccessLevel @@ -180,13 +193,19 @@ else }
+
} + +
} else if (_activeTab == "vtags") { +
+
Virtual tags
+
@@ -196,15 +215,16 @@ else } @if (_vtags is null) { -

Loading…

+

Loading…

} else if (_vtags.Count == 0) { -

No virtual tags yet.

+

No virtual tags yet.

} else { - +
+
@@ -226,7 +246,10 @@ else }
NameData typeScriptEnabledActions
+
} + +
+
Scripted alarms
+
@@ -243,15 +269,16 @@ else } @if (_alarms is null) { -

Loading…

+

Loading…

} else if (_alarms.Count == 0) { -

No alarms yet.

+

No alarms yet.

} else { - +
+
@@ -274,7 +301,10 @@ else }
NameTypeSeverityPredicateEnabledActions
+
} + +