public FireAlarmController(IHttpClientFactory clientFactory, IAlarmControl fireAlarmControl, IAuthenticateControl authControl, IConfiguration configuration)
 {
     _clientFactory = clientFactory;
     _alarmControl  = fireAlarmControl;
     _authControl   = authControl;
     Configuration  = configuration;
 }
Exemplo n.º 2
0
 public AlarmAction(Settings settings, IAlarmControl alarmCtl)
 {
     this.settings = settings;
     AlarmCtl      = alarmCtl;
     Start();
     Trace.WriteLine("alarmAction create");
 }
 public AskCloud(IHttpClientFactory clientFactory, ILogger <AskCloud> logger, IConfiguration configuration, IAlarmControl alarmControl)
 {
     _clientFactory = clientFactory;
     _logger        = logger;
     _configuration = configuration;
     _alarmControl  = alarmControl;
 }