mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2025-12-12 16:58:29 +00:00
43 lines
1.1 KiB
C#
43 lines
1.1 KiB
C#
// ReSharper disable MemberCanBePrivate.Global
|
|
// ReSharper disable AutoPropertyCanBeMadeGetOnly.Global
|
|
|
|
using CUE.NET.Devices.Generic.Enums;
|
|
|
|
namespace CUE.NET.Devices.Generic
|
|
{
|
|
/// <summary>
|
|
/// Represents a request to update a led.
|
|
/// </summary>
|
|
public class LedUpateRequest
|
|
{
|
|
#region Properties & Fields
|
|
|
|
/// <summary>
|
|
/// Gets the id of the led to update.
|
|
/// </summary>
|
|
public CorsairLedId LedId { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the requested color of the led.
|
|
/// </summary>
|
|
public CorsairColor Color { get; set; }
|
|
|
|
#endregion
|
|
|
|
#region Constructors
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="LedUpateRequest"/> class.
|
|
/// </summary>
|
|
/// <param name="ledId">The id of the led to update.</param>
|
|
/// <param name="color">The requested color of the led.</param>
|
|
public LedUpateRequest(CorsairLedId ledId, CorsairColor color)
|
|
{
|
|
this.LedId = ledId;
|
|
this.Color = color;
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|