public ConnectionFlowProcessor( BleDeviceManager deviceManager, IHesAppConnection hesConnection, IWorkstationUnlocker workstationUnlocker, IScreenActivator screenActivator, IClientUiManager ui, IHesAccessManager hesAccessManager, ISettingsManager <ServiceSettings> serviceSettingsManager, ConnectionFlowSubprocessorsStruct subprocs, ILog log) : base(nameof(ConnectionFlowProcessor), log) { _deviceManager = deviceManager; _workstationUnlocker = workstationUnlocker; _screenActivator = screenActivator; _ui = ui; _hesConnection = hesConnection; _hesAccessManager = hesAccessManager; _serviceSettingsManager = serviceSettingsManager; _subp = subprocs; _hesAccessManager.AccessRetractedEvent += HesAccessManager_AccessRetractedEvent; SessionSwitchMonitor.SessionSwitch += SessionSwitchMonitor_SessionSwitch; _serviceSettingsManager.SettingsChanged += ServiceSettingsManager_SettingsChanged; }
public ProximityConnectionProcessor( ConnectionFlowProcessor connectionFlowProcessor, IBleConnectionManager bleConnectionManager, ISettingsManager <ProximitySettings> proximitySettingsManager, ISettingsManager <WorkstationSettings> workstationSettingsManager, AdvertisementIgnoreList advIgnoreListMonitor, BleDeviceManager bleDeviceManager, IWorkstationUnlocker workstationUnlocker, IHesAccessManager hesAccessManager, ILog log) : base(nameof(ProximityConnectionProcessor), log) { _connectionFlowProcessor = connectionFlowProcessor ?? throw new ArgumentNullException(nameof(connectionFlowProcessor)); _bleConnectionManager = bleConnectionManager ?? throw new ArgumentNullException(nameof(bleConnectionManager)); _proximitySettingsManager = proximitySettingsManager ?? throw new ArgumentNullException(nameof(proximitySettingsManager)); _workstationSettingsManager = workstationSettingsManager ?? throw new ArgumentNullException(nameof(workstationSettingsManager)); _advIgnoreListMonitor = advIgnoreListMonitor ?? throw new ArgumentNullException(nameof(advIgnoreListMonitor)); _bleDeviceManager = bleDeviceManager ?? throw new ArgumentNullException(nameof(bleDeviceManager)); _workstationUnlocker = workstationUnlocker ?? throw new ArgumentNullException(nameof(workstationUnlocker)); _hesAccessManager = hesAccessManager ?? throw new ArgumentNullException(nameof(hesAccessManager)); }
public StatusManager(HesAppConnection hesConnection, HesAppConnection tbHesConnection, RfidServiceConnection rfidService, IBleConnectionManager connectionManager, IClientUiManager clientUiManager, ISettingsManager <RfidSettings> rfidSettingsManager, IWorkstationUnlocker workstationUnlocker, ILog log) : base(nameof(StatusManager), log) { _hesConnection = hesConnection; _tbHesConnection = tbHesConnection; _rfidService = rfidService; _connectionManager = connectionManager; _uiClientManager = clientUiManager; _rfidSettingsManager = rfidSettingsManager; _workstationUnlocker = workstationUnlocker; _rfidService.RfidServiceStateChanged += RfidService_RfidServiceStateChanged; _rfidService.RfidReaderStateChanged += RfidService_RfidReaderStateChanged; _connectionManager.AdapterStateChanged += ConnectionManager_AdapterStateChanged; _rfidSettingsManager.SettingsChanged += RfidSettingsManager_SettingsChanged; if (_hesConnection != null) { _hesConnection.HubConnectionStateChanged += HesConnection_HubConnectionStateChanged; } if (_tbHesConnection != null) { _tbHesConnection.HubConnectionStateChanged += TryAndBuyHesConnection_HubConnectionStateChanged; } if (_workstationUnlocker != null) { _workstationUnlocker.Connected += WorkstationUnlocker_Connected; } }
public ConnectionFlowProcessorFactory( BleDeviceManager deviceManager, BondManager bondManager, IHesAppConnection hesConnection, IWorkstationUnlocker workstationUnlocker, IScreenActivator screenActivator, IClientUiManager ui, IHesAccessManager hesAccessManager, ISettingsManager <ServiceSettings> serviceSettingsManager, ILocalDeviceInfoCache localDeviceInfoCache, ILog log) { _deviceManager = deviceManager; _bondManager = bondManager; _hesConnection = hesConnection; _workstationUnlocker = workstationUnlocker; _screenActivator = screenActivator; _ui = ui; _hesAccessManager = hesAccessManager; _serviceSettingsManager = serviceSettingsManager; _localDeviceInfoCache = localDeviceInfoCache; _log = log; }
public WaitWorkstationUnlockerConnectProc(IWorkstationUnlocker unlocker) { _unlocker = unlocker; }
public UnlockProcessor(IClientUiManager ui, IWorkstationUnlocker workstationUnlocker, ILog log) : base(nameof(UnlockProcessor), log) { _ui = ui; _workstationUnlocker = workstationUnlocker; }