xrd_d7mate: category: - xrd_d7mate class: action_value_mappings: auto-close: feedback: {} goal: {} goal_default: {} handles: {} placeholder_keys: {} result: {} schema: description: 安全关闭与XRD D7-Mate设备的TCP连接,释放网络资源。 properties: feedback: {} goal: properties: {} required: [] type: object result: {} required: - goal title: close参数 type: object type: UniLabJsonCommand auto-connect: feedback: {} goal: {} goal_default: {} handles: {} placeholder_keys: {} result: {} schema: description: 与XRD D7-Mate设备建立TCP连接,配置超时参数。 properties: feedback: {} goal: properties: {} required: [] type: object result: {} required: - goal title: connect参数 type: object type: UniLabJsonCommand auto-start_from_string: feedback: {} goal: {} goal_default: params: null handles: {} placeholder_keys: {} result: {} schema: description: '' properties: feedback: {} goal: properties: params: anyOf: - type: string - type: object required: - params type: object result: type: object required: - goal title: start_from_string参数 type: object type: UniLabJsonCommand get_current_acquire_data: feedback: {} goal: {} goal_default: {} handles: {} result: {} schema: description: '' properties: feedback: additionalProperties: true title: EmptyIn_Feedback type: object goal: additionalProperties: true title: EmptyIn_Goal type: object result: additionalProperties: false properties: return_info: type: string title: EmptyIn_Result type: object required: - goal title: EmptyIn type: object type: EmptyIn get_sample_down: feedback: {} goal: int_input: int_input sample_station: sample_station goal_default: int_input: 0 handles: {} placeholder_keys: {} result: return_info: return_info success: success schema: description: '' properties: feedback: additionalProperties: true title: IntSingleInput_Feedback type: object goal: additionalProperties: false properties: int_input: maximum: 2147483647 minimum: -2147483648 type: integer title: IntSingleInput_Goal type: object result: additionalProperties: false properties: return_info: type: string success: type: boolean title: IntSingleInput_Result type: object required: - goal title: IntSingleInput type: object type: IntSingleInput get_sample_request: feedback: {} goal: {} goal_default: {} handles: {} result: {} schema: description: '' properties: feedback: additionalProperties: true title: EmptyIn_Feedback type: object goal: additionalProperties: true title: EmptyIn_Goal type: object result: additionalProperties: false properties: return_info: type: string title: EmptyIn_Result type: object required: - goal title: EmptyIn type: object type: EmptyIn get_sample_status: feedback: {} goal: {} goal_default: {} handles: {} result: {} schema: description: '' properties: feedback: additionalProperties: true title: EmptyIn_Feedback type: object goal: additionalProperties: true title: EmptyIn_Goal type: object result: additionalProperties: false properties: return_info: type: string title: EmptyIn_Result type: object required: - goal title: EmptyIn type: object type: EmptyIn send_sample_down_ready: feedback: {} goal: {} goal_default: {} handles: {} placeholder_keys: {} result: return_info: return_info schema: description: '' properties: feedback: additionalProperties: true title: EmptyIn_Feedback type: object goal: additionalProperties: true title: EmptyIn_Goal type: object result: additionalProperties: false properties: return_info: type: string title: EmptyIn_Result type: object required: - goal title: EmptyIn type: object type: EmptyIn send_sample_ready: feedback: {} goal: end_theta: 80.0 exp_time: 0.5 increment: 0.02 sample_id: '' start_theta: 10.0 goal_default: end_theta: null exp_time: null increment: null sample_id: null start_theta: null handles: {} placeholder_keys: {} result: {} schema: description: 送样完成后,发送样品信息和采集参数 properties: feedback: title: SampleReadyInput_Feedback goal: properties: end_theta: description: 结束角度(≥5.5°,且必须大于start_theta) type: number exp_time: description: 曝光时间(0.1-5.0秒) type: number increment: description: 角度增量(≥0.005) type: number sample_id: description: 样品标识符 type: string start_theta: description: 起始角度(≥5°) type: number required: - sample_id - start_theta - end_theta - increment - exp_time title: SampleReadyInput_Goal type: object result: title: SampleReadyInput_Result type: object required: - goal title: send_sample_ready参数 type: object type: UniLabJsonCommand set_power_off: feedback: {} goal: {} goal_default: {} handles: {} placeholder_keys: {} result: return_info: return_info schema: description: '' properties: feedback: additionalProperties: true title: EmptyIn_Feedback type: object goal: additionalProperties: true title: EmptyIn_Goal type: object result: additionalProperties: false properties: return_info: type: string title: EmptyIn_Result type: object required: - goal title: EmptyIn type: object type: EmptyIn set_power_on: feedback: {} goal: {} goal_default: {} handles: {} placeholder_keys: {} result: return_info: return_info schema: description: '' properties: feedback: additionalProperties: true title: EmptyIn_Feedback type: object goal: additionalProperties: true title: EmptyIn_Goal type: object result: additionalProperties: false properties: return_info: type: string title: EmptyIn_Result type: object required: - goal title: EmptyIn type: object type: EmptyIn set_voltage_current: feedback: {} goal: current: 30.0 voltage: 40.0 goal_default: current: null voltage: null handles: {} placeholder_keys: {} result: {} schema: description: 设置高压电源电压和电流 properties: feedback: title: VoltageCurrentInput_Feedback goal: properties: current: description: 电流值(mA) type: number voltage: description: 电压值(kV) type: number required: - voltage - current title: VoltageCurrentInput_Goal type: object result: title: VoltageCurrentInput_Result type: object required: - goal title: set_voltage_current参数 type: object type: UniLabJsonCommand start: feedback: {} goal: {} goal_default: end_theta: 80.0 exp_time: 0.1 increment: 0.05 sample_id: '' start_theta: 10.0 string: '' wait_minutes: 3.0 handles: {} placeholder_keys: {} result: {} schema: description: 启动自动模式→上样→等待→样品准备→监控→检测下样位→执行下样流程。 properties: feedback: {} goal: properties: end_theta: default: 80.0 description: 结束角度(≥5.5°,且必须大于start_theta) type: number exp_time: default: 0.1 description: 曝光时间(0.1-5.0秒) type: number increment: default: 0.05 description: 角度增量(≥0.005) type: number sample_id: default: '' description: 样品标识符 type: string start_theta: default: 10.0 description: 起始角度(≥5°) type: number string: default: '' description: 字符串格式的参数输入,如果提供则优先解析使用 type: string wait_minutes: default: 3.0 description: 允许上样后等待分钟数 type: number required: [] title: StartWorkflow_Goal type: object result: title: StartWorkflow_Result type: object required: - goal title: start参数 type: object type: UniLabJsonCommand start_auto_mode: feedback: {} goal: status: true goal_default: status: null handles: {} placeholder_keys: {} result: {} schema: description: 启动或停止自动模式 properties: feedback: title: BoolSingleInput_Feedback goal: properties: status: description: True-启动自动模式,False-停止自动模式 type: boolean required: - status title: BoolSingleInput_Goal type: object result: title: BoolSingleInput_Result type: object required: - goal title: start_auto_mode参数 type: object type: UniLabJsonCommand module: unilabos.devices.xrd_d7mate.xrd_d7mate:XRDClient status_types: current_acquire_data: dict sample_request: dict sample_status: dict type: python config_info: [] description: XRD D7-Mate X射线衍射分析设备,通过TCP通信实现远程控制与状态监控,支持自动模式控制、上样流程、数据获取、下样流程和高压电源控制等功能。 handles: [] icon: '' init_param_schema: config: properties: host: default: 127.0.0.1 type: string port: default: 6001 type: string timeout: default: 10.0 type: string required: [] type: object data: properties: current_acquire_data: type: object sample_request: type: object sample_status: type: object required: - current_acquire_data - sample_request - sample_status type: object version: 1.0.0