Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
Thick-Common
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
潘栩锋
Thick-Common
Commits
d875b65b
Commit
d875b65b
authored
Sep 26, 2019
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 Application.Current.Properties 的名称
parent
ed3cf0e5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
ScanGraph.xaml.cs
...Y.Thick.Base/FLY.Thick.Base.UI/UIModule/ScanGraph.xaml.cs
+2
-1
TrendGraph.xaml.cs
....Thick.Base/FLY.Thick.Base.UI/UIModule/TrendGraph.xaml.cs
+2
-1
No files found.
Project.FLY.Thick.Base/FLY.Thick.Base.UI/UIModule/ScanGraph.xaml.cs
View file @
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
[
"Thick
Gage"
]
as
TDGage
;
GraphScan
graph
=
graphscan
;
...
...
Project.FLY.Thick.Base/FLY.Thick.Base.UI/UIModule/TrendGraph.xaml.cs
View file @
d875b65b
...
...
@@ -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
[
"Thick
Gage"
]
as
TDGage
;
GraphRange
graph
=
graphrange
;
graph
.
DataContext
=
graphparam
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment