// Append strCommand to the queue, wait for iTimeToWait milliseconds (minimum 55 ms), and either expect or disregard a reply. public void SendCommand(string strCommand, int iTimeToWaitMS, bool bExpectReply, int iNumCharsToRead, eCommandType eCommType) { cCommandItem pCommand = new cCommandItem(strCommand, iTimeToWaitMS, bExpectReply, iNumCharsToRead, eCommType); mCommandQueue.Add(pCommand); }
// Append strCommand to the queue, wait 55 milliseconds, a reply is not expected. public void SendCommand(string strCommand) { cCommandItem pCommand = new cCommandItem(strCommand, 0, false, 0, eCommandType.GeneralCommunication); mCommandQueue.Add(pCommand); }