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
488d9865
Commit
488d9865
authored
Oct 25, 2020
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化 优化查加热棒坏的逻辑
parent
dce5e262
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
191 additions
and
70 deletions
+191
-70
FeedbackHeat.cs
...dbackRenZiJia/FLY.FeedbackRenZiJia/Server/FeedbackHeat.cs
+11
-3
HeatCell.cs
....FeedbackRenZiJia/FLY.FeedbackRenZiJia/Server/HeatCell.cs
+1
-1
HeatCheck.cs
...FeedbackRenZiJia/FLY.FeedbackRenZiJia/Server/HeatCheck.cs
+179
-66
No files found.
Project.FLY.FeedbackRenZiJia/FLY.FeedbackRenZiJia/Server/FeedbackHeat.cs
View file @
488d9865
...
...
@@ -130,13 +130,16 @@ namespace FLY.FeedbackRenZiJia.Server
/// </summary>
public
bool
CheckEnable
{
get
;
set
;
}
=
false
;
/// <summary>
/// 1块加热控制板 接多少路加热
/// </summary>
public
int
HeatsOfGroup
{
get
;
set
;
}
=
12
;
#
endregion
#
endregion
private
IPLCLink
plc
;
FLY
.
Thick
.
Blowing
.
IService
.
IBlowingService
blowingService
;
...
...
@@ -255,7 +258,7 @@ namespace FLY.FeedbackRenZiJia.Server
Misc
.
BindingOperations
.
SetBinding
(
mHeatCheck
,
nameof
(
mHeatCheck
.
Enable
),
this
,
nameof
(
CheckEnable
),
Misc
.
BindingOperations
.
BindingMode
.
TwoWay
);
Misc
.
BindingOperations
.
SetBinding
(
mHeatCheck
,
nameof
(
mHeatCheck
.
CheckNo
),
this
,
nameof
(
CheckNo
));
Misc
.
BindingOperations
.
SetBinding
(
mHeatCheck
,
nameof
(
mHeatCheck
.
Bads
),
this
,
nameof
(
Bads
));
Misc
.
BindingOperations
.
SetBinding
(
this
,
nameof
(
HeatsOfGroup
),
mHeatCheck
,
nameof
(
mHeatCheck
.
HeatsOfGroup
));
if
(
plc
is
PLCLink
)
{
((
PLCLink
)
plc
).
Start
();
...
...
@@ -994,6 +997,11 @@ namespace FLY.FeedbackRenZiJia.Server
/// 检测线速度 使能
/// </summary>
public
bool
HasCheckFilmVelocity
;
/// <summary>
/// 1块加热控制板 接多少路加热
/// </summary>
public
int
HeatsOfGroup
=
12
;
#
endregion
}
...
...
Project.FLY.FeedbackRenZiJia/FLY.FeedbackRenZiJia/Server/HeatCell.cs
View file @
488d9865
...
...
@@ -635,7 +635,7 @@ namespace FLY.FeedbackRenZiJia.Server
/// </summary>
public
void
Cal
()
{
var
thickpercents
=
Common
.
MyMath
.
ZoomOut
(
ThickPercents
,
BoltCnt
/
ChannelCnt
);
var
thickpercents
=
ThickPercents
;
//
Common.MyMath.ZoomOut(ThickPercents, BoltCnt / ChannelCnt);
int
[]
offsets
=
new
int
[
ChannelCnt
];
for
(
int
i
=
0
;
i
<
ChannelCnt
;
i
++)
{
...
...
Project.FLY.FeedbackRenZiJia/FLY.FeedbackRenZiJia/Server/HeatCheck.cs
View file @
488d9865
This diff is collapsed.
Click to expand it.
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