/// <summary> /// Constructor command for LED Color arrays. /// </summary> /// <param name="cmd">HID Command</param> /// <param name="_ledMode">LED mode</param> /// <param name="lstColors">The Color List in Brush</param> /// <param name="offSet">Array offset</param> public HPLouieHeadSetCmd(HeadSetCmds cmd, HeadSetLEDModes _ledMode, List <Brush> lstColors, ushort offSet = 0) { headSetCmd = cmd; ledMode = _ledMode; displayColors = lstColors; aryOffset = offSet; }
/// <summary> /// Constructor command for LED Configure. /// </summary> /// <param name="cmd">HID Command</param> /// <param name="_ledMode">LED mode</param> /// <param name="arySize">array Size</param> /// <param name="interVal">Interval</param> public HPLouieHeadSetCmd(HeadSetCmds cmd, HeadSetLEDModes _ledMode, ushort arySize = 1, ushort interVal = 0) { headSetCmd = cmd; ledMode = _ledMode; colorArysz = arySize; colorInterval = interVal; }
/// <summary> /// Constructor for base command /// </summary> /// <param name="cmd">HID Command</param> public HPLouieHeadSetCmd(HeadSetCmds cmd) { headSetCmd = cmd; }
/// <summary> /// Constructor command for TEC Cooling Device. /// </summary> /// <param name="cmd">HID Command</param> /// <param name="_fanMode">Cooling Mode</param> public HPLouieHeadSetCmd(HeadSetCmds cmd, HeadSetFanModes _fanMode) { headSetCmd = cmd; fanMode = _fanMode; }
public BaseHeadSetCmd(HeadSetCmds cmd) { headSetCmd = (byte)cmd; }