Update YB resources: add YB_ prefix to models and update deck configurations

This commit is contained in:
dijkstra402
2025-11-09 17:04:52 +08:00
parent 1d77225912
commit 538891fcbe
9 changed files with 66 additions and 43 deletions

View File

@@ -206,7 +206,7 @@ def YB_6VialCarrier(name: str) -> BottleCarrier:
return carrier
# 1瓶载架 - 单个中央位置
def YB_1BottleCarrier(name: str) -> BottleCarrier:
def YB_ye(name: str) -> BottleCarrier:
# 载架尺寸 (mm)
carrier_size_x = 127.8
@@ -233,7 +233,7 @@ def YB_1BottleCarrier(name: str) -> BottleCarrier:
resource_size_y=beaker_diameter,
name_prefix=name,
),
model="YB_1BottleCarrier",
model="YB_ye",
)
carrier.num_items_x = 1
carrier.num_items_y = 1

View File

@@ -33,7 +33,7 @@ def YB_ye_Bottle(
height=height,
max_volume=max_volume,
barcode=barcode,
model="Liquid_Bottle",
model="YB_ye_Bottle",
)
"""100ml液体"""

View File

@@ -89,11 +89,9 @@ class BIOYOND_YB_Deck(Deck):
"自动堆栈-右": bioyond_warehouse_2x2x1("自动堆栈-右"),
"手动堆栈-左": bioyond_warehouse_3x5x1("手动堆栈-左"),
"手动堆栈-右": bioyond_warehouse_3x5x1("手动堆栈-右"),
"粉末加样头堆栈-左": bioyond_warehouse_10x1x1("粉末加样头堆栈-左"),
"粉末加样头堆栈-右": bioyond_warehouse_10x1x1("粉末加样头堆栈-右"),
"粉末加样头堆栈": bioyond_warehouse_20x1x1("粉末加样头堆栈"),
"配液站内试剂仓库": bioyond_warehouse_3x3x1("配液站内试剂仓库"),
"试剂替换仓库-左": bioyond_warehouse_5x1x1("试剂替换仓库-左"),
"试剂替换仓库-右": bioyond_warehouse_5x1x1("试剂替换仓库-右"),
"试剂替换仓库": bioyond_warehouse_10x1x1("试剂替换仓库"),
}
# warehouse 的位置
self.warehouse_locations = {
@@ -101,11 +99,9 @@ class BIOYOND_YB_Deck(Deck):
"自动堆栈-右": Coordinate(4160.0, 158.0, 0.0),
"手动堆栈-左": Coordinate(-400.0, 877.0, 0.0),
"手动堆栈-右": Coordinate(4160.0, 877.0, 0.0),
"粉末加样头堆栈-左": Coordinate(415.0, 1301.0, 0.0),
"粉末加样头堆栈-右": Coordinate(2200.0, 1304.0, 0.0),
"粉末加样头堆栈": Coordinate(415.0, 1301.0, 0.0),
"配液站内试剂仓库": Coordinate(2162.0, 337.0, 0.0),
"试剂替换仓库-左": Coordinate(1173.0, 702.0, 0.0),
"试剂替换仓库-右": Coordinate(2721.0, 739.0, 0.0),
"试剂替换仓库": Coordinate(1173.0, 702.0, 0.0),
}
for warehouse_name, warehouse in self.warehouses.items():