13 lines
396 B
C#
13 lines
396 B
C#
using Opc.Ua;
|
|
using Opc.Ua.Client;
|
|
|
|
namespace EonaCat.Connections.OpcUa.Infrastructure;
|
|
|
|
internal static class OpcUaRuntime
|
|
{
|
|
private static readonly ITelemetryContext TelemetryContext = DefaultTelemetry.Create(_ => { });
|
|
|
|
public static DefaultSessionFactory SessionFactory { get; } = new(TelemetryContext);
|
|
public static ITelemetryContext Telemetry => SessionFactory.Telemetry;
|
|
}
|