Exemple #1
0
        public MqttConnectionService(ILogger <MqttConnectionService> _logger, ISettingsService settings, IBridgeStateService stateService)
        {
            this._logger  = _logger;
            _settings     = settings;
            _stateService = stateService;

            _mqttFactory = new MqttFactory();
            BuildRegexes();
        }
 public AllowJoinTimerService(
     IBridgeStateService stateService,
     ISettingsService settingsService,
     IBridgeOperationService operationsService)
 {
     _stateService      = stateService;
     _settingsService   = settingsService;
     _operationsService = operationsService;
 }
 public HomeController(IBridgeStateService stateService, IBridgeOperationService operationService, ISettingsService settings)
 {
     _stateService     = stateService;
     _operationService = operationService;
     _settings         = settings;
 }
Exemple #4
0
 public BrigeOperationService(MqttConnectionService mqtt, IBridgeStateService stateService)
 {
     _mqtt         = mqtt;
     _stateService = stateService;
 }
 public HomeController(IBridgeStateService stateService, IBridgeOperationService operationService)
 {
     _stateService     = stateService;
     _operationService = operationService;
 }