mirror of
https://github.com/deepmodeling/Uni-Lab-OS
synced 2026-03-24 04:10:33 +00:00
fast registry load minor fix on skill & registry stripe ros2 schema desc add create-device-skill new registry system backwards to yaml remove not exist resource new registry sys exp. support with add device add ai conventions correct raise create resource error ret info fix revert ret info fix fix prcxi check add create_resource schema re signal host ready event add websocket connection timeout and improve reconnection logic add open_timeout parameter to websocket connection add TimeoutError and InvalidStatus exception handling implement exponential backoff for reconnection attempts simplify reconnection logic flow add gzip change pose extra to any add isFlapY
390 lines
10 KiB
YAML
390 lines
10 KiB
YAML
neware_battery_test_system:
|
||
category:
|
||
- neware_battery_test_system
|
||
- neware
|
||
- battery_test
|
||
class:
|
||
action_value_mappings:
|
||
auto-print_status_summary:
|
||
feedback: {}
|
||
goal: {}
|
||
goal_default: {}
|
||
handles: {}
|
||
placeholder_keys: {}
|
||
result: {}
|
||
schema:
|
||
description: ''
|
||
properties:
|
||
feedback: {}
|
||
goal:
|
||
properties: {}
|
||
required: []
|
||
type: object
|
||
result: {}
|
||
required:
|
||
- goal
|
||
title: print_status_summary参数
|
||
type: object
|
||
type: UniLabJsonCommand
|
||
auto-test_connection:
|
||
feedback: {}
|
||
goal: {}
|
||
goal_default: {}
|
||
handles: {}
|
||
placeholder_keys: {}
|
||
result: {}
|
||
schema:
|
||
description: ''
|
||
properties:
|
||
feedback: {}
|
||
goal:
|
||
properties: {}
|
||
required: []
|
||
type: object
|
||
result:
|
||
type: boolean
|
||
required:
|
||
- goal
|
||
title: test_connection参数
|
||
type: object
|
||
type: UniLabJsonCommand
|
||
debug_resource_names:
|
||
feedback: {}
|
||
goal: {}
|
||
goal_default: {}
|
||
handles: {}
|
||
placeholder_keys: {}
|
||
result: {}
|
||
schema:
|
||
description: 调试方法:显示所有资源的实际名称
|
||
properties:
|
||
feedback: {}
|
||
goal:
|
||
properties: {}
|
||
required: []
|
||
type: object
|
||
result:
|
||
type: object
|
||
required:
|
||
- goal
|
||
title: debug_resource_names参数
|
||
type: object
|
||
type: UniLabJsonCommand
|
||
export_status_json:
|
||
feedback: {}
|
||
goal:
|
||
filepath: filepath
|
||
goal_default:
|
||
filepath: bts_status.json
|
||
handles: {}
|
||
placeholder_keys: {}
|
||
result: {}
|
||
schema:
|
||
description: 导出当前状态数据到JSON文件
|
||
properties:
|
||
feedback: {}
|
||
goal:
|
||
properties:
|
||
filepath:
|
||
default: bts_status.json
|
||
description: 输出JSON文件路径
|
||
type: string
|
||
required: []
|
||
type: object
|
||
result:
|
||
type: object
|
||
required:
|
||
- goal
|
||
title: export_status_json参数
|
||
type: object
|
||
type: UniLabJsonCommand
|
||
get_device_summary:
|
||
feedback: {}
|
||
goal: {}
|
||
goal_default: {}
|
||
handles: {}
|
||
result:
|
||
return_info: return_info
|
||
success: success
|
||
schema:
|
||
description: 获取设备级别的摘要统计信息
|
||
properties:
|
||
feedback: {}
|
||
goal:
|
||
properties: {}
|
||
required: []
|
||
type: object
|
||
result:
|
||
properties:
|
||
return_info:
|
||
description: 设备摘要信息JSON格式
|
||
type: string
|
||
success:
|
||
description: 查询是否成功
|
||
type: boolean
|
||
required:
|
||
- return_info
|
||
- success
|
||
type: object
|
||
required:
|
||
- goal
|
||
type: object
|
||
type: UniLabJsonCommand
|
||
get_plate_status:
|
||
feedback: {}
|
||
goal:
|
||
plate_num: plate_num
|
||
goal_default:
|
||
plate_num: null
|
||
handles: {}
|
||
placeholder_keys: {}
|
||
result: {}
|
||
schema:
|
||
description: 获取指定盘或所有盘的状态信息
|
||
properties:
|
||
feedback: {}
|
||
goal:
|
||
properties:
|
||
plate_num:
|
||
description: 盘号 (1 或 2),如果为null则返回所有盘的状态
|
||
type: integer
|
||
required: []
|
||
type: object
|
||
result:
|
||
type: object
|
||
required:
|
||
- goal
|
||
title: get_plate_status参数
|
||
type: object
|
||
type: UniLabJsonCommand
|
||
print_status_summary_action:
|
||
feedback: {}
|
||
goal: {}
|
||
goal_default: {}
|
||
handles: {}
|
||
placeholder_keys: {}
|
||
result: {}
|
||
schema:
|
||
description: 打印通道状态摘要信息到控制台
|
||
properties:
|
||
feedback: {}
|
||
goal:
|
||
properties: {}
|
||
required: []
|
||
type: object
|
||
result:
|
||
type: object
|
||
required:
|
||
- goal
|
||
title: print_status_summary_action参数
|
||
type: object
|
||
type: UniLabJsonCommand
|
||
query_plate_action:
|
||
feedback: {}
|
||
goal:
|
||
plate_id: plate_id
|
||
string: string
|
||
goal_default:
|
||
string: ''
|
||
handles: {}
|
||
placeholder_keys: {}
|
||
result:
|
||
return_info: return_info
|
||
success: success
|
||
schema:
|
||
description: ''
|
||
properties:
|
||
feedback:
|
||
additionalProperties: true
|
||
title: StrSingleInput_Feedback
|
||
type: object
|
||
goal:
|
||
additionalProperties: false
|
||
properties:
|
||
string:
|
||
type: string
|
||
title: StrSingleInput_Goal
|
||
type: object
|
||
result:
|
||
additionalProperties: false
|
||
properties:
|
||
return_info:
|
||
type: string
|
||
success:
|
||
type: boolean
|
||
title: StrSingleInput_Result
|
||
type: object
|
||
required:
|
||
- goal
|
||
title: StrSingleInput
|
||
type: object
|
||
type: StrSingleInput
|
||
submit_from_csv:
|
||
feedback: {}
|
||
goal:
|
||
csv_path: string
|
||
output_dir: string
|
||
goal_default:
|
||
csv_path: null
|
||
output_dir: .
|
||
handles: {}
|
||
placeholder_keys: {}
|
||
result: {}
|
||
schema:
|
||
description: 从CSV文件批量提交Neware测试任务
|
||
properties:
|
||
feedback: {}
|
||
goal:
|
||
properties:
|
||
csv_path:
|
||
description: 输入CSV文件的绝对路径
|
||
type: string
|
||
output_dir:
|
||
default: .
|
||
description: 输出目录(用于存储XML和备份文件),默认当前目录
|
||
type: string
|
||
required:
|
||
- csv_path
|
||
type: object
|
||
result:
|
||
type: object
|
||
required:
|
||
- goal
|
||
title: submit_from_csv参数
|
||
type: object
|
||
type: UniLabJsonCommand
|
||
test_connection_action:
|
||
feedback: {}
|
||
goal: {}
|
||
goal_default: {}
|
||
handles: {}
|
||
placeholder_keys: {}
|
||
result: {}
|
||
schema:
|
||
description: 测试与电池测试系统的TCP连接
|
||
properties:
|
||
feedback: {}
|
||
goal:
|
||
properties: {}
|
||
required: []
|
||
type: object
|
||
result:
|
||
type: object
|
||
required:
|
||
- goal
|
||
title: test_connection_action参数
|
||
type: object
|
||
type: UniLabJsonCommand
|
||
upload_backup_to_oss:
|
||
feedback: {}
|
||
goal:
|
||
backup_dir: backup_dir
|
||
file_pattern: file_pattern
|
||
oss_prefix: oss_prefix
|
||
goal_default:
|
||
backup_dir: null
|
||
file_pattern: '*'
|
||
oss_prefix: null
|
||
handles:
|
||
output:
|
||
- data_key: uploaded_files
|
||
data_source: executor
|
||
data_type: array
|
||
handler_key: uploaded_files
|
||
io_type: sink
|
||
label: Uploaded Files (with standard flow info)
|
||
placeholder_keys: {}
|
||
result: {}
|
||
schema:
|
||
description: 上传备份文件到阿里云OSS
|
||
properties:
|
||
feedback: {}
|
||
goal:
|
||
properties:
|
||
backup_dir:
|
||
description: 备份目录路径(默认使用最近一次submit_from_csv的backup_dir)
|
||
type: string
|
||
file_pattern:
|
||
default: '*'
|
||
description: 文件通配符模式,例如 *.csv 或 Battery_*.nda
|
||
type: string
|
||
oss_prefix:
|
||
description: OSS对象路径前缀(默认使用self.oss_prefix)
|
||
type: string
|
||
required: []
|
||
type: object
|
||
result:
|
||
type: object
|
||
required:
|
||
- goal
|
||
title: upload_backup_to_oss参数
|
||
type: object
|
||
type: UniLabJsonCommand
|
||
module: unilabos.devices.neware_battery_test_system.neware_battery_test_system:NewareBatteryTestSystem
|
||
status_types:
|
||
channel_status: Dict[int, Dict]
|
||
connection_info: Dict[str, str]
|
||
device_summary: dict
|
||
status: str
|
||
total_channels: int
|
||
type: python
|
||
config_info: []
|
||
description: 新威电池测试系统驱动,提供720个通道的电池测试状态监控、物料管理和CSV批量提交功能。支持TCP通信实现远程控制,包含完整的物料管理系统(2盘电池状态映射),以及从CSV文件批量提交测试任务的能力。
|
||
handles: []
|
||
icon: ''
|
||
init_param_schema:
|
||
config:
|
||
properties:
|
||
devtype:
|
||
type: string
|
||
ip:
|
||
type: string
|
||
machine_id:
|
||
default: 1
|
||
type: integer
|
||
oss_prefix:
|
||
default: neware_backup
|
||
type: string
|
||
oss_upload_enabled:
|
||
default: false
|
||
type: boolean
|
||
port:
|
||
type: integer
|
||
size_x:
|
||
default: 50
|
||
type: number
|
||
size_y:
|
||
default: 50
|
||
type: number
|
||
size_z:
|
||
default: 20
|
||
type: number
|
||
timeout:
|
||
type: integer
|
||
required: []
|
||
type: object
|
||
data:
|
||
properties:
|
||
channel_status:
|
||
additionalProperties:
|
||
type: object
|
||
type: object
|
||
connection_info:
|
||
additionalProperties:
|
||
type: string
|
||
type: object
|
||
device_summary:
|
||
type: object
|
||
status:
|
||
type: string
|
||
total_channels:
|
||
type: integer
|
||
required:
|
||
- channel_status
|
||
- connection_info
|
||
- device_summary
|
||
- status
|
||
- total_channels
|
||
type: object
|
||
version: 1.0.0
|