mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2026-02-04 13:25:13 +00:00
Merge pull request #142 from lixinyu1011/workstation_dev_YB3
11103-2byxinyu
This commit is contained in:
@@ -172,6 +172,8 @@ class BioyondWorkstation(WorkstationBase):
|
|||||||
|
|
||||||
def post_init(self, ros_node: ROS2WorkstationNode):
|
def post_init(self, ros_node: ROS2WorkstationNode):
|
||||||
self._ros_node = ros_node
|
self._ros_node = ros_node
|
||||||
|
print("~~~",self._ros_node)
|
||||||
|
print("deck",self.deck)
|
||||||
ROS2DeviceNode.run_async_func(self._ros_node.update_resource, True, **{
|
ROS2DeviceNode.run_async_func(self._ros_node.update_resource, True, **{
|
||||||
"resources": [self.deck]
|
"resources": [self.deck]
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ coincellassemblyworkstation_device:
|
|||||||
elec_num: null
|
elec_num: null
|
||||||
elec_use_num: null
|
elec_use_num: null
|
||||||
elec_vol: 50
|
elec_vol: 50
|
||||||
file_path: D:\coin_cell_data
|
file_path: C:\Users\67484\Desktop
|
||||||
handles: {}
|
handles: {}
|
||||||
placeholder_keys: {}
|
placeholder_keys: {}
|
||||||
result: {}
|
result: {}
|
||||||
@@ -103,7 +103,7 @@ coincellassemblyworkstation_device:
|
|||||||
default: 50
|
default: 50
|
||||||
type: integer
|
type: integer
|
||||||
file_path:
|
file_path:
|
||||||
default: D:\coin_cell_data
|
default: C:\Users\67484\Desktop
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- elec_num
|
- elec_num
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ class BIOYOND_PolymerPreparationStation_Deck(Deck):
|
|||||||
class BIOYOND_YB_Deck(Deck):
|
class BIOYOND_YB_Deck(Deck):
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
name: str = "YB_Bioyond_Deck",
|
name: str = "YB_Deck",
|
||||||
size_x: float = 4150,
|
size_x: float = 4150,
|
||||||
size_y: float = 1400.0,
|
size_y: float = 1400.0,
|
||||||
size_z: float = 2670.0,
|
size_z: float = 2670.0,
|
||||||
@@ -107,7 +107,7 @@ class BIOYOND_YB_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])
|
||||||
|
|
||||||
# def YB_Deck(name: str) -> Deck:
|
# def YB_Deck(name: str) -> Deck:
|
||||||
# # by=BIOYOND_YB_Deck(name=name)
|
# # by=BIOYOND_YB_Deck(name=name)
|
||||||
# # by.setup()
|
# # by.setup()
|
||||||
|
|||||||
Reference in New Issue
Block a user