957157ae80
## 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
45 lines
1.8 KiB
XML
45 lines
1.8 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0-windows7.0</TargetFramework>
|
|
<UseWPF>true</UseWPF>
|
|
<Platforms>x64</Platforms>
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
|
<PackageReference Include="Prism.Wpf" Version="9.0.537" />
|
|
<PackageReference Include="System.Configuration.ConfigurationManager" Version="8.0.0" />
|
|
<PackageReference Include="Telerik.UI.for.Wpf.NetCore.Xaml" Version="2024.1.408" PrivateAssets="all" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\XP.Common\XP.Common.csproj" />
|
|
<ProjectReference Include="..\XP.Hardware.PLC\XP.Hardware.PLC.csproj" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Resource Include="Resources\*.png" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Resource Update="Resources\BackPointDisable.png">
|
|
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
|
</Resource>
|
|
<Resource Update="Resources\BackPointEnable.png">
|
|
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
|
</Resource>
|
|
<Resource Update="Resources\SavePoint.png">
|
|
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
|
</Resource>
|
|
<Resource Update="Resources\SwingDisable.png">
|
|
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
|
</Resource>
|
|
<Resource Update="Resources\SwingEnable.png">
|
|
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
|
</Resource>
|
|
<Resource Update="Resources\ToggleDisable.png">
|
|
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
|
</Resource>
|
|
<Resource Update="Resources\ToggleEnable.png">
|
|
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
|
</Resource>
|
|
</ItemGroup>
|
|
</Project>
|