コード例 #1
0
 /**
  * <summary>
  *   Add a new transition to the blinking sequence, the move will
  *   be performed in the HSL space.
  * <para>
  * </para>
  * </summary>
  * <param name="HSLcolor">
  *   desired HSL color when the transition is completed
  * </param>
  * <param name="msDelay">
  *   duration of the color transition, in milliseconds.
  * </param>
  * <returns>
  *   <c>0</c> if the call succeeds.
  *   On failure, throws an exception or returns a negative error code.
  * </returns>
  */
 public virtual int addHslMoveToBlinkSeq(int HSLcolor, int msDelay)
 {
     if (_func == null)
     {
         throw new YoctoApiProxyException("No ColorLed connected");
     }
     return(_func.addHslMoveToBlinkSeq(HSLcolor, msDelay));
 }