This commit is contained in:
EonaCat authored and Jeroen Saey committed 2026-11-04 07:53:40 +01:00
1 parent 2c5b69bf2c
commit 22dee59f47
132 files changed
+19653 -7192

No files matched your search

@@ -0,0 +1,20 @@
using Opc.Ua;
namespace EonaCat.Connections.OpcUa.Configuration;
public sealed class OpcUaClientOptions
{
public required string EndpointUrl { get; init; }
public string ApplicationName { get; init; } = "EonaCat OPC UA Client";
public string ApplicationUri { get; init; } = $"urn:{Utils.GetHostName()}:EonaCat:OpcUa:Client";
public string SessionName { get; init; } = "EonaCat OPC UA Session";
public string? Username { get; init; }
public string? Password { get; init; }
public bool UseSecurity { get; init; } = true;
public bool AutoAcceptUntrustedCertificates { get; init; }
public bool CheckCertificateRevocation { get; init; } = true;
public bool AutoReconnect { get; init; } = true;
public int ReconnectPeriodMilliseconds { get; init; } = 5_000;
public int SessionTimeoutMilliseconds { get; init; } = 60_000;
public int OperationTimeoutMilliseconds { get; init; } = 15_000;
}