public JT809InferiorService( ILoggerFactory loggerFactory, JT809MainClient mainClient) { this.mainClient = mainClient; logger = loggerFactory.CreateLogger <JT809InferiorService>(); }
public JT809InferiorService( JT809HeaderOptions jT809HeaderOptions, ILoggerFactory loggerFactory, JT809MainClient mainClient) { JT809HeaderOptions = jT809HeaderOptions; this.mainClient = mainClient; logger = loggerFactory.CreateLogger <JT809InferiorService>(); }
public JT809InferiorService( ILoggerFactory loggerFactory, JT809MainClient mainClient, IJT809Config config) { this.mainClient = mainClient; logger = loggerFactory.CreateLogger <JT809InferiorService>(); header = new JT809Header { MsgGNSSCENTERID = config.HeaderOptions.MsgGNSSCENTERID }; }