From 569edf29758299bc512ce13cb300a236456d2908 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Fri, 29 May 2026 08:03:59 -0400 Subject: [PATCH] feat(centralui): enable tag picker for MxGateway connections Generalize the browse-button gate from IsOpcUa to IsBrowsable (OPC UA or MxGateway, both implement IBrowsableDataConnection site-side). The generalized NodeBrowserDialog + BrowseNodeCommand path already routes by protocol; non- browsable protocols return NotBrowsable. Test Bindings stays OPC-UA-only (its read path is out of this slice's scope). --- .../Pages/Deployment/InstanceConfigure.razor | 24 ++++++++++++------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/src/ZB.MOM.WW.ScadaBridge.CentralUI/Components/Pages/Deployment/InstanceConfigure.razor b/src/ZB.MOM.WW.ScadaBridge.CentralUI/Components/Pages/Deployment/InstanceConfigure.razor index 997e0cc6..7ab70a3f 100644 --- a/src/ZB.MOM.WW.ScadaBridge.CentralUI/Components/Pages/Deployment/InstanceConfigure.razor +++ b/src/ZB.MOM.WW.ScadaBridge.CentralUI/Components/Pages/Deployment/InstanceConfigure.razor @@ -118,7 +118,7 @@ { var connId = GetBindingConnectionId(attr.Name); var canBrowse = connId > 0; - var isOpcUa = IsOpcUa(connId); + var isBrowsable = IsBrowsable(connId); @attr.Name @attr.DataSourceReference @@ -140,7 +140,7 @@ placeholder="@(attr.DataSourceReference ?? "(no default)")" /> - @if (isOpcUa) + @if (isBrowsable) {