data 是我要发送的指令。总是出现写入超时     
try
                {                    byte[] sendBytes = Encoding.UTF8.GetBytes(data);
                    int n = data.Length;
                    _serialPort.Write(sendBytes, 0, sendBytes.Length);
                    
                }
                catch(TimeoutException)
                {
                                    }