using RGB.NET.Core;
namespace RGB.NET.Devices.Debug
{
///
///
/// Represents device information for a />.
///
public class DebugRGBDeviceInfo : IRGBDeviceInfo
{
#region Properties & Fields
///
public RGBDeviceType DeviceType { get; }
///
public string DeviceName { get; }
///
public string Manufacturer { get; }
///
public string Model { get; }
public object? LayoutMetadata { get; set; }
#endregion
#region Constructors
///
/// Internal constructor of .
///
/// The of the device.
/// The manufacturer of the device.
/// The model of the device.
internal DebugRGBDeviceInfo(RGBDeviceType deviceType, string manufacturer, string model, object? customData)
{
this.DeviceType = deviceType;
this.Manufacturer = manufacturer;
this.Model = model;
this.LayoutMetadata = customData;
DeviceName = $"{Manufacturer} {Model}";
}
#endregion
}
}