private void ReceiveData()
 {
     while (true)
     {
         byte[] buff;
         buff = new byte[1024];
         msgEventArgs_Bytes args = null;
         try
         {
             br.Read(buff, 0, 1024);
             args = new msgEventArgs_Bytes(buff);
         }
         catch
         {
             break;
         }
         if (args != null)
         {
             OnevtReceived(args);
         }
     }
 }
 /// <summary>
 /// 触发socket层的事件,将socket层和MLLP层连接起来
 /// </summary>
 /// <param name="e"></param>
 protected void OnevtReceived(msgEventArgs_Bytes e)
 {
     evtReceived(this, e);
 }