mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-18 21:41:16 +00:00
refactor(workstation): 更新反应站参数描述并添加分液站配置文件
修正反应站方法参数描述,使其更准确清晰 添加bioyond_dispensing_station.yaml配置文件
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
],
|
],
|
||||||
"parent": null,
|
"parent": null,
|
||||||
"type": "device",
|
"type": "device",
|
||||||
"class": "workstation.bioyond_dispensing_station",
|
"class": "bioyond_dispensing_station",
|
||||||
"config": {
|
"config": {
|
||||||
"config": {
|
"config": {
|
||||||
"api_key": "DE9BDDA0",
|
"api_key": "DE9BDDA0",
|
||||||
|
|||||||
@@ -58,8 +58,8 @@ class BioyondReactionStation(BioyondWorkstation):
|
|||||||
|
|
||||||
Args:
|
Args:
|
||||||
assign_material_name: 物料名称(不能为空)
|
assign_material_name: 物料名称(不能为空)
|
||||||
cutoff: 截止值/通量配置(需为有效数字字符串,默认 "900000")
|
cutoff: 粘度上限(需为有效数字字符串,默认 "900000")
|
||||||
temperature: 温度上限(°C,范围:-50.00 至 100.00)
|
temperature: 温度设定(°C,范围:-50.00 至 100.00)
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
str: JSON 字符串,格式为 {"suc": True}
|
str: JSON 字符串,格式为 {"suc": True}
|
||||||
@@ -113,11 +113,11 @@ class BioyondReactionStation(BioyondWorkstation):
|
|||||||
"""固体进料小瓶
|
"""固体进料小瓶
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
material_id: 粉末类型ID
|
material_id: 粉末类型ID,1=盐(21分钟),2=面粉(27分钟),3=BTDA(38分钟)
|
||||||
time: 观察时间(分钟)
|
time: 观察时间(分钟)
|
||||||
torque_variation: 是否观察扭矩变化(int类型, 1=否, 2=是)
|
torque_variation: 是否观察(int类型, 1=否, 2=是)
|
||||||
assign_material_name: 物料名称(用于获取试剂瓶位ID)
|
assign_material_name: 物料名称(用于获取试剂瓶位ID)
|
||||||
temperature: 温度上限(°C)
|
temperature: 温度设定(°C)
|
||||||
"""
|
"""
|
||||||
self.append_to_workflow_sequence('{"web_workflow_name": "Solid_feeding_vials"}')
|
self.append_to_workflow_sequence('{"web_workflow_name": "Solid_feeding_vials"}')
|
||||||
material_id_m = self.hardware_interface._get_material_id_by_name(assign_material_name) if assign_material_name else None
|
material_id_m = self.hardware_interface._get_material_id_by_name(assign_material_name) if assign_material_name else None
|
||||||
@@ -165,9 +165,9 @@ class BioyondReactionStation(BioyondWorkstation):
|
|||||||
Args:
|
Args:
|
||||||
volume_formula: 分液公式(μL)
|
volume_formula: 分液公式(μL)
|
||||||
assign_material_name: 物料名称
|
assign_material_name: 物料名称
|
||||||
titration_type: 是否滴定(1=滴定, 其他=非滴定)
|
titration_type: 是否滴定(1=否, 2=是)
|
||||||
time: 观察时间(分钟)
|
time: 观察时间(分钟)
|
||||||
torque_variation: 是否观察扭矩变化(int类型, 1=否, 2=是)
|
torque_variation: 是否观察(int类型, 1=否, 2=是)
|
||||||
temperature: 温度(°C)
|
temperature: 温度(°C)
|
||||||
"""
|
"""
|
||||||
self.append_to_workflow_sequence('{"web_workflow_name": "Liquid_feeding_vials(non-titration)"}')
|
self.append_to_workflow_sequence('{"web_workflow_name": "Liquid_feeding_vials(non-titration)"}')
|
||||||
@@ -219,10 +219,10 @@ class BioyondReactionStation(BioyondWorkstation):
|
|||||||
Args:
|
Args:
|
||||||
assign_material_name: 物料名称
|
assign_material_name: 物料名称
|
||||||
volume: 分液量(μL)
|
volume: 分液量(μL)
|
||||||
titration_type: 是否滴定
|
titration_type: 是否滴定(1=否, 2=是)
|
||||||
time: 观察时间(分钟)
|
time: 观察时间(分钟)
|
||||||
torque_variation: 是否观察扭矩变化(int类型, 1=否, 2=是)
|
torque_variation: 是否观察(int类型, 1=否, 2=是)
|
||||||
temperature: 温度上限(°C)
|
temperature: 温度设定(°C)
|
||||||
"""
|
"""
|
||||||
self.append_to_workflow_sequence('{"web_workflow_name": "Liquid_feeding_solvents"}')
|
self.append_to_workflow_sequence('{"web_workflow_name": "Liquid_feeding_solvents"}')
|
||||||
material_id = self.hardware_interface._get_material_id_by_name(assign_material_name)
|
material_id = self.hardware_interface._get_material_id_by_name(assign_material_name)
|
||||||
@@ -273,9 +273,9 @@ class BioyondReactionStation(BioyondWorkstation):
|
|||||||
Args:
|
Args:
|
||||||
volume_formula: 分液公式(μL)
|
volume_formula: 分液公式(μL)
|
||||||
assign_material_name: 物料名称
|
assign_material_name: 物料名称
|
||||||
titration_type: 是否滴定
|
titration_type: 是否滴定(1=否, 2=是)
|
||||||
time: 观察时间(分钟)
|
time: 观察时间(分钟)
|
||||||
torque_variation: 是否观察扭矩变化(int类型, 1=否, 2=是)
|
torque_variation: 是否观察(int类型, 1=否, 2=是)
|
||||||
temperature: 温度(°C)
|
temperature: 温度(°C)
|
||||||
"""
|
"""
|
||||||
self.append_to_workflow_sequence('{"web_workflow_name": "Liquid_feeding(titration)"}')
|
self.append_to_workflow_sequence('{"web_workflow_name": "Liquid_feeding(titration)"}')
|
||||||
@@ -328,9 +328,9 @@ class BioyondReactionStation(BioyondWorkstation):
|
|||||||
volume: 分液量(μL)
|
volume: 分液量(μL)
|
||||||
assign_material_name: 物料名称(试剂瓶位)
|
assign_material_name: 物料名称(试剂瓶位)
|
||||||
time: 观察时间(分钟)
|
time: 观察时间(分钟)
|
||||||
torque_variation: 是否观察扭矩变化(int类型, 1=否, 2=是)
|
torque_variation: 是否观察(int类型, 1=否, 2=是)
|
||||||
titration_type: 是否滴定
|
titration_type: 是否滴定(1=否, 2=是)
|
||||||
temperature: 温度上限(°C)
|
temperature: 温度设定(°C)
|
||||||
"""
|
"""
|
||||||
self.append_to_workflow_sequence('{"web_workflow_name": "liquid_feeding_beaker"}')
|
self.append_to_workflow_sequence('{"web_workflow_name": "liquid_feeding_beaker"}')
|
||||||
material_id = self.hardware_interface._get_material_id_by_name(assign_material_name)
|
material_id = self.hardware_interface._get_material_id_by_name(assign_material_name)
|
||||||
@@ -381,9 +381,9 @@ class BioyondReactionStation(BioyondWorkstation):
|
|||||||
Args:
|
Args:
|
||||||
assign_material_name: 物料名称(液体种类)
|
assign_material_name: 物料名称(液体种类)
|
||||||
volume: 分液量(μL)
|
volume: 分液量(μL)
|
||||||
titration_type: 是否滴定
|
titration_type: 是否滴定(1=否, 2=是)
|
||||||
time: 观察时间(分钟)
|
time: 观察时间(分钟)
|
||||||
torque_variation: 是否观察扭矩变化(int类型, 1=否, 2=是)
|
torque_variation: 是否观察(int类型, 1=否, 2=是)
|
||||||
temperature: 温度(°C)
|
temperature: 温度(°C)
|
||||||
"""
|
"""
|
||||||
self.append_to_workflow_sequence('{"web_workflow_name": "drip_back"}')
|
self.append_to_workflow_sequence('{"web_workflow_name": "drip_back"}')
|
||||||
|
|||||||
253
unilabos/registry/devices/bioyond_dispensing_station.yaml
Normal file
253
unilabos/registry/devices/bioyond_dispensing_station.yaml
Normal file
@@ -0,0 +1,253 @@
|
|||||||
|
bioyond_dispensing_station:
|
||||||
|
category:
|
||||||
|
- workstation
|
||||||
|
- bioyond
|
||||||
|
- bioyond_dispensing_station
|
||||||
|
class:
|
||||||
|
action_value_mappings:
|
||||||
|
create_90_10_vial_feeding_task:
|
||||||
|
feedback: {}
|
||||||
|
goal:
|
||||||
|
delay_time: delay_time
|
||||||
|
hold_m_name: hold_m_name
|
||||||
|
order_name: order_name
|
||||||
|
percent_10_1_assign_material_name: percent_10_1_assign_material_name
|
||||||
|
percent_10_1_liquid_material_name: percent_10_1_liquid_material_name
|
||||||
|
percent_10_1_target_weigh: percent_10_1_target_weigh
|
||||||
|
percent_10_1_volume: percent_10_1_volume
|
||||||
|
percent_10_2_assign_material_name: percent_10_2_assign_material_name
|
||||||
|
percent_10_2_liquid_material_name: percent_10_2_liquid_material_name
|
||||||
|
percent_10_2_target_weigh: percent_10_2_target_weigh
|
||||||
|
percent_10_2_volume: percent_10_2_volume
|
||||||
|
percent_10_3_assign_material_name: percent_10_3_assign_material_name
|
||||||
|
percent_10_3_liquid_material_name: percent_10_3_liquid_material_name
|
||||||
|
percent_10_3_target_weigh: percent_10_3_target_weigh
|
||||||
|
percent_10_3_volume: percent_10_3_volume
|
||||||
|
percent_90_1_assign_material_name: percent_90_1_assign_material_name
|
||||||
|
percent_90_1_target_weigh: percent_90_1_target_weigh
|
||||||
|
percent_90_2_assign_material_name: percent_90_2_assign_material_name
|
||||||
|
percent_90_2_target_weigh: percent_90_2_target_weigh
|
||||||
|
percent_90_3_assign_material_name: percent_90_3_assign_material_name
|
||||||
|
percent_90_3_target_weigh: percent_90_3_target_weigh
|
||||||
|
speed: speed
|
||||||
|
temperature: temperature
|
||||||
|
goal_default:
|
||||||
|
delay_time: ''
|
||||||
|
hold_m_name: ''
|
||||||
|
order_name: ''
|
||||||
|
percent_10_1_assign_material_name: ''
|
||||||
|
percent_10_1_liquid_material_name: ''
|
||||||
|
percent_10_1_target_weigh: ''
|
||||||
|
percent_10_1_volume: ''
|
||||||
|
percent_10_2_assign_material_name: ''
|
||||||
|
percent_10_2_liquid_material_name: ''
|
||||||
|
percent_10_2_target_weigh: ''
|
||||||
|
percent_10_2_volume: ''
|
||||||
|
percent_10_3_assign_material_name: ''
|
||||||
|
percent_10_3_liquid_material_name: ''
|
||||||
|
percent_10_3_target_weigh: ''
|
||||||
|
percent_10_3_volume: ''
|
||||||
|
percent_90_1_assign_material_name: ''
|
||||||
|
percent_90_1_target_weigh: ''
|
||||||
|
percent_90_2_assign_material_name: ''
|
||||||
|
percent_90_2_target_weigh: ''
|
||||||
|
percent_90_3_assign_material_name: ''
|
||||||
|
percent_90_3_target_weigh: ''
|
||||||
|
speed: ''
|
||||||
|
temperature: ''
|
||||||
|
handles: {}
|
||||||
|
result:
|
||||||
|
return_info: return_info
|
||||||
|
schema:
|
||||||
|
description: ''
|
||||||
|
properties:
|
||||||
|
feedback:
|
||||||
|
properties: {}
|
||||||
|
required: []
|
||||||
|
title: DispenStationVialFeed_Feedback
|
||||||
|
type: object
|
||||||
|
goal:
|
||||||
|
properties:
|
||||||
|
delay_time:
|
||||||
|
type: string
|
||||||
|
hold_m_name:
|
||||||
|
type: string
|
||||||
|
order_name:
|
||||||
|
type: string
|
||||||
|
percent_10_1_assign_material_name:
|
||||||
|
type: string
|
||||||
|
percent_10_1_liquid_material_name:
|
||||||
|
type: string
|
||||||
|
percent_10_1_target_weigh:
|
||||||
|
type: string
|
||||||
|
percent_10_1_volume:
|
||||||
|
type: string
|
||||||
|
percent_10_2_assign_material_name:
|
||||||
|
type: string
|
||||||
|
percent_10_2_liquid_material_name:
|
||||||
|
type: string
|
||||||
|
percent_10_2_target_weigh:
|
||||||
|
type: string
|
||||||
|
percent_10_2_volume:
|
||||||
|
type: string
|
||||||
|
percent_10_3_assign_material_name:
|
||||||
|
type: string
|
||||||
|
percent_10_3_liquid_material_name:
|
||||||
|
type: string
|
||||||
|
percent_10_3_target_weigh:
|
||||||
|
type: string
|
||||||
|
percent_10_3_volume:
|
||||||
|
type: string
|
||||||
|
percent_90_1_assign_material_name:
|
||||||
|
type: string
|
||||||
|
percent_90_1_target_weigh:
|
||||||
|
type: string
|
||||||
|
percent_90_2_assign_material_name:
|
||||||
|
type: string
|
||||||
|
percent_90_2_target_weigh:
|
||||||
|
type: string
|
||||||
|
percent_90_3_assign_material_name:
|
||||||
|
type: string
|
||||||
|
percent_90_3_target_weigh:
|
||||||
|
type: string
|
||||||
|
speed:
|
||||||
|
type: string
|
||||||
|
temperature:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- order_name
|
||||||
|
- percent_90_1_assign_material_name
|
||||||
|
- percent_90_1_target_weigh
|
||||||
|
- percent_90_2_assign_material_name
|
||||||
|
- percent_90_2_target_weigh
|
||||||
|
- percent_90_3_assign_material_name
|
||||||
|
- percent_90_3_target_weigh
|
||||||
|
- percent_10_1_assign_material_name
|
||||||
|
- percent_10_1_target_weigh
|
||||||
|
- percent_10_1_volume
|
||||||
|
- percent_10_1_liquid_material_name
|
||||||
|
- percent_10_2_assign_material_name
|
||||||
|
- percent_10_2_target_weigh
|
||||||
|
- percent_10_2_volume
|
||||||
|
- percent_10_2_liquid_material_name
|
||||||
|
- percent_10_3_assign_material_name
|
||||||
|
- percent_10_3_target_weigh
|
||||||
|
- percent_10_3_volume
|
||||||
|
- percent_10_3_liquid_material_name
|
||||||
|
- speed
|
||||||
|
- temperature
|
||||||
|
- delay_time
|
||||||
|
- hold_m_name
|
||||||
|
title: DispenStationVialFeed_Goal
|
||||||
|
type: object
|
||||||
|
result:
|
||||||
|
properties:
|
||||||
|
return_info:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- return_info
|
||||||
|
title: DispenStationVialFeed_Result
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- goal
|
||||||
|
title: DispenStationVialFeed
|
||||||
|
type: object
|
||||||
|
type: DispenStationVialFeed
|
||||||
|
create_diamine_solution_task:
|
||||||
|
feedback: {}
|
||||||
|
goal:
|
||||||
|
delay_time: delay_time
|
||||||
|
hold_m_name: hold_m_name
|
||||||
|
liquid_material_name: liquid_material_name
|
||||||
|
material_name: material_name
|
||||||
|
order_name: order_name
|
||||||
|
speed: speed
|
||||||
|
target_weigh: target_weigh
|
||||||
|
temperature: temperature
|
||||||
|
volume: volume
|
||||||
|
goal_default:
|
||||||
|
delay_time: ''
|
||||||
|
hold_m_name: ''
|
||||||
|
liquid_material_name: ''
|
||||||
|
material_name: ''
|
||||||
|
order_name: ''
|
||||||
|
speed: ''
|
||||||
|
target_weigh: ''
|
||||||
|
temperature: ''
|
||||||
|
volume: ''
|
||||||
|
handles: {}
|
||||||
|
result:
|
||||||
|
return_info: return_info
|
||||||
|
schema:
|
||||||
|
description: ''
|
||||||
|
properties:
|
||||||
|
feedback:
|
||||||
|
properties: {}
|
||||||
|
required: []
|
||||||
|
title: DispenStationSolnPrep_Feedback
|
||||||
|
type: object
|
||||||
|
goal:
|
||||||
|
properties:
|
||||||
|
delay_time:
|
||||||
|
type: string
|
||||||
|
hold_m_name:
|
||||||
|
type: string
|
||||||
|
liquid_material_name:
|
||||||
|
type: string
|
||||||
|
material_name:
|
||||||
|
type: string
|
||||||
|
order_name:
|
||||||
|
type: string
|
||||||
|
speed:
|
||||||
|
type: string
|
||||||
|
target_weigh:
|
||||||
|
type: string
|
||||||
|
temperature:
|
||||||
|
type: string
|
||||||
|
volume:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- order_name
|
||||||
|
- material_name
|
||||||
|
- target_weigh
|
||||||
|
- volume
|
||||||
|
- liquid_material_name
|
||||||
|
- speed
|
||||||
|
- temperature
|
||||||
|
- delay_time
|
||||||
|
- hold_m_name
|
||||||
|
title: DispenStationSolnPrep_Goal
|
||||||
|
type: object
|
||||||
|
result:
|
||||||
|
properties:
|
||||||
|
return_info:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- return_info
|
||||||
|
title: DispenStationSolnPrep_Result
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- goal
|
||||||
|
title: DispenStationSolnPrep
|
||||||
|
type: object
|
||||||
|
type: DispenStationSolnPrep
|
||||||
|
module: unilabos.devices.workstation.bioyond_studio.dispensing_station:BioyondDispensingStation
|
||||||
|
status_types: {}
|
||||||
|
type: python
|
||||||
|
config_info: []
|
||||||
|
description: ''
|
||||||
|
handles: []
|
||||||
|
icon: preparation_station.webp
|
||||||
|
init_param_schema:
|
||||||
|
config:
|
||||||
|
properties:
|
||||||
|
config:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- config
|
||||||
|
type: object
|
||||||
|
data:
|
||||||
|
properties: {}
|
||||||
|
required: []
|
||||||
|
type: object
|
||||||
|
version: 1.0.0
|
||||||
Reference in New Issue
Block a user