From 6385065ba3bb78a6de9e80b6a80fa70b8988f7a7 Mon Sep 17 00:00:00 2001 From: KCFeng425 <2100011801@stu.pku.edu.cn> Date: Sat, 14 Jun 2025 15:58:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=AD=A3=E4=BA=86stir=E5=92=8Cheater?= =?UTF-8?q?=E7=9A=84=E8=BF=9E=E6=8E=A5=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- unilabos/registry/devices/virtual_device.yaml | 36 ++++++------------- 1 file changed, 10 insertions(+), 26 deletions(-) diff --git a/unilabos/registry/devices/virtual_device.yaml b/unilabos/registry/devices/virtual_device.yaml index da8f700..dd8de8b 100644 --- a/unilabos/registry/devices/virtual_device.yaml +++ b/unilabos/registry/devices/virtual_device.yaml @@ -100,24 +100,16 @@ virtual_stirrer: status: status result: success: success - # 虚拟搅拌器节点配置 - 只有一个连接点,用于连接需要搅拌的容器 + # 虚拟搅拌器节点配置 - 机械连接设备,单一双向连接点 handles: - input: + bidirectional: - handler_key: stirrer-vessel label: Vessel Connection - data_type: resource - io_type: target + data_type: mechanical + io_type: bidirectional data_source: handle data_key: vessel - description: "搅拌器连接的反应容器,提供机械搅拌功能" - output: - - handler_key: stirrer-vessel-out - label: Stirred Vessel - data_type: resource - io_type: source - data_source: executor - data_key: vessel - description: "经过搅拌处理的反应容器" + description: "搅拌器的机械连接口,直接与反应容器连接提供搅拌功能" schema: type: object properties: @@ -414,24 +406,16 @@ virtual_heatchill: status: status result: success: success - # 虚拟加热/冷却器节点配置 - 温控设备,单一连接点用于放置容器 + # 虚拟加热/冷却器节点配置 - 温控设备,单一双向连接点用于放置容器 handles: - input: + bidirectional: - handler_key: heatchill-vessel label: Vessel Connection - data_type: resource - io_type: target + data_type: mechanical + io_type: bidirectional data_source: handle data_key: vessel - description: "放置在加热/冷却台上的反应容器" - output: - - handler_key: heatchill-vessel-out - label: Temperature Controlled Vessel - data_type: resource - io_type: source - data_source: executor - data_key: vessel - description: "经过温度控制处理的反应容器" + description: "加热/冷却器的物理连接口,容器直接放置在设备上进行温度控制" schema: type: object properties: