Exemplo n.º 1
0
 public AirConditionerWebSocketHub(IHubContext <AirConditionerHub> conditionerHubContext, ILogger <AirConditionerWebSocketHub> logger, IHubContext <SmartLampHub> lampHubContext, ISmartLampService smartLampService, IAirConditionerService airConditionerService)
 {
     _airConditionerHub     = conditionerHubContext;
     _airConditionerService = airConditionerService;
     _manager = new WebSocketMessageManager(lampHubContext, conditionerHubContext);
     _logger  = logger;
 }
 public DevicesController(ISmartLampService smartLampService, IMapper mapper, IMotionSensorService motionSensorService, IAirConditionerService airConditionerService)
 {
     _smartLampService      = smartLampService;
     _mapper                = mapper;
     _airConditionerService = airConditionerService;
     _motionSensorService   = motionSensorService;
 }
Exemplo n.º 3
0
 public AirConditionersController(IAirConditionerService gatewayService, IMapper mapper)
 {
     _airConditionerService = gatewayService;
     _mapper = mapper;
 }
Exemplo n.º 4
0
 public AirConditionerController(IAirConditionerService airConditionerService)
 {
     _airConditionerService = airConditionerService;
 }