// 接收数据 byte[] buffer = null; byte[] data = new byte[2048]; int receiveCount = 0; while (true) { System.Threading.Thread.Sleep( 20 ); if(SP_ReadData.BytesToRead < 1) {