using System.Collections.Generic; using System.Linq; using RGB.NET.Core; using RGB.NET.Devices.SoIP.Generic; namespace RGB.NET.Devices.SoIP.Server { public class SoIPServerDeviceDefinition : ISoIPDeviceDefinition { #region Properties & Fields /// /// Gets or sets the port to device is listening to. /// public int Port { get; set; } /// /// Gets or sets the manufacturer of the device. /// public string Manufacturer { get; set; } = "Unknown"; /// /// Gets or sets the model name of the device. /// public string Model { get; set; } = "Generic SoIP-Device"; /// /// Gets the IDs of the leds represented by this device. /// public List Leds { get; } #endregion #region Constructors public SoIPServerDeviceDefinition(int port, params LedId[] ledIds) { this.Port = port; this.Leds = ledIds.ToList(); } #endregion } }