diff --git a/Correlator/Correlator.csproj b/Correlator/Correlator.csproj
index 75beba8..5be7580 100644
--- a/Correlator/Correlator.csproj
+++ b/Correlator/Correlator.csproj
@@ -1,6 +1,6 @@
-
+
Debug
AnyCPU
@@ -77,6 +77,9 @@
..\packages\MvvmLightLibs.5.4.1.1\lib\net45\GalaSoft.MvvmLight.Platform.dll
+
+ ..\packages\HandyControl.3.3.0\lib\net48\HandyControl.dll
+
..\packages\HandyControl.3.3.0\lib\net48\HandyControl.dll
@@ -117,66 +120,66 @@
..\packages\SQLitePCLRaw.provider.dynamic_cdecl.2.0.4\lib\netstandard2.0\SQLitePCLRaw.provider.dynamic_cdecl.dll
-
+
..\packages\System.Buffers.4.4.0\lib\netstandard2.0\System.Buffers.dll
-
-
-
-
-
+
+
+
+
+
..\packages\System.Memory.4.5.3\lib\netstandard2.0\System.Memory.dll
-
+
..\packages\System.Numerics.Vectors.4.4.0\lib\net46\System.Numerics.Vectors.dll
..\packages\System.Runtime.CompilerServices.Unsafe.4.5.2\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll
-
-
+
+
..\packages\MvvmLightLibs.5.4.1.1\lib\net45\System.Windows.Interactivity.dll
-
+
4.0
-
-
-
+
+
+
MSBuild:Compile
Designer
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
AudioFileUserControl.xaml
@@ -216,40 +219,40 @@
SoundSpeedUserControl.xaml
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
PipeRangeWindow.xaml
@@ -265,22 +268,22 @@
Designer
MSBuild:Compile
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Designer
MSBuild:Compile
-
-
-
-
+
+
+
+
MSBuild:Compile
Designer
@@ -296,7 +299,7 @@
MainWindow.xaml
Code
-
+
@@ -313,175 +316,175 @@
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
+
+
+
这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。
-
+
\ No newline at end of file
diff --git a/Correlator/Correlator.csproj b/Correlator/Correlator.csproj
index 75beba8..5be7580 100644
--- a/Correlator/Correlator.csproj
+++ b/Correlator/Correlator.csproj
@@ -1,6 +1,6 @@
-
+
Debug
AnyCPU
@@ -77,6 +77,9 @@
..\packages\MvvmLightLibs.5.4.1.1\lib\net45\GalaSoft.MvvmLight.Platform.dll
+
+ ..\packages\HandyControl.3.3.0\lib\net48\HandyControl.dll
+
..\packages\HandyControl.3.3.0\lib\net48\HandyControl.dll
@@ -117,66 +120,66 @@
..\packages\SQLitePCLRaw.provider.dynamic_cdecl.2.0.4\lib\netstandard2.0\SQLitePCLRaw.provider.dynamic_cdecl.dll
-
+
..\packages\System.Buffers.4.4.0\lib\netstandard2.0\System.Buffers.dll
-
-
-
-
-
+
+
+
+
+
..\packages\System.Memory.4.5.3\lib\netstandard2.0\System.Memory.dll
-
+
..\packages\System.Numerics.Vectors.4.4.0\lib\net46\System.Numerics.Vectors.dll
..\packages\System.Runtime.CompilerServices.Unsafe.4.5.2\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll
-
-
+
+
..\packages\MvvmLightLibs.5.4.1.1\lib\net45\System.Windows.Interactivity.dll
-
+
4.0
-
-
-
+
+
+
MSBuild:Compile
Designer
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
AudioFileUserControl.xaml
@@ -216,40 +219,40 @@
SoundSpeedUserControl.xaml
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
PipeRangeWindow.xaml
@@ -265,22 +268,22 @@
Designer
MSBuild:Compile
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Designer
MSBuild:Compile
-
-
-
-
+
+
+
+
MSBuild:Compile
Designer
@@ -296,7 +299,7 @@
MainWindow.xaml
Code
-
+
@@ -313,175 +316,175 @@
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
+
+
+
这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。
-
+
\ No newline at end of file
diff --git a/Correlator/UserControlPage/FilterUserControl.xaml b/Correlator/UserControlPage/FilterUserControl.xaml
index 987d6ad..c654bb0 100644
--- a/Correlator/UserControlPage/FilterUserControl.xaml
+++ b/Correlator/UserControlPage/FilterUserControl.xaml
@@ -4,8 +4,6 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:converter="clr-namespace:Correlator.Converter"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:gd="clr-namespace:LiveCharts.Geared;assembly=LiveCharts.Geared"
- xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
d:DesignHeight="768"
@@ -151,6 +149,7 @@
HorizontalAlignment="Right"
VerticalAlignment="Top"
Background="#224f86"
+ Command="{Binding StartCollectDataCommand}"
Content="开始采集"
FontSize="14"
Foreground="White"
@@ -207,10 +206,12 @@
-
@@ -257,21 +258,6 @@
Height="{Binding ElementName=gridContainer, Path=ActualHeight}"
Background="Transparent">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -380,10 +366,12 @@
-
@@ -417,7 +405,7 @@
Height="200"
ClipToBounds="True">
-
+
Debug
AnyCPU
@@ -77,6 +77,9 @@
..\packages\MvvmLightLibs.5.4.1.1\lib\net45\GalaSoft.MvvmLight.Platform.dll
+
+ ..\packages\HandyControl.3.3.0\lib\net48\HandyControl.dll
+
..\packages\HandyControl.3.3.0\lib\net48\HandyControl.dll
@@ -117,66 +120,66 @@
..\packages\SQLitePCLRaw.provider.dynamic_cdecl.2.0.4\lib\netstandard2.0\SQLitePCLRaw.provider.dynamic_cdecl.dll
-
+
..\packages\System.Buffers.4.4.0\lib\netstandard2.0\System.Buffers.dll
-
-
-
-
-
+
+
+
+
+
..\packages\System.Memory.4.5.3\lib\netstandard2.0\System.Memory.dll
-
+
..\packages\System.Numerics.Vectors.4.4.0\lib\net46\System.Numerics.Vectors.dll
..\packages\System.Runtime.CompilerServices.Unsafe.4.5.2\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll
-
-
+
+
..\packages\MvvmLightLibs.5.4.1.1\lib\net45\System.Windows.Interactivity.dll
-
+
4.0
-
-
-
+
+
+
MSBuild:Compile
Designer
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
AudioFileUserControl.xaml
@@ -216,40 +219,40 @@
SoundSpeedUserControl.xaml
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
PipeRangeWindow.xaml
@@ -265,22 +268,22 @@
Designer
MSBuild:Compile
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
Designer
MSBuild:Compile
-
-
-
-
+
+
+
+
MSBuild:Compile
Designer
@@ -296,7 +299,7 @@
MainWindow.xaml
Code
-
+
@@ -313,175 +316,175 @@
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
+
+
+
这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。
-
+
\ No newline at end of file
diff --git a/Correlator/UserControlPage/FilterUserControl.xaml b/Correlator/UserControlPage/FilterUserControl.xaml
index 987d6ad..c654bb0 100644
--- a/Correlator/UserControlPage/FilterUserControl.xaml
+++ b/Correlator/UserControlPage/FilterUserControl.xaml
@@ -4,8 +4,6 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:converter="clr-namespace:Correlator.Converter"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:gd="clr-namespace:LiveCharts.Geared;assembly=LiveCharts.Geared"
- xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
d:DesignHeight="768"
@@ -151,6 +149,7 @@
HorizontalAlignment="Right"
VerticalAlignment="Top"
Background="#224f86"
+ Command="{Binding StartCollectDataCommand}"
Content="开始采集"
FontSize="14"
Foreground="White"
@@ -207,10 +206,12 @@
-
@@ -257,21 +258,6 @@
Height="{Binding ElementName=gridContainer, Path=ActualHeight}"
Background="Transparent">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -380,10 +366,12 @@
-
@@ -417,7 +405,7 @@
Height="200"
ClipToBounds="True">
/// X轴起始频率
@@ -134,26 +135,23 @@
}
}
- public GearedValues ColumnValuesA { get; set; } = new GearedValues();
- public GearedValues ColumnValuesB { get; set; } = new GearedValues();
+ public IChartValues ColumnValuesA { get; set; } = new ChartValues();
+ public IChartValues ColumnValuesB { get; set; } = new ChartValues();
#endregion
public RelayCommand GoBackCommand { get; set; }
- public RelayCommand