mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-18 13:31:20 +00:00
change liquidhandler name
This commit is contained in:
@@ -72,7 +72,7 @@ liquid_handler:
|
||||
feedback: { }
|
||||
result: { }
|
||||
mix:
|
||||
type: DPLiquidHandlerMix
|
||||
type: LiquidHandlerMix
|
||||
goal:
|
||||
targets: targets
|
||||
mix_time: mix_time
|
||||
@@ -255,24 +255,6 @@ liquid_handler:
|
||||
- name
|
||||
additionalProperties: false
|
||||
|
||||
dp_liquid_handler:
|
||||
description: 通用液体处理
|
||||
class:
|
||||
module: unilabos.devices.liquid_handling.action_definition:DPLiquidHandler
|
||||
type: python
|
||||
status_types:
|
||||
status: String
|
||||
action_value_mappings:
|
||||
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
description: 物料名
|
||||
required:
|
||||
- name
|
||||
|
||||
liquid_handler.revvity:
|
||||
class:
|
||||
module: unilabos.devices.liquid_handling.revvity:Revvity
|
||||
|
||||
@@ -748,7 +748,7 @@ class ROS2DeviceNode:
|
||||
self.resource_tracker = DeviceNodeResourceTracker()
|
||||
|
||||
# use_pylabrobot_creator 使用 cls的包路径检测
|
||||
use_pylabrobot_creator = driver_class.__module__.startswith("pylabrobot") or driver_class.__name__ == "DPLiquidHandler"
|
||||
use_pylabrobot_creator = driver_class.__module__.startswith("pylabrobot") or driver_class.__name__ == "LiquidHandlerAbstract"
|
||||
|
||||
# TODO: 要在创建之前预先请求服务器是否有当前id的物料,放到resource_tracker中,让pylabrobot进行创建
|
||||
# 创建设备类实例
|
||||
|
||||
Reference in New Issue
Block a user