示例#1
0
 /// <summary>
 /// Sends the bytes directly to receiver (debug mode only).
 /// </summary>
 /// <param name="data">The data.</param>
 public void SendDebugBytes(byte[] data)
 {
     Trace.TraceInformation("{0}.SendDebugBytes: {1}", CLASSNAME, BitConverter.ToString(data));
     Trace.Indent();
     if (_recvrComm == null) throw new InvalidOperationException("Receiver communications port is null");
     _recvrComm.SendDataPacket(data);
     Trace.Unindent();
 }