private void ModuleTech_Disconnect() { if (moduleTech_isConnect) { modulerReader.Disconnect(); moduleTech_isConnect = false; modulerReader = null; } //moduleTech_threadRead = false; //if (moduleTech_thread != null) //{ // moduleTech_thread.Abort(); // //moduleTech_threadReader.Join(); // moduleTech_thread = null; //} }