using RGB.NET.Core;
namespace RGB.NET.Devices.Msi
{
///
///
/// Represents a generic information for a MSI-.
///
public class MsiRGBDeviceInfo : IRGBDeviceInfo
{
#region Properties & Fields
///
public RGBDeviceType DeviceType { get; }
///
/// Gets the internal type of the .
///
public string MsiDeviceType { get; }
///
public string DeviceName { get; }
///
public string Manufacturer { get; }
///
public string Model { get; }
///
public object? LayoutMetadata { get; set; }
#endregion
#region Constructors
///
/// Internal constructor of managed .
///
/// The type of the .
/// The internal type of the .
/// The manufacturer-name of the .
/// The model-name of the .
internal MsiRGBDeviceInfo(RGBDeviceType deviceType, string msiDeviceType, string manufacturer = "MSI", string model = "Generic Msi-Device")
{
this.DeviceType = deviceType;
this.MsiDeviceType = msiDeviceType;
this.Manufacturer = manufacturer;
this.Model = model;
DeviceName = DeviceHelper.CreateDeviceName(Manufacturer, Model);
}
#endregion
}
}