//获取电量 //! Get current battery level in percentage of data glove /*! * \param type Data glove hand type. * \return current battery level in percentage of data glove. */ public float GetBatteryLevel(HANDTYPE type) { switch (type) { case HANDTYPE.RIGHT_HAND: { return(RH.GetReceiveBattery()); } case HANDTYPE.LEFT_HAND: { return(LH.GetReceiveBattery()); } default: return(0); } }