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
d7c72d7f
Commit
d7c72d7f
authored
Oct 09, 2024
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复 边界查找X轴显示异常, 添加回边界范围显示
parent
781e7c3c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
PgBorderSearch.xaml
Project.FLY.Thick.Base/FLY.Thick.Base.UI/PgBorderSearch.xaml
+9
-1
PgBorderSearch.xaml.cs
...t.FLY.Thick.Base/FLY.Thick.Base.UI/PgBorderSearch.xaml.cs
+1
-1
No files found.
Project.FLY.Thick.Base/FLY.Thick.Base.UI/PgBorderSearch.xaml
View file @
d7c72d7f
...
...
@@ -250,7 +250,7 @@
<TextBlock.Style>
<Style TargetType="TextBlock" BasedOn="{StaticResource Styles.Text.FieldHeader}">
<Style.Triggers>
<DataTrigger Binding="{Binding DataContext.Direction,ElementName=root}" Value="{x:Static misc:DIRECTION.BACKWARD}">
<DataTrigger Binding="{Binding DataContext.Direction,ElementName=
grid_
root}" Value="{x:Static misc:DIRECTION.BACKWARD}">
<Setter Property="Foreground" Value="{StaticResource MahApps.Brushes.Validation5}"/>
</DataTrigger>
</Style.Triggers>
...
...
@@ -335,11 +335,19 @@
</lvc:Axis.Separator>
<lvc:Axis.Sections>
<!--#0边界范围-->
<lvc:AxisSection Style="{StaticResource Styles.Axis.Section.Selected}"
Value="{Binding Sensor0AtBorderBegin}" SectionWidth="{Binding Sensor0AtBorderWidth}"/>
<!--#1边界范围-->
<lvc:AxisSection Style="{StaticResource Styles.Axis.Section.Selected}"
Value="{Binding Sensor1AtBorderBegin}" SectionWidth="{Binding Sensor1AtBorderWidth}"/>
<!--图表缩放.选择器.X轴-->
<lvc:AxisSection Style="{StaticResource Styles.Axis.Section.Selected.ZoomIn}"
Value="{Binding ZoomInHelper.SelectedXBegin}" />
<lvc:AxisSection Style="{StaticResource Styles.Axis.Section.Selected.ZoomIn}"
Value="{Binding ZoomInHelper.SelectedXEnd}" />
</lvc:Axis.Sections>
</lvc:Axis>
</lvc:CartesianChart.AxisX>
...
...
Project.FLY.Thick.Base/FLY.Thick.Base.UI/PgBorderSearch.xaml.cs
View file @
d7c72d7f
...
...
@@ -263,7 +263,7 @@ namespace FLY.Thick.Base.UI
XFormatter
=
(
x
)
=>
{
int
pos
=
(
int
)
getPosFromGridIndex
((
int
)
x
)
;
int
pos
=
(
int
)
x
;
int
mm
=
(
int
)(
pos
*
Mmpp
);
return
$"
{
pos
}
\n
{
mm
}
mm"
;
};
...
...
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