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; }
public AirConditionersController(IAirConditionerService gatewayService, IMapper mapper) { _airConditionerService = gatewayService; _mapper = mapper; }
public AirConditionerController(IAirConditionerService airConditionerService) { _airConditionerService = airConditionerService; }