public void Close() { StopRead(); _main = null; SerialPort = null; }
/// <summary> /// Constructor /// </summary> protected SerialPortMng() { // Singleton _main = this; PortReaderThread = null; Status = PortMngStatus.Stop; }