示例#1
0
        private void ProcessRead(byte read)
        {
            switch (read)
            {
            case START_TRANSMISSION:
                Incoming.Clear();
                break;

            case STOP_TRANSMISSION:
                ProcessTransmission();
                break;

            default:
                Incoming.Enqueue(read);
                break;
            }
        }
示例#2
0
 public void ClearIncoming()
 {
     Incoming.Clear();
 }
示例#3
0
 public void Clear()
 {
     CurrentScan = string.Empty;
     Incoming.Clear();
 }