Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
thick-casting
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-casting
Commits
06bf5d66
Commit
06bf5d66
authored
Jul 02, 2021
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除 多余的边界参数检查
parent
62a3a827
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
28 deletions
+2
-28
TDGage.cs
....Thick.FilmCasting/FLY.Thick.FilmCasting/Server/TDGage.cs
+2
-28
No files found.
Project.FLY.Thick.FilmCasting/FLY.Thick.FilmCasting/Server/TDGage.cs
View file @
06bf5d66
...
...
@@ -183,18 +183,6 @@ namespace FLY.Thick.FilmCasting.Server
#
endregion
void
CheckBorderSearch
()
{
if
((
borderSearch
.
Valid
.
Begin
<
0
)
||
(
borderSearch
.
Valid
.
Begin
>
initParam
.
PosLength
))
{
borderSearch
.
Enable
=
false
;
}
if
((
borderSearch
.
Valid
.
End
<
0
)
||
(
borderSearch
.
Valid
.
End
>
initParam
.
PosLength
))
{
borderSearch
.
Enable
=
false
;
}
}
public
TDGage
(
string
nam
)
{
mParamDirectory
=
nam
;
// @"D:\" + m_name;
...
...
@@ -317,28 +305,14 @@ namespace FLY.Thick.FilmCasting.Server
#
region
borderSearch
.
Init
(
warning
);
//检测边界查找参数
CheckBorderSearch
();
borderSearch
.
PropertyChanged
+=
(
s
,
e
)
=>
{
if
(
e
.
PropertyName
==
nameof
(
BorderSearch
.
Valid
))
{
CheckBorderSearch
();
}
};
initParam
.
PropertyChanged
+=
(
s
,
e
)
=>
{
if
(
e
.
PropertyName
==
nameof
(
initParam
.
PosLength
))
{
CheckBorderSearch
();
}
};
Misc
.
BindingOperations
.
SetBinding
(
borderSearch
,
new
string
[]
{
nameof
(
borderSearch
.
Width
)
},
()
=>
{
DynArea
.
Width
=
borderSearch
.
Width
*
initParam
.
Encoder1_mmpp
;
});
initParam
.
PropertyChanged
+=
(
s
,
e
)
=>
{
if
(
e
.
PropertyName
==
nameof
(
initParam
.
Encoder1_mmpp
))
...
...
@@ -583,7 +557,7 @@ namespace FLY.Thick.FilmCasting.Server
//GM_ScanCorr 配置----------------------------------------
gmScanCorr
.
Init
(
flyAd
,
initParam
);
gmManager
.
AddGM
(
gmScanCorr
);
flyAd
.
CorrectADs
=
new
FlyADBase
.
CorrectADsHandler
(
gmScanCorr
.
CorrectADs
)
;
flyAd
.
CorrectADs
=
gmScanCorr
.
CorrectADs
;
//GSample 配置----------------------------------------
...
...
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