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
1352f2db
Commit
1352f2db
authored
Feb 23, 2022
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AD盒的速度永远由电脑计算出来。 删除 没用的IsCalSpeed设置
parent
5fb19414
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
23 deletions
+1
-23
PgFlyAd.xaml
Project.FLY.Thick.Base/FLY.Thick.Base.UI/PgFlyAd.xaml
+0
-4
PgFlyAd.xaml.cs
Project.FLY.Thick.Base/FLY.Thick.Base.UI/PgFlyAd.xaml.cs
+0
-2
FlyADServiceClient.cs
...LY.Thick.Base/FLY.Thick.Base/Client/FlyADServiceClient.cs
+0
-5
IFlyADService.cs
...t.FLY.Thick.Base/FLY.Thick.Base/IService/IFlyADService.cs
+0
-1
FlyAdService.cs
Project.FLY.Thick.Base/FLY.Thick.Base/Server/FlyAdService.cs
+1
-11
No files found.
Project.FLY.Thick.Base/FLY.Thick.Base.UI/PgFlyAd.xaml
View file @
1352f2db
...
...
@@ -55,10 +55,6 @@
<TextBlock Style="{StaticResource Styles.Text.FieldHeader.Editable}" Text="CRC" />
<ToggleButton Style="{StaticResource Styles.ToggleButton.YESNO}" IsChecked="{Binding HasCRC}"/>
</StackPanel>
<StackPanel Margin="{StaticResource ControlMargin}">
<TextBlock Style="{StaticResource Styles.Text.FieldHeader.Editable}" Text="不使用AD盒速度" />
<ToggleButton Style="{StaticResource Styles.ToggleButton.YESNO}" IsChecked="{Binding IsCalSpeed}" HorizontalAlignment="Left"/>
</StackPanel>
<StackPanel Margin="{StaticResource ControlMargin}" >
<TextBlock Style="{StaticResource Styles.Text.FieldHeader.Editable}" Text="脉冲/数据格" />
<StackPanel Orientation="Horizontal">
...
...
Project.FLY.Thick.Base/FLY.Thick.Base.UI/PgFlyAd.xaml.cs
View file @
1352f2db
...
...
@@ -143,7 +143,6 @@ namespace FLY.Thick.Base.UI
Misc
.
BindingOperations
.
SetBinding
(
this
.
flyAdService
,
nameof
(
this
.
flyAdService
.
PosOffset
),
this
,
nameof
(
PosOffset
));
Misc
.
BindingOperations
.
SetBinding
(
this
.
flyAdService
,
nameof
(
this
.
flyAdService
.
JogVelocity
),
this
,
nameof
(
JogVelocity
));
Misc
.
BindingOperations
.
SetBinding
(
this
.
flyAdService
,
nameof
(
this
.
flyAdService
.
GridSmooth
),
this
,
nameof
(
GridSmooth
));
Misc
.
BindingOperations
.
SetBinding
(
this
.
flyAdService
,
nameof
(
this
.
flyAdService
.
IsCalSpeed
),
this
,
nameof
(
IsCalSpeed
));
Misc
.
BindingOperations
.
SetBinding
(
this
.
flyAdService
,
nameof
(
this
.
flyAdService
.
ADLag
),
this
,
nameof
(
ADLag
));
Misc
.
BindingOperations
.
SetBinding
(
this
.
flyAdService
,
nameof
(
this
.
flyAdService
.
HasPosMaxMin
),
this
,
nameof
(
HasPosMaxMin
));
...
...
@@ -184,7 +183,6 @@ namespace FLY.Thick.Base.UI
flyAdService
.
PosOffset
=
this
.
PosOffset
;
flyAdService
.
JogVelocity
=
this
.
JogVelocity
;
flyAdService
.
GridSmooth
=
this
.
GridSmooth
;
flyAdService
.
IsCalSpeed
=
this
.
IsCalSpeed
;
flyAdService
.
ADLag
=
this
.
ADLag
;
flyAdService
.
HasPosMaxMin
=
this
.
HasPosMaxMin
;
...
...
Project.FLY.Thick.Base/FLY.Thick.Base/Client/FlyADServiceClient.cs
View file @
1352f2db
...
...
@@ -24,11 +24,6 @@ namespace FLY.Thick.Base.Client
/// </summary>
public
int
GridSmooth
{
get
;
set
;
}
/// <summary>
/// 通过脉冲计算速度,不使用AD盒的输出
/// </summary>
public
bool
IsCalSpeed
{
get
;
set
;
}
public
int
PosLen
{
get
;
set
;
}
public
MOTORTYPE
MotorType
{
get
;
set
;
}
...
...
Project.FLY.Thick.Base/FLY.Thick.Base/IService/IFlyADService.cs
View file @
1352f2db
...
...
@@ -24,7 +24,6 @@ namespace FLY.Thick.Base.IService
Int16
PosOffset
{
set
;
get
;
}
//脉冲平移
UInt32
JogVelocity
{
set
;
get
;
}
int
GridSmooth
{
get
;
set
;
}
bool
IsCalSpeed
{
get
;
set
;
}
int
ADLag
{
get
;
set
;
}
bool
HasPosMaxMin
{
get
;
set
;
}
...
...
Project.FLY.Thick.Base/FLY.Thick.Base/Server/FlyAdService.cs
View file @
1352f2db
...
...
@@ -131,17 +131,7 @@ namespace FLY.Thick.Base.Server
flyad
.
GridSmooth
=
value
;
}
}
public
bool
IsCalSpeed
{
get
{
return
flyad
.
IsCalSpeed
;
}
set
{
flyad
.
IsCalSpeed
=
value
;
}
}
public
int
ADLag
{
get
{
return
flyad
.
ADLag
;
}
...
...
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