mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-12 17:48:31 +00:00
43 lines
1.0 KiB
C#
43 lines
1.0 KiB
C#
using RGB.NET.Core;
|
|
|
|
namespace RGB.NET.Devices.WS281X.Arduino;
|
|
|
|
// ReSharper disable once InconsistentNaming
|
|
/// <inheritdoc />
|
|
/// <summary>
|
|
/// Represents a generic information for a <see cref="T:RGB.NET.Devices.WS281X.Arduino.ArduinoWS2812USBDevice" />.
|
|
/// </summary>
|
|
public sealed class ArduinoWS2812USBDeviceInfo : IRGBDeviceInfo
|
|
{
|
|
#region Properties & Fields
|
|
|
|
/// <inheritdoc />
|
|
public string DeviceName { get; }
|
|
|
|
/// <inheritdoc />
|
|
public RGBDeviceType DeviceType => RGBDeviceType.LedStripe;
|
|
|
|
/// <inheritdoc />
|
|
public string Manufacturer => "Arduino";
|
|
|
|
/// <inheritdoc />
|
|
public string Model => "WS2812 USB";
|
|
|
|
/// <inheritdoc />
|
|
public object? LayoutMetadata { get; set; }
|
|
|
|
#endregion
|
|
|
|
#region Constructors
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ArduinoWS2812USBDeviceInfo"/> class.
|
|
/// </summary>
|
|
/// <param name="name">The name of this device.</param>
|
|
public ArduinoWS2812USBDeviceInfo(string name)
|
|
{
|
|
this.DeviceName = name;
|
|
}
|
|
|
|
#endregion
|
|
} |