public JT809SubordinateLoginImplService( IOptions <JT809Configuration> jT809ConfigurationAccessor, JT809SubordinateClient subordinateLinkClient ) { this.subordinateLinkClient = subordinateLinkClient; configuration = jT809ConfigurationAccessor.Value; }
public JT809TcpServerHost( IServiceProvider provider, ILoggerFactory loggerFactory, IOptions <JT809Configuration> jT809ConfigurationAccessor) { serviceProvider = provider; configuration = jT809ConfigurationAccessor.Value; logger = loggerFactory.CreateLogger <JT809TcpServerHost>(); }
public JT809SubordinateLinkNotifyImplService( ILoggerFactory loggerFactory, IOptions <JT809Configuration> jT809ConfigurationAccessor, JT809SuperiorMainSessionManager jT809SuperiorMainSessionManager ) { this.logger = loggerFactory.CreateLogger <JT809SubordinateLinkNotifyImplService>(); configuration = jT809ConfigurationAccessor.Value; this.jT809SuperiorMainSessionManager = jT809SuperiorMainSessionManager; }
public JT809SubordinateLinkNotifyImplService( JT809HeaderOptions jT809HeaderOptions, ILoggerFactory loggerFactory, IJT809Config jT809Config, IOptions <JT809Configuration> jT809ConfigurationAccessor, JT809SuperiorMainSessionManager jT809SuperiorMainSessionManager ) { JT809Serializer = jT809Config.GetSerializer(); JT809HeaderOptions = jT809HeaderOptions; this.logger = loggerFactory.CreateLogger <JT809SubordinateLinkNotifyImplService>(); configuration = jT809ConfigurationAccessor.Value; this.jT809SuperiorMainSessionManager = jT809SuperiorMainSessionManager; }