예제 #1
0
        //获取当前通信信道,1-100共100个信道
        //! Get current radio channel of data glove used

        /*!
         * \param type Data glove hand type.
         * \return current radio channel of data glove used.
         */
        public int GetReceiveRadioChannel(HANDTYPE type)
        {
            switch (type)
            {
            case HANDTYPE.RIGHT_HAND:
            {
                return(RH.GetReceiveRadioChannel());
            }

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

            default:
                return(0);
            }
        }