From 2ac1a3242ad5789f396a1ed97a05e23ee13625c2 Mon Sep 17 00:00:00 2001 From: Xuwznln <18435084+Xuwznln@users.noreply.github.com> Date: Tue, 3 Mar 2026 11:40:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0prcxi=20deck=20&=20=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=20unilabos=5Fresource=5Fslot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- unilabos/devices/liquid_handling/prcxi/prcxi.py | 10 +++++----- unilabos/registry/registry.py | 3 ++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/unilabos/devices/liquid_handling/prcxi/prcxi.py b/unilabos/devices/liquid_handling/prcxi/prcxi.py index 35565192..bad3575b 100644 --- a/unilabos/devices/liquid_handling/prcxi/prcxi.py +++ b/unilabos/devices/liquid_handling/prcxi/prcxi.py @@ -93,13 +93,13 @@ class PRCXI9300Deck(Deck): # T1-T16 默认位置 (4列×4行) _DEFAULT_SITE_POSITIONS = [ - (0, 288, 0), (138, 288, 0), (276, 288, 0), (414, 288, 0), # T1-T4 - (0, 192, 0), (138, 192, 0), (276, 192, 0), (414, 192, 0), # T5-T8 - (0, 96, 0), (138, 96, 0), (276, 96, 0), (414, 96, 0), # T9-T12 - (0, 0, 0), (138, 0, 0), (276, 0, 0), (414, 0, 0), # T13-T16 + (0, 0, 0), (138, 0, 0), (276, 0, 0), (414, 0, 0), # T1-T4 + (0, 96, 0), (138, 96, 0), (276, 96, 0), (414, 96, 0), # T5-T8 + (0, 192, 0), (138, 192, 0), (276, 192, 0), (414, 192, 0), # T9-T12 + (0, 288, 0), (138, 288, 0), (276, 288, 0), (414, 288, 0), # T13-T16 ] _DEFAULT_SITE_SIZE = {"width": 128.0, "height": 86, "depth": 0} - _DEFAULT_CONTENT_TYPE = ["plate", "tip_rack", "plates", "tip_racks", "tube_rack"] + _DEFAULT_CONTENT_TYPE = ["plate", "tip_rack", "plates", "tip_racks", "tube_rack", "adaptor"] def __init__(self, name: str, size_x: float, size_y: float, size_z: float, sites: Optional[List[Dict[str, Any]]] = None, **kwargs): diff --git a/unilabos/registry/registry.py b/unilabos/registry/registry.py index 844d4cf8..02d80cca 100644 --- a/unilabos/registry/registry.py +++ b/unilabos/registry/registry.py @@ -175,7 +175,8 @@ class Registry: "res_id": "unilabos_resources", # 将当前实验室的全部物料id作为下拉框可选择 "device_id": "unilabos_devices", # 将当前实验室的全部设备id作为下拉框可选择 "parent": "unilabos_nodes", # 将当前实验室的设备/物料作为下拉框可选择 - "class_name": "unilabos_class", + "class_name": "unilabos_class", # 当前实验室物料的class name + "slot_on_deck": "unilabos_resource_slot:parent", # 勾选的parent的config中的sites的name,展示name,参数对应slot(index) }, }, "test_latency": {