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`