Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
Thick-Common
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-Common
Commits
5053cdf1
Commit
5053cdf1
authored
May 16, 2023
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化 脉冲0,脉冲1 速度, 0.5s 更新一次
parent
0c240d5f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
FlyAd2021B2.cs
Project.FLY.FlyADBase/FlyAd2021.B2/FlyAd2021B2.cs
+1
-1
FlyAd2021B2Adv.cs
Project.FLY.FlyADBase/FlyAd2021.B2/FlyAd2021B2Adv.cs
+1
-1
No files found.
Project.FLY.FlyADBase/FlyAd2021.B2/FlyAd2021B2.cs
View file @
5053cdf1
...
@@ -413,7 +413,7 @@ namespace FlyADBase
...
@@ -413,7 +413,7 @@ namespace FlyADBase
Speed2
=
speed2
;
Speed2
=
speed2
;
}
}
},
TimeSpan
.
FromSeconds
(
1
));
},
TimeSpan
.
FromSeconds
(
0.5
));
//当状态为Running时,且每秒脉冲没变,需要 查 当前的状态, 也许Stop状态少推送了
//当状态为Running时,且每秒脉冲没变,需要 查 当前的状态, 也许Stop状态少推送了
PollModule
.
Current
.
Poll_Config
(()
=>
PollModule
.
Current
.
Poll_Config
(()
=>
...
...
Project.FLY.FlyADBase/FlyAd2021.B2/FlyAd2021B2Adv.cs
View file @
5053cdf1
...
@@ -452,7 +452,7 @@ namespace FlyADBase
...
@@ -452,7 +452,7 @@ namespace FlyADBase
return
false
;
return
false
;
}
}
if
(
now
-
last_now
<
TimeSpan
.
FromSeconds
(
1
))
if
(
now
-
last_now
<
TimeSpan
.
FromSeconds
(
0.5
))
return
false
;
return
false
;
if
(
pos1_changed_time
!=
last_pos1_changed_time
&&
last_pos1_changed_time
!=
DateTime
.
MinValue
)
if
(
pos1_changed_time
!=
last_pos1_changed_time
&&
last_pos1_changed_time
!=
DateTime
.
MinValue
)
...
...
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