diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Clusters/Drivers/DriverEditRouter.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Clusters/Drivers/DriverEditRouter.razor index 79dc81fa..1d8e4915 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Clusters/Drivers/DriverEditRouter.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Clusters/Drivers/DriverEditRouter.razor @@ -41,9 +41,15 @@ else private static readonly IReadOnlyDictionary _componentMap = new Dictionary(StringComparer.OrdinalIgnoreCase) { - // Populated by Phase 4 — until then, all driver types fall back to DriverEdit. - // Keys must match DriverInstance.DriverType strings: - // ModbusTcp, AbCip, AbLegacy, S7, TwinCat, Focas, OpcUaClient, Galaxy, Historian.Wonderware + ["ModbusTcp"] = typeof(ModbusDriverPage), + ["AbCip"] = typeof(AbCipDriverPage), + ["AbLegacy"] = typeof(AbLegacyDriverPage), + ["S7"] = typeof(S7DriverPage), + ["TwinCat"] = typeof(TwinCATDriverPage), + ["Focas"] = typeof(FocasDriverPage), + ["OpcUaClient"] = typeof(OpcUaClientDriverPage), + ["Galaxy"] = typeof(GalaxyDriverPage), + ["Historian.Wonderware"] = typeof(HistorianWonderwareDriverPage), }; protected override async Task OnInitializedAsync()