def __init__(self, clean_head, waste_pump, water_pump, acetone_pump): Task.__init__(self) self.clean_head = clean_head self.waste_pump = waste_pump self.water_pump = water_pump self.acetone_pump = acetone_pump self.start()
def __init__(self, xy_axis, z_axis, syringe, clean_head, waste_pump, acetone_pump): Task.__init__(self) self.clean_syringe_station = CleanSyringe(xy_axis, z_axis, syringe, waste_pump, acetone_pump) self.clean_tube_station = CleanTube(clean_head, waste_pump, acetone_pump) self.start()
def spawn_defined_tasks(self, locations): newTaskNos = [] start_i = self.noTasks for i in range(0, len(locations)): newTask = Task() newTask.set_location(locations[i]) newTask.complete = False newTask.no = start_i + i self._tasks.append(newTask) newTaskNos.append(newTask.no) return newTaskNos
def __init__(self, pump_controller): Task.__init__(self) self.pump_controller = pump_controller self.start()
def __init__(self): Task.__init__(self) self.start()
def __init__(self, pump_controller, fill_head): Task.__init__(self) self.pump_controller = pump_controller self.fill_head = fill_head self.start()