/// <summary> /// Initializes a new instance of the <see cref="LightsManager"/> class. /// </summary> /// <param name="lightsDeviceController">The lights device controller.</param> /// <param name="usbProtocolType">Type of the usb protocol.</param> public LightsManager(ILightsDeviceController lightsDeviceController, UsbProtocolType usbProtocolType) : this(lightsDeviceController, Config.GetLightsManagerPort(), Config.GetNotificationManagerHost(), Config.GetNotificationManagerPort(), Config.GetRegistrationRetryPeriod(), usbProtocolType) { }
/// <summary> /// Initializes a new instance of the <see cref="LightsManager"/> class. /// </summary> /// <param name="lightsDeviceController">The lights device controller.</param> /// <param name="lightsManagerPort">The lights manager port.</param> /// <param name="notificationManagerHost">The notification manager host.</param> /// <param name="notificationManagerPort">The notification manager port.</param> /// <param name="registrationRetryPeriod">The registration retry period.</param> /// <param name="usbProtocolType">Type of the USB protocol to use.</param> public LightsManager(ILightsDeviceController lightsDeviceController, int lightsManagerPort, string notificationManagerHost, int notificationManagerPort, int registrationRetryPeriod, UsbProtocolType usbProtocolType) : base(lightsManagerPort) { this.notificationManagerHost = notificationManagerHost; this.notificationManagerPort = notificationManagerPort; this.registrationRetryPeriod = registrationRetryPeriod; this.lightsDeviceController = lightsDeviceController; this.usbProtocolType = usbProtocolType; }