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
ad0cf58f
Commit
ad0cf58f
authored
Sep 20, 2021
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复 ScanData数据表 EndTime 为 DateTime.Now, 但 Time 为 flyad.Now, 导致时间错乱
parent
b4cb97a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
ScanMotion.cs
...ck.FilmCasting/FLY.Thick.FilmCasting/Server/ScanMotion.cs
+10
-10
No files found.
Project.FLY.Thick.FilmCasting/FLY.Thick.FilmCasting/Server/ScanMotion.cs
View file @
ad0cf58f
...
...
@@ -356,7 +356,7 @@ namespace FLY.Thick.FilmCasting.Server
//需要边界获取,扫描数据
StartDataEndTime
=
mFlyAD
.
Now
;
StartDataEndTime
=
DateTime
.
Now
;
//需要显示动态扫描图
mFlyAD
.
MiniGridEvent
+=
Flyad_MiniGridEvent
;
...
...
@@ -386,7 +386,7 @@ namespace FLY.Thick.FilmCasting.Server
mFlyAD
.
SetVelocity
(
gsample
.
Velocity
);
//需要采样数据
StartDataEndTime
=
mFlyAD
.
Now
;
StartDataEndTime
=
DateTime
.
Now
;
mFlyAD
.
Runto
(
to
);
State
=
CTRLST
.
FORW_SAMPLE_ING
;
...
...
@@ -435,7 +435,7 @@ namespace FLY.Thick.FilmCasting.Server
//要变速,分开两段
mFlyAD
.
MiniGridEvent
+=
Flyad_MiniGridEvent
;
StartDataEndTime
=
mFlyAD
.
Now
;
StartDataEndTime
=
DateTime
.
Now
;
mFlyAD
.
SetVelocity
(
Velocity
);
mFlyAD
.
Runto
(
r
.
End
);
...
...
@@ -461,7 +461,7 @@ namespace FLY.Thick.FilmCasting.Server
to
=
r
.
Begin
;
//以扫描速度到目的地
mFlyAD
.
SetVelocity
(
gsample
.
Velocity
);
StartDataEndTime
=
mFlyAD
.
Now
;
StartDataEndTime
=
DateTime
.
Now
;
mFlyAD
.
Runto
(
to
);
State
=
CTRLST
.
BACKW_SAMPLE_ING
;
}
...
...
@@ -492,7 +492,7 @@ namespace FLY.Thick.FilmCasting.Server
to
=
r
.
Begin
;
//以扫描速度到目的地
mFlyAD
.
SetVelocity
(
gsample
.
Velocity
);
StartDataEndTime
=
mFlyAD
.
Now
;
StartDataEndTime
=
DateTime
.
Now
;
mFlyAD
.
Runto
(
to
);
State
=
CTRLST
.
BACKW_SAMPLE_ING
;
...
...
@@ -577,7 +577,7 @@ namespace FLY.Thick.FilmCasting.Server
State
=
CTRLST
.
FORW_SAMPLE_ING2
;
//需要边界获取,扫描数据
StartDataEndTime
=
mFlyAD
.
Now
;
StartDataEndTime
=
DateTime
.
Now
;
//需要显示动态扫描图
mFlyAD
.
MiniGridEvent
+=
Flyad_MiniGridEvent
;
...
...
@@ -643,7 +643,7 @@ namespace FLY.Thick.FilmCasting.Server
{
//正常的情况,刚做完正向样品采集,现在反向
mFlyAD
.
MiniGridEvent
+=
Flyad_MiniGridEvent
;
StartDataEndTime
=
mFlyAD
.
Now
;
StartDataEndTime
=
DateTime
.
Now
;
//直接去到取样的位置
mFlyAD
.
Runto
(
r
.
Begin
);
...
...
@@ -691,7 +691,7 @@ namespace FLY.Thick.FilmCasting.Server
to
=
r
.
Begin
;
//以扫描速度到目的地
mFlyAD
.
SetVelocity
(
gsample
.
Velocity
);
StartDataEndTime
=
mFlyAD
.
Now
;
StartDataEndTime
=
DateTime
.
Now
;
mFlyAD
.
Runto
(
to
);
State
=
CTRLST
.
BACKW_SAMPLE_ING
;
...
...
@@ -717,7 +717,7 @@ namespace FLY.Thick.FilmCasting.Server
mFlyAD
.
SetVelocity
(
Velocity
);
StartDataEndTime
=
mFlyAD
.
Now
;
StartDataEndTime
=
DateTime
.
Now
;
mFlyAD
.
MiniGridEvent
+=
Flyad_MiniGridEvent
;
mFlyAD
.
Runto
(
to
);
...
...
@@ -745,7 +745,7 @@ namespace FLY.Thick.FilmCasting.Server
int
to
=
ScanRange
.
Begin
;
mFlyAD
.
SetVelocity
(
Velocity
);
StartDataEndTime
=
mFlyAD
.
Now
;
StartDataEndTime
=
DateTime
.
Now
;
mFlyAD
.
MiniGridEvent
+=
Flyad_MiniGridEvent
;
mFlyAD
.
Runto
(
to
);
...
...
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