mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-17 13:01:12 +00:00
1103byxinyu
This commit is contained in:
@@ -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(-100, -100, 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:
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user