Commit Graph

25 Commits

Author SHA1 Message Date
XplorePlane Developer 957157ae80 fix: 修复编译错误、BGA向导预览、算子重复插入及状态栏消息
## Compilation fixes
- Fix XAML namespace reference XplorePlane.Converters → XplorePlane.Helpers (EventLogView, StateDisplayView)
- Add missing using for ISampleTypeRepository / JsonSampleTypeRepository in App.xaml.cs
- Fix ILoggerService.Warn() calls using Exception as first arg instead of message string
- Serialize CncProgram to JSON when passing to MatrixLayout (expects string, not CncProgram object)
- Suppress CS8632 nullable annotation warnings project-wide

## BGA wizard fixes
- Fix preview not showing on step 3: force RefreshBgaPreview() when entering final step
- Add step validation in CanNext() to prevent skipping to preview with invalid inputs
- Notify NextCommand.CanExecuteChanged when inputs change
- Fix RunProgress runtime binding error: set Mode=OneWay for ProgressBar.Value

## Operator toolbox: prevent duplicate insertion
- Add static OperatorTarget property for direct dispatch to active pipeline
- PipelineEditorView registers as toolbox target on load (floating window only)
- CNC page sets initial target; PipelineEditorWindow resets to CNC pipeline on close
- '+' button inserts only to the active pipeline instead of broadcasting to all subscribers

## Pipeline editor status bar messages
- Add StatusBarMessageEvent / StatusBarMessagePayload to CommonEvents.cs
- PipelineEditorViewModel publishes status on all ops (add/remove/reorder/save/execute)
- MainViewModel subscribes and displays on main window bottom status bar
- Auto-clear after timeout (3s info, 5s error)

## docs
- Merge three architecture docs into consolidated XplorePlane-架构与结构说明.md
2026-07-24 15:59:16 +08:00
zhengxuan.zhang c4d27696ac Merge branch 'Develop/XP' into Feature/TURBO-002-Cnc 2026-07-22 09:01:58 +08:00
QI Mingxuan 3f7a4804f3 [XplorePlane] 解决合并冲突:InspectionReportViewerViewModel/CncReportService 的检测归档命名空间由 Services.InspectionResults 更新为重构后的 Services.Inspection.Archive / Services.Inspection.Results;修正查看器残留的 _store 为 _archive。 2026-07-21 09:15:26 +08:00
zhengxuan.zhang a6cdce45e3 feat: 完善导航联动运动调试工具栏 2026-07-17 16:48:07 +08:00
zhengxuan.zhang 57d4532945 简化结构 2026-07-16 17:39:25 +08:00
zhengxuan.zhang 348d2341e0 统一库级别的x64; 更新 Release 2026-07-16 17:27:34 +08:00
QI Mingxuan 7b7a63b2a1 [XP.ReportEngine] StandardReportTemplate 改造为统一模板,新增设备状态三栏;ITextPdfRenderer 增加图片压缩;TXT/CSV/Excel 三格式适配 CNC manifest。
[XplorePlane] CncReportContextBuilder 适配统一模板。
2026-07-10 11:34:52 +08:00
QI Mingxuan c7dcdaeab6 [XP.Hardware.Detector] 修复 Varex PGA 映射:ApplyParameters 中直接下发 PGA 档位原值(2-7),移除错误的 GainMode 枚举强转,新增 _pga 字段做变更检测与校正数据失效;删除 Varex ROI 等无效功能。 2026-07-09 11:50:19 +08:00
QI Mingxuan 0a64110138 Merge branch 'Develop/XP' into Feature/TURBO-739-HardwareBenchmarkYxlon 2026-07-06 15:12:00 +08:00
QI Mingxuan d7163600dd [XP.Hardware.MotionControl] 新增 MoveToSafePosition() 功能;配置类 LinearAxisConfig/RotaryAxisConfig 增加 SafePosition 属性。 2026-07-06 10:49:08 +08:00
QI Mingxuan 0b8713dd6b [XP.Hardware.MotionControl] 像素-载物台映射改为基于几何配置直接计算,废弃手动标定流程;新增探测器像素物理尺寸和方向系数配置项。 2026-07-01 15:42:31 +08:00
QI Mingxuan fe7237a708 更新PLC信号地址定义表,新增 MC_AllAxis_Stop 和 MC_Axis_Reset。 2026-06-30 10:32:11 +08:00
QI Mingxuan 8f219c8c5f [XP.Hardware.MotionControl] 新增放大比(M)实时显示和一键停止所有轴功能。 2026-06-30 10:23:38 +08:00
zhengxuan.zhang 7683596c17 编译策略: “入口程序、硬件与 Native 依赖项目固定 x64,纯托管类库保持 Any CPU”的平台策略 2026-06-05 21:33:56 +08:00
zhengxuan.zhang a216d48bd5 更新Release文件夹 2026-06-05 18:01:44 +08:00
zhengxuan.zhang b673eeb40a 统一各项目运行时目录结构
D:\XPData
├── DataBase\          # SQLite 数据库,例如 XP.db
├── DetectorImages\    # 探测器采集图像
├── Logs\              # Serilog 运行日志
├── Dump\              # 异常 Dump 文件
├── Report\            # 报告输出目录
├── Plan\              # 工艺 / CNC / 检测程序数据
├── Tools\             # 工具相关数据
└── Data\              # 其他运行数据
2026-06-05 14:03:30 +08:00
zhengxuan.zhang b3d78fe0b0 清理 ReleaseFiles/ 中未使用的 Telerik DLL 2026-06-05 13:48:35 +08:00
zhengxuan.zhang 27f2ef52c7 1、已删除重复目录 ReleaseFiles/win-x64/
2、所有项目的obj编译目录 加入git ignore忽略
2026-06-05 13:35:13 +08:00
QI Mingxuan 4943bc16b7 已合并 PR 90: 探测器直方图和优化合并至开发分支
1、重构探测器Hardware.Detector模块,统一设备调用接口,支持多探测器兼容,优化设备连接状态判断逻辑,新增校正帧数可配置功能。
2、优化Varex探测器校正流程,修复内存缓冲区对齐问题,增加指针、分辨率有效性校验,校正期间屏蔽帧回调、自动启停采集,规避SDK冲突与程序崩溃问题。
3、开发通用图像灰度直方图控件,优化资源释放逻辑。
2026-05-22 08:51:50 +08:00
QI Mingxuan 8905de6bab 更新ReleaseFiles。 2026-05-21 13:36:51 +08:00
QI Mingxuan 2d56f42d28 授权更新CLMS SDK(新版支持SMA),更新生成至anycpu。 2026-05-19 16:53:37 +08:00
QI Mingxuan 98d91efc19 更新RelesaeFiles,补全射线源Host. 2026-05-15 15:53:03 +08:00
QI Mingxuan 94f0649af8 XP.Common 类库中新增授权管理(License Management)功能模块,支持两种授权模式:CLMS 正式授权和临时测试模式。开发统一的授权服务接口,并在主项目中完成集成。 2026-05-15 15:50:35 +08:00
QI Mingxuan d6f554c413 更新ReleaseFiles。 2026-05-14 19:31:07 +08:00
zhengxuan.zhang e24bfef3e6 手动增加一个ReleaseFiles文件夹存放一个版本;调整子模块不单独引用Emgu,XP项目统一引用一次,避免生成重复 2026-04-27 14:10:52 +08:00