mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-17 13:01:12 +00:00
更新载架网格布局:5ml/20ml/配液瓶(小)板改为4x2,加样头(大)板改为1x1
This commit is contained in:
@@ -283,7 +283,7 @@ def BIOYOND_PolymerStation_1FlaskCarrier(name: str) -> BottleCarrier:
|
|||||||
|
|
||||||
|
|
||||||
def BIOYOND_PolymerStation_6x5ml_DispensingVialCarrier(name: str) -> BottleCarrier:
|
def BIOYOND_PolymerStation_6x5ml_DispensingVialCarrier(name: str) -> BottleCarrier:
|
||||||
"""5ml分液瓶板 - 2x3布局,6个位置"""
|
"""5ml分液瓶板 - 4x2布局,8个位置"""
|
||||||
|
|
||||||
# 载架尺寸 (mm)
|
# 载架尺寸 (mm)
|
||||||
carrier_size_x = 127.8
|
carrier_size_x = 127.8
|
||||||
@@ -296,12 +296,12 @@ def BIOYOND_PolymerStation_6x5ml_DispensingVialCarrier(name: str) -> BottleCarri
|
|||||||
bottle_spacing_y = 35.0 # Y方向间距
|
bottle_spacing_y = 35.0 # Y方向间距
|
||||||
|
|
||||||
# 计算起始位置 (居中排列)
|
# 计算起始位置 (居中排列)
|
||||||
start_x = (carrier_size_x - (3 - 1) * bottle_spacing_x - bottle_diameter) / 2
|
start_x = (carrier_size_x - (4 - 1) * bottle_spacing_x - bottle_diameter) / 2
|
||||||
start_y = (carrier_size_y - (2 - 1) * bottle_spacing_y - bottle_diameter) / 2
|
start_y = (carrier_size_y - (2 - 1) * bottle_spacing_y - bottle_diameter) / 2
|
||||||
|
|
||||||
sites = create_ordered_items_2d(
|
sites = create_ordered_items_2d(
|
||||||
klass=ResourceHolder,
|
klass=ResourceHolder,
|
||||||
num_items_x=3,
|
num_items_x=4,
|
||||||
num_items_y=2,
|
num_items_y=2,
|
||||||
dx=start_x,
|
dx=start_x,
|
||||||
dy=start_y,
|
dy=start_y,
|
||||||
@@ -323,17 +323,17 @@ def BIOYOND_PolymerStation_6x5ml_DispensingVialCarrier(name: str) -> BottleCarri
|
|||||||
sites=sites,
|
sites=sites,
|
||||||
model="6x5ml_DispensingVialCarrier",
|
model="6x5ml_DispensingVialCarrier",
|
||||||
)
|
)
|
||||||
carrier.num_items_x = 3
|
carrier.num_items_x = 4
|
||||||
carrier.num_items_y = 2
|
carrier.num_items_y = 2
|
||||||
carrier.num_items_z = 1
|
carrier.num_items_z = 1
|
||||||
ordering = ["A1", "A2", "A3", "B1", "B2", "B3"]
|
ordering = ["A1", "A2", "A3", "A4", "B1", "B2", "B3", "B4"]
|
||||||
for i in range(6):
|
for i in range(8):
|
||||||
carrier[i] = BIOYOND_PolymerStation_5ml_Dispensing_Vial(f"{name}_vial_{ordering[i]}")
|
carrier[i] = BIOYOND_PolymerStation_5ml_Dispensing_Vial(f"{name}_vial_{ordering[i]}")
|
||||||
return carrier
|
return carrier
|
||||||
|
|
||||||
|
|
||||||
def BIOYOND_PolymerStation_6x20ml_DispensingVialCarrier(name: str) -> BottleCarrier:
|
def BIOYOND_PolymerStation_6x20ml_DispensingVialCarrier(name: str) -> BottleCarrier:
|
||||||
"""20ml分液瓶板 - 2x3布局,6个位置"""
|
"""20ml分液瓶板 - 4x2布局,8个位置"""
|
||||||
|
|
||||||
# 载架尺寸 (mm)
|
# 载架尺寸 (mm)
|
||||||
carrier_size_x = 127.8
|
carrier_size_x = 127.8
|
||||||
@@ -346,12 +346,12 @@ def BIOYOND_PolymerStation_6x20ml_DispensingVialCarrier(name: str) -> BottleCarr
|
|||||||
bottle_spacing_y = 35.0 # Y方向间距
|
bottle_spacing_y = 35.0 # Y方向间距
|
||||||
|
|
||||||
# 计算起始位置 (居中排列)
|
# 计算起始位置 (居中排列)
|
||||||
start_x = (carrier_size_x - (3 - 1) * bottle_spacing_x - bottle_diameter) / 2
|
start_x = (carrier_size_x - (4 - 1) * bottle_spacing_x - bottle_diameter) / 2
|
||||||
start_y = (carrier_size_y - (2 - 1) * bottle_spacing_y - bottle_diameter) / 2
|
start_y = (carrier_size_y - (2 - 1) * bottle_spacing_y - bottle_diameter) / 2
|
||||||
|
|
||||||
sites = create_ordered_items_2d(
|
sites = create_ordered_items_2d(
|
||||||
klass=ResourceHolder,
|
klass=ResourceHolder,
|
||||||
num_items_x=3,
|
num_items_x=4,
|
||||||
num_items_y=2,
|
num_items_y=2,
|
||||||
dx=start_x,
|
dx=start_x,
|
||||||
dy=start_y,
|
dy=start_y,
|
||||||
@@ -373,17 +373,17 @@ def BIOYOND_PolymerStation_6x20ml_DispensingVialCarrier(name: str) -> BottleCarr
|
|||||||
sites=sites,
|
sites=sites,
|
||||||
model="6x20ml_DispensingVialCarrier",
|
model="6x20ml_DispensingVialCarrier",
|
||||||
)
|
)
|
||||||
carrier.num_items_x = 3
|
carrier.num_items_x = 4
|
||||||
carrier.num_items_y = 2
|
carrier.num_items_y = 2
|
||||||
carrier.num_items_z = 1
|
carrier.num_items_z = 1
|
||||||
ordering = ["A1", "A2", "A3", "B1", "B2", "B3"]
|
ordering = ["A1", "A2", "A3", "A4", "B1", "B2", "B3", "B4"]
|
||||||
for i in range(6):
|
for i in range(8):
|
||||||
carrier[i] = BIOYOND_PolymerStation_20ml_Dispensing_Vial(f"{name}_vial_{ordering[i]}")
|
carrier[i] = BIOYOND_PolymerStation_20ml_Dispensing_Vial(f"{name}_vial_{ordering[i]}")
|
||||||
return carrier
|
return carrier
|
||||||
|
|
||||||
|
|
||||||
def BIOYOND_PolymerStation_6x_SmallSolutionBottleCarrier(name: str) -> BottleCarrier:
|
def BIOYOND_PolymerStation_6x_SmallSolutionBottleCarrier(name: str) -> BottleCarrier:
|
||||||
"""配液瓶(小)板 - 2x3布局,6个位置"""
|
"""配液瓶(小)板 - 4x2布局,8个位置"""
|
||||||
|
|
||||||
# 载架尺寸 (mm)
|
# 载架尺寸 (mm)
|
||||||
carrier_size_x = 127.8
|
carrier_size_x = 127.8
|
||||||
@@ -396,12 +396,12 @@ def BIOYOND_PolymerStation_6x_SmallSolutionBottleCarrier(name: str) -> BottleCar
|
|||||||
bottle_spacing_y = 35.0 # Y方向间距
|
bottle_spacing_y = 35.0 # Y方向间距
|
||||||
|
|
||||||
# 计算起始位置 (居中排列)
|
# 计算起始位置 (居中排列)
|
||||||
start_x = (carrier_size_x - (3 - 1) * bottle_spacing_x - bottle_diameter) / 2
|
start_x = (carrier_size_x - (4 - 1) * bottle_spacing_x - bottle_diameter) / 2
|
||||||
start_y = (carrier_size_y - (2 - 1) * bottle_spacing_y - bottle_diameter) / 2
|
start_y = (carrier_size_y - (2 - 1) * bottle_spacing_y - bottle_diameter) / 2
|
||||||
|
|
||||||
sites = create_ordered_items_2d(
|
sites = create_ordered_items_2d(
|
||||||
klass=ResourceHolder,
|
klass=ResourceHolder,
|
||||||
num_items_x=3,
|
num_items_x=4,
|
||||||
num_items_y=2,
|
num_items_y=2,
|
||||||
dx=start_x,
|
dx=start_x,
|
||||||
dy=start_y,
|
dy=start_y,
|
||||||
@@ -423,11 +423,11 @@ def BIOYOND_PolymerStation_6x_SmallSolutionBottleCarrier(name: str) -> BottleCar
|
|||||||
sites=sites,
|
sites=sites,
|
||||||
model="6x_SmallSolutionBottleCarrier",
|
model="6x_SmallSolutionBottleCarrier",
|
||||||
)
|
)
|
||||||
carrier.num_items_x = 3
|
carrier.num_items_x = 4
|
||||||
carrier.num_items_y = 2
|
carrier.num_items_y = 2
|
||||||
carrier.num_items_z = 1
|
carrier.num_items_z = 1
|
||||||
ordering = ["A1", "A2", "A3", "B1", "B2", "B3"]
|
ordering = ["A1", "A2", "A3", "A4", "B1", "B2", "B3", "B4"]
|
||||||
for i in range(6):
|
for i in range(8):
|
||||||
carrier[i] = BIOYOND_PolymerStation_Small_Solution_Bottle(f"{name}_bottle_{ordering[i]}")
|
carrier[i] = BIOYOND_PolymerStation_Small_Solution_Bottle(f"{name}_bottle_{ordering[i]}")
|
||||||
return carrier
|
return carrier
|
||||||
|
|
||||||
@@ -483,7 +483,7 @@ def BIOYOND_PolymerStation_4x_LargeSolutionBottleCarrier(name: str) -> BottleCar
|
|||||||
|
|
||||||
|
|
||||||
def BIOYOND_PolymerStation_6x_LargeDispenseHeadCarrier(name: str) -> BottleCarrier:
|
def BIOYOND_PolymerStation_6x_LargeDispenseHeadCarrier(name: str) -> BottleCarrier:
|
||||||
"""加样头(大)板 - 2x3布局,6个位置"""
|
"""加样头(大)板 - 1x1布局,1个位置"""
|
||||||
|
|
||||||
# 载架尺寸 (mm)
|
# 载架尺寸 (mm)
|
||||||
carrier_size_x = 127.8
|
carrier_size_x = 127.8
|
||||||
@@ -496,13 +496,13 @@ def BIOYOND_PolymerStation_6x_LargeDispenseHeadCarrier(name: str) -> BottleCarri
|
|||||||
bottle_spacing_y = 35.0 # Y方向间距
|
bottle_spacing_y = 35.0 # Y方向间距
|
||||||
|
|
||||||
# 计算起始位置 (居中排列)
|
# 计算起始位置 (居中排列)
|
||||||
start_x = (carrier_size_x - (3 - 1) * bottle_spacing_x - bottle_diameter) / 2
|
start_x = (carrier_size_x - (1 - 1) * bottle_spacing_x - bottle_diameter) / 2
|
||||||
start_y = (carrier_size_y - (2 - 1) * bottle_spacing_y - bottle_diameter) / 2
|
start_y = (carrier_size_y - (1 - 1) * bottle_spacing_y - bottle_diameter) / 2
|
||||||
|
|
||||||
sites = create_ordered_items_2d(
|
sites = create_ordered_items_2d(
|
||||||
klass=ResourceHolder,
|
klass=ResourceHolder,
|
||||||
num_items_x=3,
|
num_items_x=1,
|
||||||
num_items_y=2,
|
num_items_y=1,
|
||||||
dx=start_x,
|
dx=start_x,
|
||||||
dy=start_y,
|
dy=start_y,
|
||||||
dz=5.0,
|
dz=5.0,
|
||||||
@@ -523,12 +523,10 @@ def BIOYOND_PolymerStation_6x_LargeDispenseHeadCarrier(name: str) -> BottleCarri
|
|||||||
sites=sites,
|
sites=sites,
|
||||||
model="6x_LargeDispenseHeadCarrier",
|
model="6x_LargeDispenseHeadCarrier",
|
||||||
)
|
)
|
||||||
carrier.num_items_x = 3
|
carrier.num_items_x = 1
|
||||||
carrier.num_items_y = 2
|
carrier.num_items_y = 1
|
||||||
carrier.num_items_z = 1
|
carrier.num_items_z = 1
|
||||||
ordering = ["A1", "A2", "A3", "B1", "B2", "B3"]
|
carrier[0] = BIOYOND_PolymerStation_Large_Dispense_Head(f"{name}_head_1")
|
||||||
for i in range(6):
|
|
||||||
carrier[i] = BIOYOND_PolymerStation_Large_Dispense_Head(f"{name}_head_{ordering[i]}")
|
|
||||||
return carrier
|
return carrier
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user