Commit Graph

3 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 9063b73938 完善联网更新功能:启动自动检查、设置页面配置、发布脚本
- 设置页面通用Tab新增"联网更新"配置卡片:更新服务器地址输入框、
  启动时检查更新开关,保存后持久化到 App.config
- App.xaml.cs 启动完成后延迟5秒静默检查更新,有新版本弹窗提示重启
- SettingsViewModel 新增 UpdateServerUrl/UpdateCheckOnStartup 属性
- 修复标定文件写入路径:calibrationDir 改为数据目录避免安装目录权限问题,
  TryAutoLoadCalibration 增加外层 try-catch 防止启动崩溃
- 新增 build-release.ps1 发布脚本:编译、vpk打包、部署到WampServer一键完成
2026-07-22 17:13:39 +08:00
zhengxuan.zhang 9c6dfb6259 补充必要配置文件 2026-07-07 10:32:26 +08:00