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
61b4af7d
Commit
61b4af7d
authored
Jun 10, 2022
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加 数据浏览器 设置界面 设置混合数,Y轴比例,直方图步长
parent
8d915907
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
56 additions
and
27 deletions
+56
-27
DbViewerModel.cs
...g/FLY.Thick.FilmCasting.UI.DbViewer/Core/DbViewerModel.cs
+2
-2
PgSetup.xaml
...ilmCasting/FLY.Thick.FilmCasting.UI.DbViewer/PgSetup.xaml
+53
-24
PgSetup.xaml.cs
...Casting/FLY.Thick.FilmCasting.UI.DbViewer/PgSetup.xaml.cs
+1
-1
No files found.
Project.FLY.Thick.FilmCasting/FLY.Thick.FilmCasting.UI.DbViewer/Core/DbViewerModel.cs
View file @
61b4af7d
...
...
@@ -43,12 +43,12 @@ namespace FLY.Thick.FilmCasting.UI.DbViewer.Core
/// <summary>
/// 直方图统计步距 1um
/// </summary>
public
int
Step
=
1
;
public
int
Step
{
get
;
set
;
}
=
1
;
/// <summary>
/// 扫描图显示的范围比例 3倍
/// </summary>
public
double
YRangePercent
=
3
;
public
double
YRangePercent
{
get
;
set
;
}
=
3
;
/// <summary>
/// 混合数
...
...
Project.FLY.Thick.FilmCasting/FLY.Thick.FilmCasting.UI.DbViewer/PgSetup.xaml
View file @
61b4af7d
...
...
@@ -16,7 +16,7 @@
<RowDefinition Height="auto"/>
<RowDefinition/>
</Grid.RowDefinitions>
<StackPanel>
<StackPanel Margin="{StaticResource ControlMargin}">
<TextBlock Text="配置" FontSize="{StaticResource FontSize.H1}" Margin="{StaticResource ControlMargin}"/>
<StackPanel Margin="{StaticResource ControlMargin}">
...
...
@@ -50,7 +50,36 @@
</TextBlock>
</StackPanel>
</StackPanel>
<StackPanel Margin="{StaticResource ControlMargin}">
<TextBlock Text="统计方式" FontSize="{StaticResource FontSize.H2}" Margin="{StaticResource ControlMargin}"/>
<StackPanel Orientation="Horizontal" DataContext="{Binding DbViewerModel}">
<StackPanel Margin="{StaticResource ControlMargin}">
<TextBlock Style="{StaticResource Styles.Text.FieldHeader.Editable}" Text="混合数"/>
<StackPanel Orientation="Horizontal">
<TextBox Style="{StaticResource Styles.Text.FieldContent.Input.Card}" Text="{Binding Mix}"/>
<TextBlock Style="{StaticResource Styles.Text.FieldContent.Unit}" Text="次"/>
</StackPanel>
</StackPanel>
<StackPanel Margin="{StaticResource ControlMargin}">
<TextBlock Style="{StaticResource Styles.Text.FieldHeader.Editable}" Text="直方图统计步距"/>
<StackPanel Orientation="Horizontal">
<TextBox Style="{StaticResource Styles.Text.FieldContent.Input.Card}" Text="{Binding Step}"/>
<TextBlock Style="{StaticResource Styles.Text.FieldContent.Unit}" Text="um"/>
</StackPanel>
</StackPanel>
<StackPanel Margin="{StaticResource ControlMargin}">
<TextBlock Style="{StaticResource Styles.Text.FieldHeader.Editable}" Text="扫描图Y轴范围比例"/>
<StackPanel Orientation="Horizontal">
<TextBox Style="{StaticResource Styles.Text.FieldContent.Input.Card}" Text="{Binding YRangePercent}"/>
<TextBlock Style="{StaticResource Styles.Text.FieldContent.Unit}" Text="倍"/>
</StackPanel>
</StackPanel>
</StackPanel>
</StackPanel>
</StackPanel>
</StackPanel>
<Button VerticalAlignment="Top" HorizontalAlignment="Right" Style="{StaticResource Styles.Button.Circle.Accent}" Margin="{StaticResource ControlMargin}" Grid.Column="1" Click="ButtonBack_Click">
<iconPacks:PackIconMaterial Kind="ArrowLeft" />
</Button>
...
...
Project.FLY.Thick.FilmCasting/FLY.Thick.FilmCasting.UI.DbViewer/PgSetup.xaml.cs
View file @
61b4af7d
...
...
@@ -44,7 +44,7 @@ namespace FLY.Thick.FilmCasting.UI.DbViewer
public
RelayCommand
DbSelectCmd
{
get
;
private
set
;
}
public
DbHelper
DbHelper
{
get
;
}
=
new
DbHelper
();
public
DbViewerModel
DbViewerModel
=>
dbViewerModel
;
DbViewerModel
dbViewerModel
;
public
PageSetupVm
()
{
...
...
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