Commit e7e805d9 authored by 潘栩锋's avatar 潘栩锋 🚴
parents 7b1d8f8b d875b65b
...@@ -23,6 +23,7 @@ namespace ThickTcpUiInWindow.UIModule ...@@ -23,6 +23,7 @@ namespace ThickTcpUiInWindow.UIModule
/// </summary> /// </summary>
public partial class ScanGraph : Page public partial class ScanGraph : Page
{ {
TDGage gage;
ScanGraphItemParam graphparam; ScanGraphItemParam graphparam;
public ScanGraph() public ScanGraph()
{ {
...@@ -45,7 +46,7 @@ namespace ThickTcpUiInWindow.UIModule ...@@ -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; GraphScan graph = graphscan;
......
...@@ -24,6 +24,7 @@ namespace ThickTcpUiInWindow.UIModule ...@@ -24,6 +24,7 @@ namespace ThickTcpUiInWindow.UIModule
/// </summary> /// </summary>
public partial class TrendGraph : Page public partial class TrendGraph : Page
{ {
TDGage gage;
TrendGraphItemParam graphparam; TrendGraphItemParam graphparam;
public TrendGraph() public TrendGraph()
{ {
...@@ -44,7 +45,7 @@ namespace ThickTcpUiInWindow.UIModule ...@@ -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; GraphRange graph = graphrange;
graph.DataContext = graphparam; 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