public bool StartExchange(string strPort, int portSpeed, ICanIO device)
        {
            _fileName = strPort;
            var timeThread = new Thread(TimerEvent)
            {
                IsBackground = true
            };

            timeThread.Start();
            return(true);
        }
        public bool StartExchange(string strPort, int portSpeed, ICanIO device)
        {
            _portName  = strPort;
            _portSpeed = portSpeed;
            _device    = device;
            string ret = _device.OpenCAN(strPort, portSpeed);

            if (ret != "No_Err")
            {
                MessageBox.Show(ret);
                return(false);
            }
            Thread.Sleep(200);
            ReceiveThread              = new Thread(ReceiveThreadMethod);
            ReceiveThread.Priority     = ThreadPriority.Highest;
            ReceiveThread.IsBackground = true;
            ReceiveThread.Start(); //New thread starts
            return(true);
        }