automapper框架优化
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
<TreeView Grid.Row="1"
|
||||
ItemsSource="{Binding InstructionTree}">
|
||||
<TreeView.Resources>
|
||||
<HierarchicalDataTemplate DataType="{x:Type model:InstructionNode}"
|
||||
<HierarchicalDataTemplate DataType="{x:Type model:InstructionNodeVM}"
|
||||
ItemsSource="{Binding Children}">
|
||||
<TextBlock Text="{Binding Name}" />
|
||||
</HierarchicalDataTemplate>
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
<TabItem Header="设备">
|
||||
<DataGrid Padding="10"
|
||||
Background="Transparent"
|
||||
ItemsSource="{Binding DeviceInfoModel}"
|
||||
ItemsSource="{Binding DeviceInfoVM}"
|
||||
AutoGenerateColumns="False"
|
||||
CanUserAddRows="False"
|
||||
IsReadOnly="True"
|
||||
|
||||
Reference in New Issue
Block a user