Commit Graph

21 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 5e88a39cd8 fix(PLC): 修复 HslCommunication.dll 引用路径,改为从 ExternalLibraries 获取
- 将 HslCommunication.dll 添加到 ExternalLibraries 统一管理
- 更新 XP.Hardware.PLC.csproj 的 HintPath 指向 ExternalLibraries
- 移除从 bin\Debug 手动复制 dll 的冗余配置
2026-07-10 16:23:48 +08:00
zhengxuan.zhang 552f20502f Merge branch 'Develop/XP' into Feature/TURBO-002-Cnc 2026-07-07 09:37:48 +08:00
QI Mingxuan 0a64110138 Merge branch 'Develop/XP' into Feature/TURBO-739-HardwareBenchmarkYxlon 2026-07-06 15:12:00 +08:00
zhengxuan.zhang 94576fd1a7 标记图与算子工具箱的优化 2026-07-03 10:51:54 +08:00
QI Mingxuan ee0d900e6c [XP.Hardware.Detector] 修复原生 DLL 引用路径,改为从 ExternalLibraries 目录引用 xisl.dll 和 FpdSys.dll。 2026-06-30 17:40:13 +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
李伟 680f61e711 feat(算子层): BGA/Void/QFN/模板匹配统一改为 ImageProcessorBase<ushort>
- BgaVoidRateProcessor: 改为 ushort 输入,16位双阈值分割后转8位二值图给FindContours
- VoidMeasurementProcessor: 同上,删除旧的 VoidMeasurementProcessor16 包装类
- QfnLeadPadVoidProcessor: 同上
- RotatedTemplateMatchingProcessor: 改为 ushort 输入,内部 ToByteImage 降位后传给C++库
- QfnAutoDetectionProcessor: 内部调用处增加 8→16 升位适配
- 所有阈值参数范围统一为 0-65535
2026-06-17 16:02:13 +08:00
zhengxuan.zhang 70c392e0ac 移除未使用的telerik 2026-06-05 14:33:15 +08:00
李伟 31825a43b9 合并 TURBO-615-RecognitionAndPositioning 到 ResolveConflicts,保留双方冲突内容 2026-05-20 15:32:43 +08:00
QI Mingxuan 2e4b2d714b 修改主程序解决方案生成到AnyCPU,增加外部库文件夹中dll和相关文件。 2026-05-20 15:22:09 +08:00
李伟 843c4d67a6 feat: 集成海康威视相机接口
- 新增 HikvisionCameraController 实现 ICameraController
- CameraFactory 支持 Basler/Hikvision 动态切换(config.json 配置)
- PixelConverter 支持 Bayer RG/GR/GB/BG 8-bit 解码
- 修复采集链断裂问题(finally 中触发下一帧)
- 相机设置面板:宽高和像素格式改为只读显示
- NavigationPropertyPanelViewModel 日志和状态文本改为英文
- 添加 MvCameraControl.Net.dll 到 ExternalLibraries
2026-05-18 13:11:26 +08:00
李伟 aedbef5ecc 删除简单的opencv模板匹配算子,改为使用更高级一点的可旋转匹配算子(C++) 2026-05-13 14:04:10 +08:00
李伟 78c21c21f0 TURBO-565-浮雕为3D算子 2026-04-20 09:58:35 +08:00
SONG Tian 6314cc74bd Added .gitkeep 2026-04-15 02:32:27 +00:00
SONG Tian 617e44fd0e Deleted model.txt 2026-04-15 02:29:02 +00:00
SONG Tian c4f86e029c Added Models/model.txt 2026-04-15 02:28:52 +00:00
zhengxuan.zhang b8bcefc84b #0053 修复合并图像工程的引用basler.pylon问题 2026-04-14 16:12:44 +08:00
李伟 096d97c3e0 Telerik DLL路径改为相对,DLL放到依赖库 2026-04-14 09:00:52 +08:00
李伟 c7ce4ea6a1 合并图像处理库,删除图像lib库 2026-04-13 13:41:40 +08:00