14 lines
374 B
Python
14 lines
374 B
Python
def get_puck_names():
|
|
return [str(a)+str(b) for a in BLOCKS for b in range(1,6)]
|
|
|
|
|
|
def get_puck_info():
|
|
ret = []
|
|
#for puck in get_puck_names():
|
|
for puck in BasePlate.pucks:
|
|
ret.append({"address" : str(puck.name), "status": str(puck.status), "barcode" : str(puck.id)})
|
|
return ret
|
|
|
|
|
|
def get_puck_obj(address):
|
|
return BasePlate.getChild(address) |