Ejemplo n.º 1
0
        public LoggingService(ILogger logger)
        {
            this.logger = logger;
            var mc = new ModuleController(logger);

            mod       = mc.GetCurrentModule();
            canceller = new CancellationTokenSource();
        }
Ejemplo n.º 2
0
 public LanCommunicationService(ILogger logger)
 {
     this.logger = logger;
     mc          = new ModuleController(logger);
     mod         = mc.GetCurrentModule();
     canceller   = new CancellationTokenSource();
     networker   = new MasterNetworker(mod?.Module?.Name, logger);
     lc          = new LedController(logger);
 }