mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2026-02-08 07:55:12 +00:00
Compare commits
11 Commits
f230028558
...
9a85bfddcd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a85bfddcd | ||
|
|
d4e1286df7 | ||
|
|
765038a136 | ||
|
|
0ad2eaafea | ||
|
|
1477384c1a | ||
|
|
8149a175d9 | ||
|
|
bfd415279b | ||
|
|
0238a92e75 | ||
|
|
8009956326 | ||
|
|
68fc4dd61e | ||
|
|
cd12932788 |
@@ -986,10 +986,10 @@ class CoincellDeck(Deck):
|
|||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
name: str = "coin_cell_deck",
|
name: str = "coin_cell_deck",
|
||||||
size_x: float = 1000.0, # 1m
|
size_x: float = 3650.0, # 1m
|
||||||
size_y: float = 1000.0, # 1m
|
size_y: float = 1550.0, # 1m
|
||||||
size_z: float = 900.0, # 0.9m
|
size_z: float = 2100.0, # 0.9m
|
||||||
origin: Coordinate = Coordinate(0, 0, 0),
|
origin: Coordinate = Coordinate(-4000, 2000, 0),
|
||||||
category: str = "coin_cell_deck",
|
category: str = "coin_cell_deck",
|
||||||
setup: bool = False, # 是否自动执行 setup
|
setup: bool = False, # 是否自动执行 setup
|
||||||
):
|
):
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ class CoinCellAssemblyWorkstation(WorkstationBase):
|
|||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
deck: Deck=None,
|
deck: Deck=None,
|
||||||
address: str = "172.21.32.111",
|
address: str = "172.21.33.176",
|
||||||
port: str = "502",
|
port: str = "502",
|
||||||
debug_mode: bool = False,
|
debug_mode: bool = False,
|
||||||
*args,
|
*args,
|
||||||
@@ -138,7 +138,7 @@ class CoinCellAssemblyWorkstation(WorkstationBase):
|
|||||||
|
|
||||||
# 如果没有传入 deck,则创建标准配置的 deck
|
# 如果没有传入 deck,则创建标准配置的 deck
|
||||||
if self.deck is None:
|
if self.deck is None:
|
||||||
self.deck = CoincellDeck(size_x=1000, size_y=1000, size_z=900, setup=True)
|
self.deck = CoincellDeck(size_x=1000, size_y=1000, size_z=900, origin=Coordinate(-800, 0, 0),setup=True)
|
||||||
else:
|
else:
|
||||||
# 如果传入了 deck 但还没有 setup,可以选择是否 setup
|
# 如果传入了 deck 但还没有 setup,可以选择是否 setup
|
||||||
if self.deck is not None and len(self.deck.children) == 0:
|
if self.deck is not None and len(self.deck.children) == 0:
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
},
|
},
|
||||||
"data": {}
|
"data": {}
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"id": "BatteryStation",
|
"id": "BatteryStation",
|
||||||
"name": "扣电工作站",
|
"name": "扣电工作站",
|
||||||
@@ -24,8 +25,8 @@
|
|||||||
"type": "device",
|
"type": "device",
|
||||||
"class": "coincellassemblyworkstation_device",
|
"class": "coincellassemblyworkstation_device",
|
||||||
"position": {
|
"position": {
|
||||||
"x": 600,
|
"x": -600,
|
||||||
"y": 400,
|
"y": -400,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ bioyond_cell:
|
|||||||
class:
|
class:
|
||||||
action_value_mappings:
|
action_value_mappings:
|
||||||
auto-auto_batch_outbound_from_xlsx:
|
auto-auto_batch_outbound_from_xlsx:
|
||||||
|
display_name: 批量导入上料
|
||||||
feedback: {}
|
feedback: {}
|
||||||
goal: {}
|
goal: {}
|
||||||
goal_default:
|
goal_default:
|
||||||
|
|||||||
@@ -502,7 +502,7 @@ coincellassemblyworkstation_device:
|
|||||||
config_info: []
|
config_info: []
|
||||||
description: ''
|
description: ''
|
||||||
handles: []
|
handles: []
|
||||||
icon: ''
|
icon: coin_cell_assembly_picture.webp
|
||||||
init_param_schema:
|
init_param_schema:
|
||||||
config:
|
config:
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ class BIOYOND_PolymerReactionStation_Deck(Deck):
|
|||||||
for warehouse_name, warehouse in self.warehouses.items():
|
for warehouse_name, warehouse in self.warehouses.items():
|
||||||
self.assign_child_resource(warehouse, location=self.warehouse_locations[warehouse_name])
|
self.assign_child_resource(warehouse, location=self.warehouse_locations[warehouse_name])
|
||||||
|
|
||||||
|
|
||||||
class BIOYOND_PolymerPreparationStation_Deck(Deck):
|
class BIOYOND_PolymerPreparationStation_Deck(Deck):
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
@@ -90,9 +89,11 @@ class BIOYOND_YB_Deck(Deck):
|
|||||||
"自动堆栈-右": bioyond_warehouse_2x2x1("自动堆栈-右"),
|
"自动堆栈-右": bioyond_warehouse_2x2x1("自动堆栈-右"),
|
||||||
"手动堆栈-左": bioyond_warehouse_3x5x1("手动堆栈-左"),
|
"手动堆栈-左": bioyond_warehouse_3x5x1("手动堆栈-左"),
|
||||||
"手动堆栈-右": bioyond_warehouse_3x5x1("手动堆栈-右"),
|
"手动堆栈-右": bioyond_warehouse_3x5x1("手动堆栈-右"),
|
||||||
"粉末加样头堆栈": bioyond_warehouse_20x1x1("粉末加样头堆栈"),
|
"粉末加样头堆栈-左": bioyond_warehouse_10x1x1("粉末加样头堆栈-左"),
|
||||||
|
"粉末加样头堆栈-右": bioyond_warehouse_10x1x1("粉末加样头堆栈-右"),
|
||||||
"配液站内试剂仓库": bioyond_warehouse_3x3x1("配液站内试剂仓库"),
|
"配液站内试剂仓库": bioyond_warehouse_3x3x1("配液站内试剂仓库"),
|
||||||
"试剂替换仓库": bioyond_warehouse_10x1x1("试剂替换仓库"),
|
"试剂替换仓库-左": bioyond_warehouse_5x1x1("试剂替换仓库-左"),
|
||||||
|
"试剂替换仓库-右": bioyond_warehouse_5x1x1("试剂替换仓库-右"),
|
||||||
}
|
}
|
||||||
# warehouse 的位置
|
# warehouse 的位置
|
||||||
self.warehouse_locations = {
|
self.warehouse_locations = {
|
||||||
@@ -100,9 +101,11 @@ class BIOYOND_YB_Deck(Deck):
|
|||||||
"自动堆栈-右": Coordinate(4160.0, 158.0, 0.0),
|
"自动堆栈-右": Coordinate(4160.0, 158.0, 0.0),
|
||||||
"手动堆栈-左": Coordinate(-400.0, 877.0, 0.0),
|
"手动堆栈-左": Coordinate(-400.0, 877.0, 0.0),
|
||||||
"手动堆栈-右": Coordinate(4160.0, 877.0, 0.0),
|
"手动堆栈-右": Coordinate(4160.0, 877.0, 0.0),
|
||||||
"粉末加样头堆栈": Coordinate(385.0, 1300.0, 0.0),
|
"粉末加样头堆栈-左": Coordinate(415.0, 1301.0, 0.0),
|
||||||
"配液站内试剂仓库": Coordinate(1164.0, 676.0, 0.0),
|
"粉末加样头堆栈-右": Coordinate(2200.0, 1304.0, 0.0),
|
||||||
"试剂替换仓库": Coordinate(2717.0, 676.0, 0.0),
|
"配液站内试剂仓库": Coordinate(2162.0, 337.0, 0.0),
|
||||||
|
"试剂替换仓库-左": Coordinate(1173.0, 702.0, 0.0),
|
||||||
|
"试剂替换仓库-右": Coordinate(2721.0, 739.0, 0.0),
|
||||||
}
|
}
|
||||||
|
|
||||||
for warehouse_name, warehouse in self.warehouses.items():
|
for warehouse_name, warehouse in self.warehouses.items():
|
||||||
|
|||||||
Reference in New Issue
Block a user