示波器图片展示
This commit is contained in:
@@ -497,7 +497,18 @@
|
||||
Style="{StaticResource CmdBtn}"
|
||||
Background="#388E3C" Foreground="White"
|
||||
HorizontalAlignment="Left" Margin="0,4"
|
||||
ToolTip="抓取示波器当前屏幕保存为 PNG(SAVe:IMAGe),成功后自动加载显示" />
|
||||
ToolTip="抓取示波器当前屏幕保存为 PNG(SAVe:IMAGe),仅保存文件;查看波形图请点下方 LIST / SYNTHESIS" />
|
||||
|
||||
<!-- 波形截图:按当前载入配置文件的文件名(去 .json 后缀)查找同名 .png -->
|
||||
<StackPanel Orientation="Horizontal" Margin="0,4,0,0">
|
||||
<TextBlock Text="波形图" Style="{StaticResource ParamLabel}" />
|
||||
<Button Content="LIST" Command="{Binding ShowListWaveImageCommand}"
|
||||
Style="{StaticResource CmdBtn}"
|
||||
ToolTip="取当前载入的 LIST 测试项文件名(去 .json 后缀),在波形图片存储位置查找同名 .png 并显示;找不到不显示图片" />
|
||||
<Button Content="SYNTHESIS" Command="{Binding ShowSynthWaveImageCommand}"
|
||||
Style="{StaticResource CmdBtn}"
|
||||
ToolTip="取当前载入的 SYNTHESIS 波形文件名(去 .json 后缀),在波形图片存储位置查找同名 .png 并显示;找不到不显示图片" />
|
||||
</StackPanel>
|
||||
|
||||
<!-- 波形图片显示 -->
|
||||
<Border BorderBrush="#DDDDDD" BorderThickness="1"
|
||||
@@ -505,7 +516,7 @@
|
||||
<Grid Height="230">
|
||||
<Image Source="{Binding ScopeImage}" Stretch="Uniform" Margin="4"
|
||||
Visibility="{Binding HasScopeImage, Converter={StaticResource BoolToVis}}" />
|
||||
<TextBlock Text="暂无波形图片
抓取成功后自动显示"
|
||||
<TextBlock Text="暂无波形图片
点 LIST / SYNTHESIS 查看对应波形图"
|
||||
HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Foreground="#BDBDBD" FontSize="13" TextAlignment="Center">
|
||||
<TextBlock.Style>
|
||||
|
||||
Reference in New Issue
Block a user