Exemplo n.º 1
0
        public void Close()
        {
            StopRead();

            _main      = null;
            SerialPort = null;
        }
Exemplo n.º 2
0
        /// <summary>
        /// Constructor
        /// </summary>
        protected SerialPortMng()
        {
            // Singleton
            _main = this;

            PortReaderThread = null;
            Status           = PortMngStatus.Stop;
        }