private void DoProcedure(CProcedure _procedure) { bProcessing = true; _procedure.Setup(this, scanner, interaction, ocr); this.procCurrent = _procedure; }
public void ProcedureComplete(CProcedure _procedure) { bProcessing = false; if (qProcedures.Count != 0) { QueueProcedure(qProcedures.Dequeue()); } else { Console.WriteLine("Script complete."); StopBot(); } }
public void QueueProcedure(CProcedure _procedure) { qProcedures.Enqueue(_procedure); }