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
cabb23f1
Commit
cabb23f1
authored
Dec 06, 2019
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合并 v3.1.0
parent
b6df51b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
26 deletions
+0
-26
BlowingDetect.cs
...Y.Thick.Blowing/FLY.Thick.Blowing/Server/BlowingDetect.cs
+0
-26
No files found.
Project.FLY.Thick.Blowing/FLY.Thick.Blowing/Server/BlowingDetect.cs
View file @
cabb23f1
...
...
@@ -1129,15 +1129,10 @@ namespace FLY.Thick.Blowing.Server
//信号的状态
bool
status
=
!
Misc
.
MyBase
.
CHECKBIT
(
e
.
IStatus
,
Roll_bit
-
1
);
<<<<<<<
HEAD
DateTime
dt
=
e
.
Time
;
//信号更新发生的时间
=======
DateTime
dt
=
e
.
Time
;
//信号更新发生的时间
>>>>>>>
gitlab
/
dev
-
3.1
if
(
status
)
//1->0 触发!!!
{
mRollList
.
RAdd
(
...
...
@@ -1300,27 +1295,7 @@ namespace FLY.Thick.Blowing.Server
int
cnt
=
5
;
if
(
cnt
>
mRollList
.
Count
)
cnt
=
mRollList
.
Count
;
<<<<<<<
HEAD
DateTime
dt2
=
mRollList
[
mRollList
.
Count
-
cnt
].
dt
;
DateTime
dt11
=
mRollList
[
mRollList
.
Count
-
(
cnt
-
1
)].
dt
;
TimeSpan
ts_last
=
TimeSpan
.
FromTicks
((
dt1
-
dt2
).
Ticks
/
(
cnt
-
1
));
//5次的平均滤波
TimeSpan
ts_now
=
TimeSpan
.
FromTicks
((
DateTime
.
Now
-
dt11
).
Ticks
/
(
cnt
-
1
));
TimeSpan
ts_max
;
if
(
ts_now
>
(
ts_last
+
ts_last
))
{
ts_max
=
ts_now
;
}
else
{
ts_max
=
ts_last
;
}
FilmVelocity
=
RollPerimeter
/
1000.0
/
ts_max
.
TotalMinutes
;
=======
DateTime
dt2
=
mRollList
[
mRollList
.
Count
-
cnt
].
dt
;
...
...
@@ -1340,7 +1315,6 @@ namespace FLY.Thick.Blowing.Server
FilmVelocity
=
RollPerimeter
/
1000.0
/
ts_max
.
TotalMinutes
;
>>>>>>>
gitlab
/
dev
-
3.1
BufTotalTime
=
DateTime
.
Now
-
mRollList
[
0
].
dt
;
}
}
...
...
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