Ejemplo n.º 1
0
        //获取信号强度,值越大代表信号越强
        //! Get radio strength of data glove

        /*!
         * \param type Data glove hand type.
         * \return radio strength of data glove. Higher value of score means better radio strength.
         */
        public int GetReceiveRadioStrength(HANDTYPE type)
        {
            switch (type)
            {
            case HANDTYPE.RIGHT_HAND:
            {
                return(RH.GetReceiveRadioStrength());
            }

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

            default:
                return(0);
            }
        }