速度的拓展参数对应
This commit is contained in:
@@ -935,7 +935,7 @@
|
||||
Margin="3,0"
|
||||
FontSize="20"
|
||||
Foreground="White"
|
||||
Text="速度设置" />
|
||||
Text="转速设置" />
|
||||
</StackPanel>
|
||||
|
||||
</Border>
|
||||
@@ -965,7 +965,10 @@
|
||||
<i:InvokeCommandAction Command="{Binding SpeedConstSlopSelectChangedCmd}" CommandParameter="{Binding ElementName=SpeedTabControl, Path=SelectedIndex}" />
|
||||
</i:EventTrigger>
|
||||
</i:Interaction.Triggers>
|
||||
<TabItem IsEnabled="{Binding IsChecked, Converter={StaticResource BoolNgConverter}}">
|
||||
|
||||
<!-- 常值 -->
|
||||
<!-- IsEnabled="{Binding IsChecked, Converter={StaticResource BoolNgConverter}}" -->
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock
|
||||
@@ -1020,7 +1023,10 @@
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</TabItem>
|
||||
<TabItem IsEnabled="{Binding IsChecked}">
|
||||
|
||||
<!-- 斜率 -->
|
||||
<!-- IsEnabled="{Binding IsChecked}" -->
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock
|
||||
@@ -1244,6 +1250,118 @@
|
||||
</Grid>
|
||||
</TabItem>
|
||||
|
||||
<!-- 其他 -->
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock
|
||||
Margin="5,0,0,0"
|
||||
VerticalAlignment="Center"
|
||||
FontFamily="/Assets/Fonts/#iconfont"
|
||||
FontSize="20"
|
||||
Foreground="White"
|
||||
Text="" />
|
||||
<TextBlock
|
||||
Margin="2,0"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="20"
|
||||
Foreground="White"
|
||||
Text="其他" />
|
||||
</StackPanel>
|
||||
</TabItem.Header>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
||||
<TextBlock
|
||||
Margin="5"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="22"
|
||||
Text="默认参数设置" />
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel
|
||||
Grid.Row="1"
|
||||
HorizontalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
||||
<TextBlock
|
||||
Margin="5"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="14"
|
||||
Text="PIDNo:" />
|
||||
<TextBox
|
||||
Width="40"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="16"
|
||||
Text="{Binding MeterSpeedExDto.DefaultPIDNo}" />
|
||||
</StackPanel>
|
||||
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
||||
<TextBlock
|
||||
Margin="5"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="14"
|
||||
Text="限幅No:" />
|
||||
<TextBox
|
||||
Width="40"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="16"
|
||||
Text="{Binding MeterSpeedExDto.DefaultLimitNo}" />
|
||||
</StackPanel>
|
||||
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
||||
<TextBlock
|
||||
Margin="0,5"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="14"
|
||||
Text="报警限幅No:" />
|
||||
<TextBox
|
||||
Width="40"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="16"
|
||||
Text="{Binding MeterSpeedExDto.DefaultAlarmNo}" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel Grid.Row="2" VerticalAlignment="Center">
|
||||
<TextBlock
|
||||
Margin="5"
|
||||
HorizontalAlignment="Center"
|
||||
FontSize="14"
|
||||
Foreground="Gray"
|
||||
Text="默认数据将为常值配置使用"
|
||||
TextWrapping="WrapWithOverflow" />
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel
|
||||
Grid.Row="4"
|
||||
HorizontalAlignment="Center"
|
||||
Cursor=""
|
||||
Orientation="Horizontal">
|
||||
<Button
|
||||
Margin="10,0"
|
||||
Command="{Binding SpeedExdDefaultCmd}"
|
||||
CommandParameter="PID"
|
||||
Content="PID参数"
|
||||
Foreground="White" />
|
||||
<Button
|
||||
Margin="10,0"
|
||||
Command="{Binding SpeedExdDefaultCmd}"
|
||||
CommandParameter="Limit"
|
||||
Content="限幅参数"
|
||||
Foreground="White" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
|
||||
</TabItem>
|
||||
|
||||
</TabControl>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user