public void disConnect() { if (mReaderType == READER_TYPE.READER_IMP) { mReaderIMP.Disconnect(); } if (mReaderType == READER_TYPE.READER_TM) { mReaderTM.Destroy(); } if (mReaderType == READER_TYPE.READER_DLX_PM) { mReaderDLXPM.DisconnectRadio(mComPort); } if (mReaderType == READER_TYPE.READER_XD_PM) { mReaderXDPM.CloseReader(); } }