采集参数和通道角色添加说明
This commit is contained in:
parent
b10b321e7d
commit
310644500f
@ -10,7 +10,7 @@
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="34" />
|
||||
<RowDefinition Height="252" />
|
||||
<RowDefinition Height="320" />
|
||||
<RowDefinition Height="430" />
|
||||
<RowDefinition Height="90" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
@ -171,13 +171,15 @@
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="32" />
|
||||
<RowDefinition Height="40" />
|
||||
<RowDefinition Height="28" />
|
||||
<RowDefinition Height="24" />
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<TextBlock Grid.Row="0" Style="{StaticResource CardTitle}" Margin="0,0,0,6" Text="采集参数和通道角色" />
|
||||
|
||||
<Grid Grid.Row="1" Margin="0,0,0,3">
|
||||
<Grid Grid.Row="1" Margin="0,0,0,8" VerticalAlignment="Center">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="70" />
|
||||
<ColumnDefinition Width="90" />
|
||||
@ -206,10 +208,30 @@
|
||||
|
||||
<TextBlock Grid.Row="2" Text="{Binding DaqValidationMessage}" Foreground="{StaticResource TextSecondaryBrush}" VerticalAlignment="Center" />
|
||||
|
||||
<ItemsControl Grid.Row="3" ItemsSource="{Binding DaqChannelEditors}">
|
||||
<Grid Grid.Row="3" Margin="0,0,0,4">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="52" />
|
||||
<ColumnDefinition Width="64" />
|
||||
<ColumnDefinition Width="170" />
|
||||
<ColumnDefinition Width="170" />
|
||||
<ColumnDefinition Width="120" />
|
||||
<ColumnDefinition Width="120" />
|
||||
<ColumnDefinition Width="110" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Text="通道" Foreground="{StaticResource TextMutedBrush}" FontSize="{StaticResource FsSmall}" VerticalAlignment="Center" />
|
||||
<TextBlock Grid.Column="1" Text="启用" Foreground="{StaticResource TextMutedBrush}" FontSize="{StaticResource FsSmall}" VerticalAlignment="Center" />
|
||||
<TextBlock Grid.Column="2" Text="角色" Foreground="{StaticResource TextMutedBrush}" FontSize="{StaticResource FsSmall}" VerticalAlignment="Center" />
|
||||
<TextBlock Grid.Column="3" Margin="8,0,0,0" Text="名称" Foreground="{StaticResource TextMutedBrush}" FontSize="{StaticResource FsSmall}" VerticalAlignment="Center" />
|
||||
<TextBlock Grid.Column="4" Margin="8,0,0,0" Text="Scale" Foreground="{StaticResource TextMutedBrush}" FontSize="{StaticResource FsSmall}" VerticalAlignment="Center" />
|
||||
<TextBlock Grid.Column="5" Margin="8,0,0,0" Text="Offset" Foreground="{StaticResource TextMutedBrush}" FontSize="{StaticResource FsSmall}" VerticalAlignment="Center" />
|
||||
<TextBlock Grid.Column="6" Margin="10,0,0,0" Text="标定" Foreground="{StaticResource TextMutedBrush}" FontSize="{StaticResource FsSmall}" VerticalAlignment="Center" />
|
||||
</Grid>
|
||||
|
||||
<ItemsControl Grid.Row="4" ItemsSource="{Binding DaqChannelEditors}">
|
||||
<ItemsControl.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<Grid Height="30" Margin="0">
|
||||
<Grid Height="34" Margin="0,0,0,2">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="52" />
|
||||
<ColumnDefinition Width="64" />
|
||||
@ -232,6 +254,12 @@
|
||||
</DataTemplate>
|
||||
</ItemsControl.ItemTemplate>
|
||||
</ItemsControl>
|
||||
|
||||
<TextBlock Grid.Row="5"
|
||||
Margin="0,10,0,0"
|
||||
Foreground="{StaticResource TextSecondaryBrush}"
|
||||
TextWrapping="Wrap"
|
||||
Text="Scale 和 Offset 用于把采集卡输入电压换算为工程值:工程值 = 采集卡电压 × Scale + Offset。若前端有分压或传感器,请按实际比例填写 Scale,并用 Offset 修正零点偏移;曲线测试使用的 OutputVoltage 通道必须勾选已标定。" />
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user