mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2026-02-12 18:55:11 +00:00
* add biomek.py demo implementation * 更新LiquidHandlerBiomek类,添加资源创建功能,优化协议创建方法,修复部分代码格式问题,更新YAML配置以支持新功能。 * Test * fix biomek success type * Convert LH action to biomek. * Update biomek.py * 注册表上报handle和schema (param input) * 修复biomek缺少的字段 * delete 's' * Remove warnings * Update biomek.py * Biomek test * Update biomek.py * 新增transfer_biomek的msg * New transfer_biomek * Updated transfer_biomek * 更新transfer_biomek的msg * 更新transfer_biomek的msg * 支持Biomek创建 * new action * fix key name typo * New parameter for biomek to run. * Refine * Update * new actions * new actions * 1 * registry * fix biomek startup add action handles * fix handles not as default entry * biomek_test.py biomek_test.py是最新的版本,运行它会生成complete_biomek_protocol.json * Update biomek.py * biomek_test.py * fix liquid_handler.biomek handles * host node新增resource add时间统计 create_resource新增handle bump version to 0.9.2 * 修正物料上传时间 改用biomek_test 增加ResultInfoEncoder 支持返回结果上传 * 正确发送return_info结果 * 同步执行状态信息 * 取消raiseValueError提示 * Update biomek_test.py * 0608 DONE * 同步了Biomek.py 现在应可用 * biomek switch back to non-test * temp disable initialize resource * Refine biomek * Refine copy issue * Refine --------- Co-authored-by: Junhan Chang <changjh@pku.edu.cn> Co-authored-by: Guangxin Zhang <guangxin.zhang.bio@gmail.com> Co-authored-by: qxw138 <qxw@stu.pku.edu.cn>
98 lines
2.0 KiB
YAML
98 lines
2.0 KiB
YAML
vacuum_pump.mock:
|
|
description: Mock vacuum pump
|
|
class:
|
|
module: unilabos.devices.pump_and_valve.vacuum_pump_mock:VacuumPumpMock
|
|
type: python
|
|
status_types:
|
|
status: String
|
|
action_value_mappings:
|
|
open:
|
|
type: EmptyIn
|
|
goal: {}
|
|
feedback: {}
|
|
result: {}
|
|
close:
|
|
type: EmptyIn
|
|
goal: {}
|
|
feedback: {}
|
|
result: {}
|
|
set_status:
|
|
type: StrSingleInput
|
|
goal:
|
|
string: string
|
|
feedback: {}
|
|
result: {}
|
|
handles:
|
|
input:
|
|
- handler_key: fluid-input
|
|
label: Fluid Input
|
|
data_type: fluid
|
|
io_type: target
|
|
data_source: handle
|
|
data_key: fluid_in
|
|
output:
|
|
- handler_key: fluid-output
|
|
label: Fluid Output
|
|
data_type: fluid
|
|
io_type: source
|
|
data_source: executor
|
|
data_key: fluid_out
|
|
init_param_schema:
|
|
type: object
|
|
properties:
|
|
port:
|
|
type: string
|
|
description: "通信端口"
|
|
default: "COM6"
|
|
required:
|
|
- port
|
|
|
|
gas_source.mock:
|
|
description: Mock gas source
|
|
class:
|
|
module: unilabos.devices.pump_and_valve.vacuum_pump_mock:VacuumPumpMock
|
|
type: python
|
|
status_types:
|
|
status: String
|
|
action_value_mappings:
|
|
open:
|
|
type: EmptyIn
|
|
goal: {}
|
|
feedback: {}
|
|
result: {}
|
|
close:
|
|
type: EmptyIn
|
|
goal: {}
|
|
feedback: {}
|
|
result: {}
|
|
set_status:
|
|
type: StrSingleInput
|
|
goal:
|
|
string: string
|
|
feedback: {}
|
|
result: {}
|
|
handles:
|
|
input:
|
|
- handler_key: fluid-input
|
|
label: Fluid Input
|
|
data_type: fluid
|
|
io_type: target
|
|
data_source: handle
|
|
data_key: fluid_in
|
|
output:
|
|
- handler_key: fluid-output
|
|
label: Fluid Output
|
|
data_type: fluid
|
|
io_type: source
|
|
data_source: executor
|
|
data_key: fluid_out
|
|
init_param_schema:
|
|
type: object
|
|
properties:
|
|
port:
|
|
type: string
|
|
description: "通信端口"
|
|
default: "COM6"
|
|
required:
|
|
- port
|