using RGB.NET.Core;
namespace RGB.NET.Devices.Novation
{
///
///
/// Represents a generic information for a Corsair-.
///
public class NovationRGBDeviceInfo : IRGBDeviceInfo
{
#region Properties & Fields
///
public RGBDeviceType DeviceType { get; }
///
public string DeviceName { get; }
///
public string Manufacturer => "Novation";
///
public string Model { get; }
///
public object? LayoutMetadata { get; set; }
///
/// Gets the of the .
///
public NovationColorCapabilities ColorCapabilities { get; }
///
/// Gets the (midi)-id of the ..
///
public int DeviceId { get; }
#endregion
#region Constructors
///
/// Internal constructor of managed .
///
/// The type of the .
/// The represented device model.
/// The (midi)-id of the .
/// The of the .
internal NovationRGBDeviceInfo(RGBDeviceType deviceType, string model, int deviceId, NovationColorCapabilities colorCapabilities)
{
this.DeviceType = deviceType;
this.Model = model;
this.DeviceId = deviceId;
this.ColorCapabilities = colorCapabilities;
DeviceName = DeviceHelper.CreateDeviceName(Manufacturer, Model);
}
#endregion
}
}