namespace ZB.MOM.WW.OtOpcUa.Core.Abstractions; /// /// Optional plug-point a driver implements to provide a custom Admin UI editor for its /// DriverConfig JSON. Drivers that don't implement this fall back to the generic /// JSON editor with schema-driven validation against the registered JSON schema. /// /// /// Per docs/v2/plan.md decision #27 — driver-specific config editors are deferred /// to each driver's implementation phase; v2.0 ships with the generic JSON editor as the /// default. This interface is the future plug-point so phase-specific editors can land /// incrementally. /// /// The actual UI rendering happens in the Admin Blazor Server app (see /// docs/v2/admin-ui.md). This interface in Core.Abstractions is the /// contract between the driver and the Admin app — the Admin app discovers /// implementations and slots them into the Driver Detail screen. /// public interface IDriverConfigEditor { /// Driver type name this editor handles (e.g. "Galaxy", "ModbusTcp"). string DriverType { get; } /// /// Type of the Razor component (must derive from ComponentBase in the Admin app's /// `Components/Shared/` folder) that renders the editor. Returned as Type so the /// Core.Abstractions project doesn't need a Blazor reference. /// Type EditorComponentType { get; } }