Exemplo n.º 1
0
 /**
  * <summary>
  *   Changes the name of the sequence to play when the displayed is powered on.
  * <para>
  *   Remember to call the <c>saveToFlash()</c> method of the module if the
  *   modification must be kept.
  * </para>
  * <para>
  * </para>
  * </summary>
  * <param name="newval">
  *   a string corresponding to the name of the sequence to play when the displayed is powered on
  * </param>
  * <para>
  * </para>
  * <returns>
  *   <c>0</c> if the call succeeds.
  * </returns>
  * <para>
  *   On failure, throws an exception or returns a negative error code.
  * </para>
  */
 public int set_startupSeq(string newval)
 {
     if (_func == null)
     {
         throw new YoctoApiProxyException("No Display connected");
     }
     if (newval == _StartupSeq_INVALID)
     {
         return(YAPI.SUCCESS);
     }
     return(_func.set_startupSeq(newval));
 }