Ejemplo n.º 1
0
        //获取实际帧率
        //! Get data rate received per second

        /*!
         * \param type Data glove hand type.
         * \return data rate received per second.
         */
        public int GetReceivedDataRate(HANDTYPE type)
        {
            switch (type)
            {
            case HANDTYPE.RIGHT_HAND:
            {
                return(RH.GetReceivedDataRate());
            }

            case HANDTYPE.LEFT_HAND:
            {
                return(LH.GetReceivedDataRate());
            }

            default:
                return(0);
            }
        }