Example #1
0
        public bool ListSpeed(double jump, double mark)
        {
            if (this.CtlGetStatus(RtcStatus.Aborted))
            {
                return(false);
            }
            double jump_bitperms = jump / (double)1.0e3 * this.kFactor;
            double mark_bitperms = mark / (double)1.0e3 * this.kFactor;

            if (!this.IsListReady(2))
            {
                return(false);
            }
            RTC5Wrap.n_set_jump_speed(this.Index + 1, jump_bitperms);
            RTC5Wrap.n_set_mark_speed(this.Index + 1, mark_bitperms);
            return(true);
        }