public GasBayController(FacilityContext context, DeviceOperationsFactory operationsFactory, ILogger <IMonitorBoxController> logger, IHubContext <GasBayHub, IMonitorBoxHub> boxHub) { this._context = context; this._logger = logger; this._boxHub = boxHub; this._operationsFactory = operationsFactory; }
public TankScaleController(FacilityContext context, DeviceOperationsFactory operationsFactory, ILogger <ITankScaleController> logger, IHubContext <TankScaleHub, ITankScaleHub> ammoniaHub) { this._context = context; this._logger = logger; this._tankScaleHub = ammoniaHub; this._operationsFactory = operationsFactory; }
public GeneratorController(FacilityContext context, DeviceOperationsFactory operationsFactory, ILogger <IGeneratorController> logger, IHubContext <GeneratorHub, IGeneratorHub> generatorHub) { this._context = context; this._logger = logger; this._generatorHub = generatorHub; this._operationsFactory = operationsFactory; this._generatorOperations = new ConcurrentDictionary <IGeneratorOperations, H2GenReading>(); }