初步重构WPF项目中的DataService和App项目中的DataCenterServicce

This commit is contained in:
2025-09-09 13:35:16 +08:00
parent 84720f1ac4
commit 94ef1dec84
44 changed files with 1618 additions and 307 deletions

View File

@@ -169,7 +169,7 @@
Margin="20"
IsItemClickEnabled="True"
ItemTemplate="{StaticResource DeviceItemTemplate}"
ItemsSource="{Binding DataServices.Devices}"
ItemsSource="{Binding Devices}"
SelectedItem="{Binding SelectedDevice}"
SelectionMode="Single">
<hc:Interaction.Triggers>

View File

@@ -63,7 +63,7 @@
IsSettingsVisible="False"
IsTabStop="False"
MenuItemTemplate="{StaticResource NavigationViewMenuItem}"
MenuItemsSource="{Binding DataServices.MenuTrees}"
MenuItemsSource="{Binding MenuTrees}"
PaneDisplayMode="Left"
PaneTitle="设备管理系统"
SelectionChanged="NavigationView_SelectionChanged"