Updated
This commit is contained in:
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;
|
||||
}
|
||||
Reference in new issue
Block a user