예제 #1
0
 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()
예제 #2
0
 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()
예제 #3
0
파일: states.py 프로젝트: tomekent/MASsim
 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
예제 #4
0
 def __init__(self, pump_controller):
     Task.__init__(self)
     self.pump_controller = pump_controller
     self.start()
예제 #5
0
 def __init__(self):
     Task.__init__(self)
     self.start()
예제 #6
0
 def __init__(self, pump_controller, fill_head):
     Task.__init__(self)
     self.pump_controller = pump_controller
     self.fill_head = fill_head
     self.start()