docs: 更新前端API文档中的软件配置说明
- 修正creo软件的check_process_name为实际的多进程配置 - 添加stop_timeout配置字段说明 - 新增revit软件配置示例 - 完善配置字段详细说明,包含多进程检测支持 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
e6261532f7
commit
bb916823a1
@ -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`
|
||||
|
||||
Loading…
Reference in New Issue
Block a user