CadHubManage/trail.txt.7
root e6261532f7 feat: 添加软件停止功能并修复Creo进程检测问题
## 主要修复
- 修复Creo软件运行状态检测失败问题
- 添加完整的软件停止功能支持
- 改进多进程软件的进程管理逻辑

## 技术改进
- 更新软件配置支持多进程名称检测
- 优化进程停止逻辑,增加超时配置
- 新增 stop_software WebSocket消息类型
- 完善错误处理和日志记录

## 配置更新
- configs/software_config.yaml: 支持进程名称列表和停止超时
- 添加Revit 2017配置支持

## 文档更新
- README.md: 更新软件配置说明和API列表
- frontend-api-docs.md: 添加停止软件API文档
- CHECKPOINT.md: 记录修复进展和解决方案

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-24 17:24:49 +08:00

67 lines
2.9 KiB
Groff

!trail file version No. 1900
!Creo TM 5.0 (c) 2025 by PTC Inc. All Rights Reserved.
!Exit Logger data:
! Process ID: 39512
! Application: Creo_Parametric
! Start date&time: 2025/07/21 16:27:17
! language: chinese_cn
! machine type: x86e_win64
! datecode: 5.0.0.0
! Server: NONE
! Workspace: NONE
! traceback file: D:\App\python\CadHubManage\traceback.log
!end Exit Logger data.
< 0 1.220741 1783 0 0 1030 1920 0 0 1080 13
!mem_use INCREASE Blocks 807210, AppSize 83548611, SysSize 97749784
< 0 0.943407 1623 0 0 796 1920 0 0 1080 13
< 0 0.943407 1428 0 0 796 1920 0 0 1080 13
< 0 0.941037 1428 0 0 794 1920 0 0 1080 13
< 0 0.941037 1444 0 0 794 1920 0 0 1080 13
< 0 0.941037 1460 0 0 794 1920 0 0 1080 13
< 0 0.941037 1476 0 0 794 1920 0 0 1080 13
!%CI欢迎使用 Creo Parametric 5.0.0.0。
!AFX datecode: 5.0.0.0 2017.12.21.11
!AFX exec path: C:\Program Files\PTC\Creo 5.0.0.0\Common Files\afx\x86e_win64\afx50.dll
!AFX text path: C:\Program Files\PTC\Creo 5.0.0.0\Common Files\afx\
< 0 1.089185 1476 0 0 919 1920 0 0 1080 13
< 0 0.941037 1476 0 0 794 1920 0 0 1080 13
< 0 0.936296 1476 0 0 790 1920 0 0 1080 13
~ Command `ProCmdUtilAux`
!mem_use INCREASE Blocks 832223, AppSize 108216071, SysSize 124627704
~ Activate `aux_apps` `RegisterBtn`
< 2 0.118519 178 0 0 100 1920 0 0 1080 13
~ Trail `UI Desktop` `UI Desktop` `DLG_PREVIEW_POST` \
`file_open`
~ Select `file_open` `Ph_list.Filelist` 1 `HELLO.DAT`
~ Activate `file_open` `Ph_list.Filelist` 1 `HELLO.DAT`
~ Select `aux_apps` `AppList` 1 `Hello World`
~ Activate `aux_apps` `StartBtn`
!Application (Hello World): running DLL-mode user_initialize
! Message Dialog: Info
! : New HTTP Server Starting on port 12345
~ Activate `UI Message Dialog` `ok`
!Application (Hello World): returned from DLL-mode user_initialize; status is 0
!Application (Hello World): started via UI.
! exec path: C:\Program Files\PTC\Creo 5.0.0.0\Common Files\otk\otk_cpp\otk_examples\miany\MFCCreoDll.dll
! type: synchronous Pro/TOOLKIT DLL
!%CI程序'Hello World'成功启动。
~ Activate `aux_apps` `CloseBtn`
~ Minimize `main_dlg_cur` `main_dlg_cur`
~ Restore `main_dlg_cur` `main_dlg_cur`
~ Close `main_dlg_cur` `main_dlg_cur`
!Command ProCmdOSExit was pushed from the software.
! Message Dialog: Warning
! : Creo Parametric 将终止,所有未保存的工作都将会丢失。
! : 是否确实要退出?
~ Activate `UI Message Dialog` `no`
~ Close `main_dlg_cur` `main_dlg_cur`
!Command ProCmdOSExit was pushed from the software.
! Message Dialog: Warning
! : Creo Parametric 将终止,所有未保存的工作都将会丢失。
! : 是否确实要退出?
~ FocusIn `UI Message Dialog` `yes`
~ Activate `UI Message Dialog` `yes`
!Application (Hello World): running DLL-mode user_terminate
!Application (Hello World): returned from DLL-mode user_terminate
!End of Trail File