将pollLevel属性名改为pollingInterval
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
<Grid>
|
||||
<ComboBox
|
||||
Margin="20"
|
||||
ItemsSource="{Binding PollLevelTypes}"
|
||||
SelectedItem="{Binding SelectedPollLevelType}">
|
||||
ItemsSource="{Binding PollingIntervals}"
|
||||
SelectedItem="{Binding SelectedPollingInterval}">
|
||||
<ComboBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding}" />
|
||||
|
||||
@@ -148,8 +148,8 @@
|
||||
Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
Margin="0,15,0,0"
|
||||
hc:InfoElement.Title="轮询级别:"
|
||||
Text="{Binding PollLevel}"
|
||||
hc:InfoElement.Title="轮询间隔(毫秒):"
|
||||
Text="{Binding PollingInterval}"
|
||||
>
|
||||
|
||||
</hc:TextBox>
|
||||
|
||||
@@ -179,9 +179,9 @@
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<MenuItem
|
||||
Command="{Binding ChangePollLevelCommand}"
|
||||
Command="{Binding ChangePollingIntervalCommand}"
|
||||
CommandParameter="{Binding PlacementTarget.SelectedItems, RelativeSource={RelativeSource AncestorType=ContextMenu}}"
|
||||
Header="修改轮询频率">
|
||||
Header="修改轮询间隔">
|
||||
<MenuItem.Icon>
|
||||
<ui:FontIcon Icon="{x:Static ui:SegoeFluentIcons.Edit}" />
|
||||
</MenuItem.Icon>
|
||||
@@ -268,10 +268,10 @@
|
||||
</DataTemplate>
|
||||
</DataGridTemplateColumn.CellEditingTemplate>
|
||||
</DataGridTemplateColumn>
|
||||
<DataGridTemplateColumn Header="轮询频率" SortMemberPath="PollLevel">
|
||||
<DataGridTemplateColumn Header="轮询间隔(毫秒)" SortMemberPath="PollingInterval">
|
||||
<DataGridTemplateColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding PollLevel}" />
|
||||
<TextBlock Text="{Binding PollingInterval}" />
|
||||
</DataTemplate>
|
||||
</DataGridTemplateColumn.CellTemplate>
|
||||
</DataGridTemplateColumn>
|
||||
|
||||
Reference in New Issue
Block a user