示例#1
0
        //Deprecated Functions
        public static void SetTreadmillRunState(bool run) //FLAGGED FOR DEPRECATION, may just need to be deleted outright, your call
        {
            InfinadeckInitError e = InfinadeckInitError.InfinadeckInitError_None;

            if (!CheckConnection())
            {
                InitConnection(ref e);
            }
            InfinadeckInterOp.SetTreadmillRunState(run);
        }
示例#2
0
        /**
         * Requests a change in the treadmill's run state.
         */
        public static void RequestTreadmillRunState(bool run)
        {
            InfinadeckInitError e = InfinadeckInitError.InfinadeckInitError_None;

            if (!CheckConnection())
            {
                InitConnection(ref e);
            }
            InfinadeckInterOp.SetTreadmillRunState(run);
        }