using System; using RGB.NET.Core; using RGB.NET.Devices.CoolerMaster.Helper; namespace RGB.NET.Devices.CoolerMaster { /// /// /// Represents a generic information for a Corsair-. /// public class CoolerMasterRGBDeviceInfo : IRGBDeviceInfo { #region Properties & Fields /// public RGBDeviceType DeviceType { get; } /// public string DeviceName { get; } /// public string Manufacturer => "Cooler Master"; /// public string Model { get; } /// public Uri Image { get; set; } /// public RGBDeviceLighting Lighting => RGBDeviceLighting.Key; /// public bool SupportsSyncBack => false; /// /// Gets the of the . /// public CoolerMasterDevicesIndexes DeviceIndex { get; } #endregion #region Constructors /// /// Internal constructor of managed . /// /// The type of the . /// The of the . internal CoolerMasterRGBDeviceInfo(RGBDeviceType deviceType, CoolerMasterDevicesIndexes deviceIndex) { this.DeviceType = deviceType; this.DeviceIndex = deviceIndex; Model = deviceIndex.GetDescription(); DeviceName = $"{Manufacturer} {Model}"; } #endregion } }