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
8bc081e4
Commit
8bc081e4
authored
Feb 21, 2022
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复 膜左右空气数据,按【计算】 时, 会变为负数。 正常应该为0
parent
99db2932
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
HeatCell.cs
...asting.AutoDie/FLY.FilmCasting.AutoDie/Server/HeatCell.cs
+4
-1
No files found.
Project.FLY.FilmCasting.AutoDie/FLY.FilmCasting.AutoDie/Server/HeatCell.cs
View file @
8bc081e4
...
...
@@ -369,7 +369,10 @@ namespace FLY.FilmCasting.AutoDie.Server
int
[]
offsets
=
new
int
[
ChannelCnt
];
for
(
int
i
=
0
;
i
<
ChannelCnt
;
i
++)
{
offsets
[
i
]
=
(
int
)
Math
.
Round
(
thickpercents
[
i
]
*
Kp
);
if
(
double
.
IsNaN
(
thickpercents
[
i
]))
offsets
[
i
]
=
0
;
else
offsets
[
i
]
=
(
int
)
Math
.
Round
(
thickpercents
[
i
]
*
Kp
);
}
Offsets
=
offsets
;
UpdatePreHeats
();
...
...
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