From bb916823a113f02a44857942a3aa5496928d820e Mon Sep 17 00:00:00 2001 From: root Date: Sun, 27 Jul 2025 14:32:24 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E5=89=8D=E7=AB=AFAPI?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E4=B8=AD=E7=9A=84=E8=BD=AF=E4=BB=B6=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修正creo软件的check_process_name为实际的多进程配置 - 添加stop_timeout配置字段说明 - 新增revit软件配置示例 - 完善配置字段详细说明,包含多进程检测支持 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- frontend-api-docs.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/frontend-api-docs.md b/frontend-api-docs.md index c65e4dd..eeefdaf 100644 --- a/frontend-api-docs.md +++ b/frontend-api-docs.md @@ -359,9 +359,25 @@ software: executable_path: "C:\\Program Files\\PTC\\Creo 5.0.0.0\\Parametric\\bin\\parametric.exe" startup_args: [] startup_timeout: 60 - check_process_name: "parametric.exe" + check_process_name: ["xtop.exe", "pro_comm_msg.exe"] # 支持多进程检测 + stop_timeout: 15 # 停止超时时间(秒) + + revit: + name: "Autodesk Revit 2017" + executable_path: "C:\\Program Files\\Autodesk\\Revit 2017\\Revit.exe" + startup_args: ["/language", "CHS"] + startup_timeout: 90 + check_process_name: "Revit.exe" # 单进程检测 ``` +**配置字段说明:** +- `name`: 软件显示名称 +- `executable_path`: 软件可执行文件完整路径 +- `startup_args`: 启动参数数组 +- `startup_timeout`: 启动超时时间(秒) +- `check_process_name`: 进程检测名称,支持字符串(单进程)或数组(多进程) +- `stop_timeout`: 停止操作超时时间(秒),可选 + ### 日志类型枚举 - **LogType**: `system_operation`, `user_operation` - **LogLevel**: `debug`, `info`, `warning`, `error`