1103byxinyu

This commit is contained in:
lixinyu1011
2025-11-03 22:53:37 +08:00
parent f230028558
commit cd12932788
5 changed files with 10 additions and 9 deletions

View File

@@ -986,10 +986,10 @@ class CoincellDeck(Deck):
def __init__(
self,
name: str = "coin_cell_deck",
size_x: float = 1000.0, # 1m
size_y: float = 1000.0, # 1m
size_z: float = 900.0, # 0.9m
origin: Coordinate = Coordinate(0, 0, 0),
size_x: float = 3650.0, # 1m
size_y: float = 1550.0, # 1m
size_z: float = 2100.0, # 0.9m
origin: Coordinate = Coordinate(-4000, 2000, 0),
category: str = "coin_cell_deck",
setup: bool = False, # 是否自动执行 setup
):

View File

@@ -112,7 +112,7 @@ class CoinCellAssemblyWorkstation(WorkstationBase):
def __init__(
self,
deck: Deck=None,
address: str = "172.21.32.111",
address: str = "172.21.33.176",
port: str = "502",
debug_mode: bool = False,
*args,
@@ -138,7 +138,7 @@ class CoinCellAssemblyWorkstation(WorkstationBase):
# 如果没有传入 deck则创建标准配置的 deck
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:
# 如果传入了 deck 但还没有 setup可以选择是否 setup
if self.deck is not None and len(self.deck.children) == 0:

View File

@@ -14,6 +14,7 @@
},
"data": {}
},
{
"id": "BatteryStation",
"name": "扣电工作站",
@@ -24,8 +25,8 @@
"type": "device",
"class": "coincellassemblyworkstation_device",
"position": {
"x": 600,
"y": 400,
"x": -600,
"y": -400,
"z": 0
},
"config": {

View File

@@ -4,6 +4,7 @@ bioyond_cell:
class:
action_value_mappings:
auto-auto_batch_outbound_from_xlsx:
display_name: 批量导入上料
feedback: {}
goal: {}
goal_default:

View File

@@ -36,7 +36,6 @@ class BIOYOND_PolymerReactionStation_Deck(Deck):
for warehouse_name, warehouse in self.warehouses.items():
self.assign_child_resource(warehouse, location=self.warehouse_locations[warehouse_name])
class BIOYOND_PolymerPreparationStation_Deck(Deck):
def __init__(
self,