Commit e7e805d9 authored by 潘栩锋's avatar 潘栩锋 🚴
parents 7b1d8f8b d875b65b
......@@ -23,6 +23,7 @@ namespace ThickTcpUiInWindow.UIModule
/// </summary>
public partial class ScanGraph : Page
{
TDGage gage;
ScanGraphItemParam graphparam;
public ScanGraph()
{
......@@ -45,7 +46,7 @@ namespace ThickTcpUiInWindow.UIModule
}
//获取设备
TDGage gage = Application.Current.Properties["Gage"] as TDGage;
gage = Application.Current.Properties["ThickGage"] as TDGage;
GraphScan graph = graphscan;
......
......@@ -24,6 +24,7 @@ namespace ThickTcpUiInWindow.UIModule
/// </summary>
public partial class TrendGraph : Page
{
TDGage gage;
TrendGraphItemParam graphparam;
public TrendGraph()
{
......@@ -44,7 +45,7 @@ namespace ThickTcpUiInWindow.UIModule
}
//获取设备
TDGage gage = Application.Current.Properties["Gage"] as TDGage;
gage = Application.Current.Properties["ThickGage"] as TDGage;
GraphRange graph = graphrange;
graph.DataContext = graphparam;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment