示例#1
0
 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>();
 }
示例#3
0
 public JT809InferiorService(
     ILoggerFactory loggerFactory,
     JT809MainClient mainClient,
     IJT809Config config)
 {
     this.mainClient = mainClient;
     logger          = loggerFactory.CreateLogger <JT809InferiorService>();
     header          = new JT809Header
     {
         MsgGNSSCENTERID = config.HeaderOptions.MsgGNSSCENTERID
     };
 }