项目要求更改
This commit is contained in:
@@ -125,6 +125,10 @@
|
||||
Binding="{Binding CapNo}"
|
||||
Header="压缩机编号"
|
||||
IsReadOnly="{Binding Source={StaticResource Proxy}, Path=Data.IsComplete}" />
|
||||
<DataGridTextColumn
|
||||
Binding="{Binding CapDisplacement}"
|
||||
Header="压缩机排量"
|
||||
IsReadOnly="{Binding Source={StaticResource Proxy}, Path=Data.IsComplete}" />
|
||||
<DataGridTextColumn
|
||||
Binding="{Binding RfNo}"
|
||||
Header="制冷剂"
|
||||
|
||||
@@ -109,10 +109,21 @@
|
||||
Binding="{Binding Password}"
|
||||
Header="密码"
|
||||
IsReadOnly="{Binding Source={StaticResource Proxy}, Path=Data.IsComplete}" />
|
||||
<DataGridTextColumn
|
||||
Binding="{Binding Level}"
|
||||
Header="等级"
|
||||
IsReadOnly="{Binding Source={StaticResource Proxy}, Path=Data.IsComplete}" />
|
||||
<DataGridTemplateColumn Header="等级" IsReadOnly="{Binding Source={StaticResource Proxy}, Path=Data.IsComplete}">
|
||||
<DataGridTemplateColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock VerticalAlignment="Center" Text="{Binding Level}" />
|
||||
</DataTemplate>
|
||||
</DataGridTemplateColumn.CellTemplate>
|
||||
<DataGridTemplateColumn.CellEditingTemplate>
|
||||
<DataTemplate>
|
||||
<ComboBox
|
||||
MinWidth="100"
|
||||
ItemsSource="{Binding Source={StaticResource Proxy}, Path=Data.UserLevelOptions}"
|
||||
SelectedItem="{Binding Level, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
|
||||
</DataTemplate>
|
||||
</DataGridTemplateColumn.CellEditingTemplate>
|
||||
</DataGridTemplateColumn>
|
||||
<DataGridCheckBoxColumn
|
||||
Binding="{Binding IsEnable}"
|
||||
Header="是否启用"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<RowDefinition Height="150" />
|
||||
<RowDefinition />
|
||||
</Grid.RowDefinitions>
|
||||
<Border Margin="0,5" Background="SkyBlue">
|
||||
<Border Margin="0,5" Background="LightSkyBlue">
|
||||
<TextBlock
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
|
||||
Reference in New Issue
Block a user