fix(opcuaclient): register the OpcUaClient driver factory (was always stubbed)

This commit is contained in:
Joseph Doherty
2026-06-13 08:20:02 -04:00
parent bc9cd464b5
commit 9357c001b7
5 changed files with 98 additions and 0 deletions
@@ -17,10 +17,14 @@ namespace ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient;
/// </summary>
public sealed class OpcUaClientDriverProbe : IDriverProbe
{
// Kept identical to OpcUaClientDriverFactoryExtensions.JsonOptions so the probe and the
// factory parse a given DriverConfig the same way. The JsonStringEnumConverter lets
// enum-valued knobs be authored as their string names.
private static readonly JsonSerializerOptions _opts = new()
{
PropertyNameCaseInsensitive = true,
UnmappedMemberHandling = JsonUnmappedMemberHandling.Skip,
Converters = { new JsonStringEnumConverter() },
};
/// <inheritdoc />