namespace ZB.MOM.WW.OtOpcUa.Commons.Messages.Admin; /// /// AdminUI → AdminOperationsActor request: probe one driver type's connection using /// the supplied JSON config. Routed through IAdminOperationsClient; reply is /// . /// /// Must match an installed IDriverProbe.DriverType. /// Driver config as JSON (same shape as DriverInstance.DriverConfig). /// Per-probe timeout; server clamps to [1, 60]. /// Round-trip correlation token. public sealed record TestDriverConnect( string DriverType, string ConfigJson, int TimeoutSeconds, Guid CorrelationId); /// Reply for . /// True iff the probe succeeded. /// Failure reason; null on success. /// Round-trip latency in milliseconds; null on failure or timeout. /// Echoes the request's correlation token. public sealed record TestDriverConnectResult( bool Ok, string? Message, double? LatencyMs, Guid CorrelationId);