コード例 #1
0
 /**
  * <summary>
  *   Returns the number of milliseconds remaining before a pulse (delayedPulse() call)
  *   When there is no scheduled pulse, returns zero.
  * <para>
  * </para>
  * <para>
  * </para>
  * </summary>
  * <returns>
  *   an integer corresponding to the number of milliseconds remaining before a pulse (delayedPulse() call)
  *   When there is no scheduled pulse, returns zero
  * </returns>
  * <para>
  *   On failure, throws an exception or returns <c>YWatchdog.COUNTDOWN_INVALID</c>.
  * </para>
  */
 public long get_countdown()
 {
     if (_func == null)
     {
         throw new YoctoApiProxyException("No Watchdog connected");
     }
     return(_func.get_countdown());
 }