回读图像功能优化
This commit is contained in:
@@ -4,12 +4,18 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:prism="http://prismlibrary.com/"
|
||||
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
|
||||
xmlns:oxy="http://oxyplot.org/wpf"
|
||||
xmlns:converters="clr-namespace:UIShare.Converters;assembly=UIShare"
|
||||
prism:ViewModelLocator.AutoWireViewModel="True"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="700"
|
||||
d:DesignWidth="1200">
|
||||
<i:Interaction.Triggers>
|
||||
<i:EventTrigger EventName="Loaded">
|
||||
<i:InvokeCommandAction Command="{Binding LoadCommand}"/>
|
||||
</i:EventTrigger>
|
||||
</i:Interaction.Triggers>
|
||||
<UserControl.Resources>
|
||||
<converters:LessThanConverter x:Key="LessThanConverter"/>
|
||||
</UserControl.Resources>
|
||||
@@ -46,6 +52,19 @@
|
||||
Command="{Binding ClearCommand}"
|
||||
Padding="12,4" Margin="6,0,0,0"
|
||||
ToolTip="清空已加载的曲线数据"/>
|
||||
<Button Content="∑ 数学统计"
|
||||
Command="{Binding StatisticsCommand}"
|
||||
Padding="12,4" Margin="6,0,0,0"
|
||||
ToolTip="对每条曲线计算最大值、最小值、平均值、斜率、积分"/>
|
||||
<Button Content=" 保存"
|
||||
Command="{Binding SaveCommand}"
|
||||
Padding="12,4" Margin="6,0,0,0"
|
||||
ToolTip="保存配置"/>
|
||||
<Button Content="{Binding CaptureButtonText}"
|
||||
Command="{Binding CaptureCommand}"
|
||||
Padding="12,4" Margin="6,0,0,0"
|
||||
ToolTip="添加双光标选择时间范围,导出选定范围的 CSV"/>
|
||||
<Button Click="Button_Click" Content="截图" Margin="6,0,0,0"/>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
|
||||
@@ -140,6 +159,7 @@
|
||||
BorderBrush="#DDD" BorderThickness="1"
|
||||
CornerRadius="4">
|
||||
<oxy:PlotView Model="{Binding Plot}"
|
||||
x:Name="Chart"
|
||||
Background="Transparent"/>
|
||||
</Border>
|
||||
</Grid>
|
||||
|
||||
Reference in New Issue
Block a user