mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-15 13:44:39 +00:00
fix(reaction_station): 为步骤参数添加Value字段传个BY后端 fix(bioyond/warehouses): 修正仓库尺寸和物品排列参数 调整仓库的x轴和z轴物品数量以及物品尺寸参数,使其符合4x1x4的规格要求 fix warehouse serialize/deserialize fix bioyond converter fix itemized_carrier.unassign_child_resource allow not-loaded MSG in registry add layout serializer & converter warehouseuse A1-D4; add warehouse layout fix(graphio): 修正bioyond到plr资源转换中的坐标计算错误 Fix resource assignment and type mapping issues Corrects resource assignment in ItemizedCarrier by using the correct spot key from _ordering. Updates graphio to use 'typeName' instead of 'name' for type mapping in resource_bioyond_to_plr. Renames DummyWorkstation to BioyondWorkstation in workstation_http_service for clarity.
54 lines
1.2 KiB
Python
54 lines
1.2 KiB
Python
from unilabos.resources.warehouse import WareHouse, warehouse_factory
|
|
|
|
|
|
def bioyond_warehouse_1x4x4(name: str) -> WareHouse:
|
|
"""创建BioYond 4x1x4仓库"""
|
|
return warehouse_factory(
|
|
name=name,
|
|
num_items_x=4,
|
|
num_items_y=4,
|
|
num_items_z=1,
|
|
dx=10.0,
|
|
dy=10.0,
|
|
dz=10.0,
|
|
item_dx=147.0,
|
|
item_dy=106.0,
|
|
item_dz=130.0,
|
|
category="warehouse",
|
|
)
|
|
|
|
|
|
def bioyond_warehouse_1x4x2(name: str) -> WareHouse:
|
|
"""创建BioYond 4x1x2仓库"""
|
|
return warehouse_factory(
|
|
name=name,
|
|
num_items_x=1,
|
|
num_items_y=4,
|
|
num_items_z=2,
|
|
dx=10.0,
|
|
dy=10.0,
|
|
dz=10.0,
|
|
item_dx=137.0,
|
|
item_dy=96.0,
|
|
item_dz=120.0,
|
|
category="warehouse",
|
|
removed_positions=None
|
|
)
|
|
|
|
|
|
def bioyond_warehouse_liquid_and_lid_handling(name: str) -> WareHouse:
|
|
"""创建BioYond开关盖加液模块台面"""
|
|
return warehouse_factory(
|
|
name=name,
|
|
num_items_x=2,
|
|
num_items_y=5,
|
|
num_items_z=1,
|
|
dx=10.0,
|
|
dy=10.0,
|
|
dz=10.0,
|
|
item_dx=137.0,
|
|
item_dy=96.0,
|
|
item_dz=120.0,
|
|
category="warehouse",
|
|
removed_positions=None
|
|
) |