neware_battery_test_system:
  category:
  - neware_battery_test_system
  class:
    action_value_mappings:
      auto-post_init:
        feedback: {}
        goal: {}
        goal_default:
          ros_node: null
        handles: {}
        placeholder_keys: {}
        result: {}
        schema:
          description: ''
          properties:
            feedback: {}
            goal:
              properties:
                ros_node:
                  type: string
              required:
              - ros_node
              type: object
            result: {}
          required:
          - goal
          title: post_init参数
          type: object
        type: UniLabJsonCommand
      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: {}
          required:
          - goal
          title: test_connection参数
          type: object
        type: UniLabJsonCommand
      export_status_json:
        feedback: {}
        goal:
          filepath: filepath
        goal_default:
          filepath: bts_status.json
        handles: {}
        result:
          return_info: return_info
          success: success
        schema:
          description: 导出当前状态数据到JSON文件
          properties:
            feedback: {}
            goal:
              properties:
                filepath:
                  default: bts_status.json
                  description: 输出JSON文件路径
                  type: string
              required: []
              type: object
            result:
              properties:
                return_info:
                  description: 导出操作结果信息
                  type: string
                success:
                  description: 导出是否成功
                  type: boolean
              required:
              - return_info
              - success
              type: object
          required:
          - goal
          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: 1
        handles: {}
        result:
          return_info: return_info
          success: success
        schema:
          description: 获取指定盘(1或2)的电池状态信息
          properties:
            feedback: {}
            goal:
              properties:
                plate_num:
                  description: 盘号 (1 或 2)
                  maximum: 2
                  minimum: 1
                  type: integer
              required:
              - plate_num
              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
      print_status_summary_action:
        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: 打印操作结果信息
                  type: string
                success:
                  description: 打印是否成功
                  type: boolean
              required:
              - return_info
              - success
              type: object
          required:
          - goal
          type: object
        type: UniLabJsonCommand
      query_plate_action:
        feedback: {}
        goal:
          string: plate_id
        goal_default:
          string: ''
        handles: {}
        result: {}
        schema:
          description: ''
          properties:
            feedback:
              properties: {}
              required: []
              title: StrSingleInput_Feedback
              type: object
            goal:
              properties:
                string:
                  type: string
              required:
              - string
              title: StrSingleInput_Goal
              type: object
            result:
              properties:
                return_info:
                  type: string
                success:
                  type: boolean
              required:
              - return_info
              - success
              title: StrSingleInput_Result
              type: object
          required:
          - goal
          title: StrSingleInput
          type: object
        type: StrSingleInput
      test_connection_action:
        feedback: {}
        goal: {}
        goal_default: {}
        handles: {}
        result:
          return_info: return_info
          success: success
        schema:
          description: 测试与电池测试系统的TCP连接
          properties:
            feedback: {}
            goal:
              properties: {}
              required: []
              type: object
            result:
              properties:
                return_info:
                  description: 连接测试结果信息
                  type: string
                success:
                  description: 连接测试是否成功
                  type: boolean
              required:
              - return_info
              - success
              type: object
          required:
          - goal
          type: object
        type: UniLabJsonCommand
    module: unilabos.devices.battery.neware_battery_test_system:NewareBatteryTestSystem
    status_types:
      channel_status: dict
      connection_info: dict
      device_summary: dict
      plate_status: dict
      status: str
      total_channels: int
    type: python
  config_info: []
  description: 新威电池测试系统驱动，支持720个通道的电池测试状态监控和数据导出。通过TCP通信实现远程控制，包含完整的物料管理系统，支持2盘电池的状态映射和监控。
  handles: []
  icon: ''
  init_param_schema:
    config:
      properties:
        devtype:
          type: string
        ip:
          type: string
        machine_id:
          default: 1
          type: integer
        port:
          type: integer
        size_x:
          default: 500.0
          type: number
        size_y:
          default: 500.0
          type: number
        size_z:
          default: 2000.0
          type: number
        timeout:
          type: integer
      required: []
      type: object
    data:
      properties:
        channel_status:
          type: object
        connection_info:
          type: object
        device_summary:
          type: object
        plate_status:
          type: object
        status:
          type: string
        total_channels:
          type: integer
      required:
      - status
      - channel_status
      - connection_info
      - total_channels
      - plate_status
      - device_summary
      type: object
  version: 1.0.0
