예제 #1
0
 public void AddRawDebugData(bool bNewPacket, int iDirection, bool bForceHexCode, byte[] bBuffer, int iOffset, int iBufferLength)
 {
     lock (this)
     {
         foreach (RSMPGS_Debug DebugForm in RSMPGS.DebugForms)
         {
             try
             {
                 DebugForm.AddRawDebugDataMethod(DateTime.Now, bNewPacket, iDirection, bForceHexCode, bBuffer, iOffset, iBufferLength);
                 //DebugForm.BeginInvoke(DebugForm.DelegateAddRawDebugData, new Object[] { DateTime.Now, bNewPacket, iDirection, bForceHexCode, bBuffer, iOffset, iBufferLength });
             }
             catch { }
         }
     }
 }