Files
mxsc/script/data/pucks.py
gac-S_Changer bc21bb95a3
2018-09-17 16:56:55 +02:00

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)