コード例 #1
0
 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;
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 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>();
 }