Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hemei
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
潘栩锋
hemei
Commits
9eecefea
Commit
9eecefea
authored
Dec 20, 2019
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复 只要修改布局就会令扫描图参数复位问题
parent
5fdabca5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
ScanGraph2.xaml.cs
...wing.UI.Fix.Client/UIModule/ScanGraph2/ScanGraph2.xaml.cs
+2
-2
ScanGraph2.xaml.cs
...wingScan.UI.Client/UIModule/ScanGraph2/ScanGraph2.xaml.cs
+3
-2
No files found.
Project.FLY.Thick.Blowing/FLY.Thick.Blowing.UI.Fix.Client/UIModule/ScanGraph2/ScanGraph2.xaml.cs
View file @
9eecefea
...
@@ -39,7 +39,7 @@ namespace FLY.Thick.Blowing.UI.Fix.Client.UIModule
...
@@ -39,7 +39,7 @@ namespace FLY.Thick.Blowing.UI.Fix.Client.UIModule
graphparam
=
ScanGraphParams
.
Current
.
Items
.
Find
(
p
=>
p
.
ID
==
id
);
graphparam
=
ScanGraphParams
.
Current
.
Items
.
Find
(
p
=>
p
.
ID
==
id
);
if
(
graphparam
==
null
)
if
(
graphparam
==
null
)
{
{
graphparam
=
new
ScanGraphItemParam
()
{
ID
=
id
};
graphparam
=
new
ScanGraphItemParam
()
{
UiModule
=
"scangraph2"
,
ID
=
id
};
ScanGraphParams
.
Current
.
Items
.
Add
(
graphparam
);
ScanGraphParams
.
Current
.
Items
.
Add
(
graphparam
);
ScanGraphParams
.
Current
.
Save
();
ScanGraphParams
.
Current
.
Save
();
}
}
...
@@ -205,7 +205,7 @@ namespace FLY.Thick.Blowing.UI.Fix.Client.UIModule
...
@@ -205,7 +205,7 @@ namespace FLY.Thick.Blowing.UI.Fix.Client.UIModule
/// <param name="IDs"></param>
/// <param name="IDs"></param>
public
void
MatchParam
(
int
[]
IDs
)
public
void
MatchParam
(
int
[]
IDs
)
{
{
ScanGraphParams
.
Current
.
MatchParam
(
IDs
);
ScanGraphParams
.
Current
.
MatchParam
(
"scangraph2"
,
IDs
);
}
}
}
}
}
}
Project.FLY.Thick.BlowingScan/FLY.Thick.BlowingScan.UI.Client/UIModule/ScanGraph2/ScanGraph2.xaml.cs
View file @
9eecefea
...
@@ -39,7 +39,7 @@ namespace FLY.Thick.BlowingScan.UI.Client.UIModule
...
@@ -39,7 +39,7 @@ namespace FLY.Thick.BlowingScan.UI.Client.UIModule
graphparam
=
ScanGraphParams
.
Current
.
Items
.
Find
(
p
=>
p
.
ID
==
id
);
graphparam
=
ScanGraphParams
.
Current
.
Items
.
Find
(
p
=>
p
.
ID
==
id
);
if
(
graphparam
==
null
)
if
(
graphparam
==
null
)
{
{
graphparam
=
new
ScanGraphItemParam
()
{
ID
=
id
};
graphparam
=
new
ScanGraphItemParam
()
{
UiModule
=
"scangraph2"
,
ID
=
id
};
ScanGraphParams
.
Current
.
Items
.
Add
(
graphparam
);
ScanGraphParams
.
Current
.
Items
.
Add
(
graphparam
);
ScanGraphParams
.
Current
.
Save
();
ScanGraphParams
.
Current
.
Save
();
}
}
...
@@ -162,6 +162,7 @@ namespace FLY.Thick.BlowingScan.UI.Client.UIModule
...
@@ -162,6 +162,7 @@ namespace FLY.Thick.BlowingScan.UI.Client.UIModule
public
class
UIModule_ScanGraph2
:
FLY
.
UI
.
Module
.
IUIModule
public
class
UIModule_ScanGraph2
:
FLY
.
UI
.
Module
.
IUIModule
{
{
/// <summary>
/// <summary>
/// 控件标题
/// 控件标题
/// 它的值取决于culture
/// 它的值取决于culture
...
@@ -205,7 +206,7 @@ namespace FLY.Thick.BlowingScan.UI.Client.UIModule
...
@@ -205,7 +206,7 @@ namespace FLY.Thick.BlowingScan.UI.Client.UIModule
/// <param name="IDs"></param>
/// <param name="IDs"></param>
public
void
MatchParam
(
int
[]
IDs
)
public
void
MatchParam
(
int
[]
IDs
)
{
{
ScanGraphParams
.
Current
.
MatchParam
(
IDs
);
ScanGraphParams
.
Current
.
MatchParam
(
"scangraph2"
,
IDs
);
}
}
}
}
}
}
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