Files
Uni-Lab-OS/test/experiments/mock_reactor.json
Junhan Chang 0bfb52df00 Squash merge from dev
Update recipe.yaml

fix: figure_resource

use call_async in all service to avoid deadlock

fix: prcxi import error

临时兼容错误的driver写法

fix protocol node

fix filter protocol

bugfixes on organic protocols

fix and remove redundant info

feat: 新增use_remote_resource参数

fix all protocol_compilers and remove deprecated devices

feat: 优化protocol node节点运行日志

fix pumps and liquid_handler handle

feat: workstation example

add: prcxi res
fix: startup slow

fix: prcxi_res

fix: discard_tips

fix: discard_tips error

fix: drop_tips not using auto resource select

feat: 添加ChinWe设备控制类,支持串口通信和电机控制功能 (#79)

feat: add trace log level

modify default discovery_interval to 15s

fix: working dir error when input config path
feat: report publish topic when error

fix: workstation handlers and vessel_id parsing

Cleanup registry to be easy-understanding (#76)

* delete deprecated mock devices

* rename categories

* combine chromatographic devices

* rename rviz simulation nodes

* organic virtual devices

* parse vessel_id

* run registry completion before merge

---------

Co-authored-by: Xuwznln <18435084+Xuwznln@users.noreply.github.com>
2025-09-10 21:41:50 +08:00

161 lines
3.8 KiB
JSON

{
"nodes": [
{
"id": "ReactorX",
"name": "模拟常量合成工作站",
"children": [
"reactor",
"vacuum_valve",
"gas_valve",
"vacuum_pump",
"gas_source"
],
"parent": null,
"type": "device",
"class": "workstation",
"position": {
"x": 0,
"y": 0,
"z": 0
},
"config": {
"protocol_type": ["EvacuateAndRefillProtocol"]
},
"data": {
}
},
{
"id": "reactor",
"name": "reactor",
"children": [],
"parent": "ReactorX",
"type": "container",
"class": "container",
"position": {
"x": 698.1111111111111,
"y": 428,
"z": 0
},
"config": {
"max_volume": 5000.0,
"size_x": 200.0,
"size_y": 200.0,
"size_z": 200.0
},
"data": {
"liquid": [
]
}
},
{
"id": "vacuum_valve",
"name": "vacuum_valve",
"children": [
],
"parent": "ReactorX",
"type": "device",
"class": "solenoid_valve.mock",
"position": {
"x": 620.6111111111111,
"y": 171,
"z": 0
},
"config": {
},
"data": {
}
},
{
"id": "gas_valve",
"name": "gas_valve",
"children": [
],
"parent": "ReactorX",
"type": "device",
"class": "solenoid_valve.mock",
"position": {
"x": 780,
"y": 171,
"z": 0
},
"config": {
},
"data": {
}
},
{
"id": "vacuum_pump",
"name": "vacuum_pump",
"children": [
],
"parent": "ReactorX",
"type": "device",
"class": "vacuum_pump.mock",
"position": {
"x": 500,
"y": 171,
"z": 0
},
"config": {
},
"data": {
}
},
{
"id": "gas_source",
"name": "gas_source",
"children": [
],
"parent": "ReactorX",
"type": "device",
"class": "gas_source.mock",
"position": {
"x": 900,
"y": 171,
"z": 0
},
"config": {
},
"data": {
}
}
],
"links": [
{
"source": "vacuum_valve",
"target": "reactor",
"type": "fluid",
"port": {
"reactor": "top",
"vacuum_valve": "out"
}
},
{
"source": "gas_valve",
"target": "reactor",
"type": "fluid",
"port": {
"reactor": "top",
"gas_valve": "out"
}
},
{
"source": "vacuum_pump",
"target": "vacuum_valve",
"type": "fluid",
"port": {
"vacuum_pump": "out",
"vacuum_valve": "in"
}
},
{
"source": "gas_source",
"target": "gas_valve",
"type": "fluid",
"port": {
"gas_source": "out",
"gas_valve": "in"
}
}
]
}