Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MsiLedId"/> class.
 /// </summary>
 /// <param name="device">The <see cref="IRGBDevice"/> the <see cref="ILedId"/> belongs to.</param>
 /// <param name="ledId">The <see cref="MsiLedId"/> of the represented <see cref="Led"/>.</param>
 /// <param name="index">The index in the mapping array of the device.</param>
 public MsiLedId(IRGBDevice device, MsiLedIds ledId, int index)
 {
     this.Device = device;
     this.LedId  = ledId;
     this.Index  = index;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MsiLedId"/> class.
 /// </summary>
 /// <param name="device">The <see cref="IRGBDevice"/> the <see cref="ILedId"/> belongs to.</param>
 /// <param name="ledId">The <see cref="MsiLedId"/> of the represented <see cref="Led"/>.</param>
 public MsiLedId(IRGBDevice device, MsiLedIds ledId)
 {
     this.Device = device;
     this.LedId  = ledId;
 }