Commit Graph

8 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
QI Mingxuan 9315bcdbef [XP.Hardware.Detector] DetectorWorkMode 枚举扩展为 9 个预设模式;新增 DetectorPreset 模型类、PresetLoader(JSON 配置文件加载器)。 2026-07-10 16:55:10 +08:00
QI Mingxuan ee0d900e6c [XP.Hardware.Detector] 修复原生 DLL 引用路径,改为从 ExternalLibraries 目录引用 xisl.dll 和 FpdSys.dll。 2026-06-30 17:40:13 +08:00
ZHANG Zhengxuan 91aa282aef 已合并 PR 137: 累计功能点更新
1、实时图像区背景改 棋盘格;右键增加 缩放比例的选择; √
 2、SavePosition 节点属性区域现在依次是:运动参数 → 射线源(电压/电流)→ 设定参数(保存图像/手动路径) √  值的获取与记录 √
 3、十字线绘制范围的调整,改为填充整个图像预览区域 √
 4、优化登录窗体 增加登录级别的选择 √
 5、软件版本页面 分析项目依赖,移除未使用的库 √
6、直方图节点统一,使用 算子工具箱
7、cnc增加一个复位按钮操作,当插入CNC时,可以进行复位  √
8、信息显示控件 √
9、实时模式下禁止 图像预览区的图像拖动,前期已经禁止缩放,目前禁止拖动 √
10、开关闭实时,鼠标在图像上滑动显示蓝色的十字线 √

![image.png](http://cntao-ap-v83/HMQ-Solution/7ff128fd-5cc6-4feb-9529-2a03b2895662/_apis/git/repositories/e2c5485f-4369-4ed9-9fb9-d087ca4e04b6/pullRequests/137/attachments/image.png)
2026-06-30 15:00:09 +08:00
QI Mingxuan 730848b324 探测器XP.Hardware.Detector 集成 iRay 平板探测器SDK
- 新增 iRay 专有配置属性:WorkDir、ConnectTimeoutMs、AcquisitionTimeoutMs、CorrectionTimeoutMs、ImageBufSizeBytes、DefaultAppModeSubset
- 使用官方 iDetector.SdkInterface:IRayFpdSys.cs、IRayCmdDef.cs、IRayAttrDef.cs、IRayEventDef.cs、IRayErrDef.cs、IRayVariant.cs 等
- 实现初始化、连续采集、单帧采集、四类校正(暗场/增益/坏像素/一键自动)、参数应用、资源释放
- 启用 DetectorType.IRay 工厂分支,实现 CreateIRayDetector 方法
- 添加 FpdSys.dll 的 CopyToOutputDirectory 引用
2026-06-12 15:25:15 +08:00
zhengxuan.zhang 7683596c17 编译策略: “入口程序、硬件与 Native 依赖项目固定 x64,纯托管类库保持 Any CPU”的平台策略 2026-06-05 21:33:56 +08:00
zhengxuan.zhang 80dc70a648 给被主程序引用的类库项目中的 Telerik NuGet 引用增加了 PrivateAssets="all" 属性,隔离输出目录中 Telerik DLL 数量从原先主输出目录的 67 个 降到 16 个 2026-06-05 14:15:24 +08:00
QI Mingxuan 2bd6e566c3 将Feature/XP.Common和Feature/XP.Hardware分支合并至Develop/XP.forHardwareAndCommon,完善XPapp注册和相关硬件类库通用类库功能。 2026-04-16 17:31:13 +08:00