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
daeac410
Commit
daeac410
authored
Mar 27, 2020
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'hotfix-feng-blowingFixNoData-20200326' into dev-6.0
parents
7419421a
7c595ed8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
+11
-9
PgBlowing.xaml.cs
....Blowing/FLY.Thick.Blowing.UI/PgBlowing/PgBlowing.xaml.cs
+3
-2
DynAreaBlowing.xaml.cs
...wing/FLY.Thick.Blowing.UI/UiModule/DynAreaBlowing.xaml.cs
+3
-2
ScanGraphCircular.xaml.cs
...g.UI/UiModule/ScanGraphCircular/ScanGraphCircular.xaml.cs
+5
-5
No files found.
Project.FLY.Thick.Blowing/FLY.Thick.Blowing.UI/PgBlowing/PgBlowing.xaml.cs
View file @
daeac410
...
...
@@ -23,12 +23,13 @@ namespace FLY.Thick.Blowing.UI.Fix.Client
}
[
InjectionMethod
]
public
void
Init
(
IBlowing
Fix
Service
blowingFixService
,
IBlowingService
blowingFixService
,
IBlowingDetectService
blowingDetectService
)
{
viewModel
=
new
PgBlowingVm
();
viewModel
.
Init
(
blowingFixService
,
blowingDetectService
);
viewModel
.
Init
((
IBlowingFixService
)
blowingFixService
,
blowingDetectService
);
this
.
DataContext
=
viewModel
;
//this.grid_blowing.DataContext = viewModel.renZiJiaService;
//this.grid_bDetect.DataContext = viewModel.bDetect;
...
...
Project.FLY.Thick.Blowing/FLY.Thick.Blowing.UI/UiModule/DynAreaBlowing.xaml.cs
View file @
daeac410
...
...
@@ -25,11 +25,12 @@ namespace FLY.Thick.Blowing.UI.Fix.Client.UiModule
[
InjectionMethod
]
public
void
Init
(
IUnityContainer
container
,
IBlowing
Fix
Service
blowingFixService
,
IBlowingService
blowingFixService
,
IBlowingDetectService
blowingDetectService
)
{
this
.
container
=
container
;
this
.
blowingFixService
=
blowingFixService
;
this
.
blowingFixService
=
(
IBlowingFixService
)
blowingFixService
;
this
.
blowingDetectService
=
blowingDetectService
;
Border_Blowing
.
DataContext
=
blowingFixService
;
...
...
Project.FLY.Thick.Blowing/FLY.Thick.Blowing.UI/UiModule/ScanGraphCircular/ScanGraphCircular.xaml.cs
View file @
daeac410
...
...
@@ -23,7 +23,7 @@ namespace FLY.Thick.Blowing.UI.Fix.Client.UiModule
ScanGraphCircularParam
graphparam
;
BulkDataServiceClientAdv
bulkDataServiceClientAdv
;
IDynAreaService
dynAreaService
;
IBlowing
FixService
blowingFix
Service
;
IBlowing
Service
blowing
Service
;
public
ScanGraphCircular
()
{
InitializeComponent
();
...
...
@@ -33,11 +33,11 @@ namespace FLY.Thick.Blowing.UI.Fix.Client.UiModule
public
void
Init
(
int
id
,
IDynAreaService
dynAreaService
,
BulkDataServiceClientAdv
bulkDataServiceClientAdv
,
IBlowing
FixService
blowingFix
Service
)
IBlowing
Service
blowing
Service
)
{
this
.
dynAreaService
=
dynAreaService
;
this
.
bulkDataServiceClientAdv
=
bulkDataServiceClientAdv
;
this
.
blowing
FixService
=
blowingFix
Service
;
this
.
blowing
Service
=
blowing
Service
;
//查找参数
graphparam
=
ScanGraphCircularParams
.
Current
.
Items
.
Find
(
p
=>
p
.
ID
==
id
);
...
...
@@ -62,8 +62,8 @@ namespace FLY.Thick.Blowing.UI.Fix.Client.UiModule
graph
.
SetBinding
(
GraphScanCircular
.
MPIsRightProperty
,
new
Binding
(
"MPIsRight"
));
//TODO
graph
.
SetBinding
(
GraphScanCircular
.
BoltCntProperty
,
new
Binding
(
"NBolts"
)
{
Source
=
blowing
Fix
Service
});
graph
.
SetBinding
(
GraphScanCircular
.
OrgBoltNoProperty
,
new
Binding
(
"OrgBoltNo"
)
{
Source
=
blowing
Fix
Service
});
graph
.
SetBinding
(
GraphScanCircular
.
BoltCntProperty
,
new
Binding
(
"NBolts"
)
{
Source
=
blowingService
});
graph
.
SetBinding
(
GraphScanCircular
.
OrgBoltNoProperty
,
new
Binding
(
"OrgBoltNo"
)
{
Source
=
blowingService
});
graph
.
SetBinding
(
GraphScanCircular
.
TargetProperty
,
new
Binding
(
"Target"
)
{
Source
=
dynAreaService
.
DynArea
});
graph
.
SetBinding
(
GraphScanCircular
.
AlarmProperty
,
new
Binding
(
"Alarm"
)
{
Source
=
dynAreaService
.
DynArea
});
...
...
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