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
0bbd18bb
Commit
0bbd18bb
authored
Jul 31, 2021
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化 菜单页面
parent
2820048d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
33 deletions
+3
-33
PgInitparam.xaml.cs
....FilmCasting/FLY.Thick.FilmCasting.UI/PgInitparam.xaml.cs
+0
-26
PgMenu.xaml
...LY.Thick.FilmCasting/FLY.Thick.FilmCasting.UI/PgMenu.xaml
+3
-7
流延客户端容器描述.xmind
脚本/流延客户端容器描述.xmind
+0
-0
No files found.
Project.FLY.Thick.FilmCasting/FLY.Thick.FilmCasting.UI/PgInitparam.xaml.cs
View file @
0bbd18bb
...
@@ -130,19 +130,10 @@ namespace FLY.Thick.FilmCasting.UI
...
@@ -130,19 +130,10 @@ namespace FLY.Thick.FilmCasting.UI
#
endregion
#
endregion
/// <summary>
/// 数据库保存的月数
/// </summary>
public
int
DBKeepMonth
{
get
;
set
;
}
/// <summary>
/// 数据库路径
/// </summary>
public
string
DbPath
{
get
;
set
;
}
#
endregion
#
endregion
#
region
Command
#
region
Command
public
RelayCommand
ApplyCmd
{
get
;
}
public
RelayCommand
ApplyCmd
{
get
;
}
public
RelayCommand
SelectDbPathCmd
{
get
;
}
#
endregion
#
endregion
...
@@ -151,7 +142,6 @@ namespace FLY.Thick.FilmCasting.UI
...
@@ -151,7 +142,6 @@ namespace FLY.Thick.FilmCasting.UI
public
PgInitParamVm
()
public
PgInitParamVm
()
{
{
ApplyCmd
=
new
RelayCommand
(
Apply
);
ApplyCmd
=
new
RelayCommand
(
Apply
);
SelectDbPathCmd
=
new
RelayCommand
(
SelectDbPath
);
}
}
...
@@ -179,8 +169,6 @@ namespace FLY.Thick.FilmCasting.UI
...
@@ -179,8 +169,6 @@ namespace FLY.Thick.FilmCasting.UI
Misc
.
BindingOperations
.
SetBinding
(
initParamService
,
nameof
(
initParamService
.
DTime
),
this
,
nameof
(
DTime
));
Misc
.
BindingOperations
.
SetBinding
(
initParamService
,
nameof
(
initParamService
.
DTime
),
this
,
nameof
(
DTime
));
Misc
.
BindingOperations
.
SetBinding
(
initParamService
,
nameof
(
initParamService
.
HVelocity1
),
this
,
nameof
(
HVelocity1
));
Misc
.
BindingOperations
.
SetBinding
(
initParamService
,
nameof
(
initParamService
.
HVelocity1
),
this
,
nameof
(
HVelocity1
));
Misc
.
BindingOperations
.
SetBinding
(
initParamService
,
nameof
(
initParamService
.
HVelocity2
),
this
,
nameof
(
HVelocity2
));
Misc
.
BindingOperations
.
SetBinding
(
initParamService
,
nameof
(
initParamService
.
HVelocity2
),
this
,
nameof
(
HVelocity2
));
Misc
.
BindingOperations
.
SetBinding
(
initParamService
,
nameof
(
initParamService
.
DBKeepMonth
),
this
,
nameof
(
DBKeepMonth
));
Misc
.
BindingOperations
.
SetBinding
(
initParamService
,
nameof
(
initParamService
.
DbDirPath
),
this
,
nameof
(
DbPath
));
}
}
private
void
Apply
()
private
void
Apply
()
...
@@ -208,8 +196,6 @@ namespace FLY.Thick.FilmCasting.UI
...
@@ -208,8 +196,6 @@ namespace FLY.Thick.FilmCasting.UI
initParamService
.
DTime
=
this
.
DTime
;
initParamService
.
DTime
=
this
.
DTime
;
initParamService
.
HVelocity1
=
this
.
HVelocity1
;
initParamService
.
HVelocity1
=
this
.
HVelocity1
;
initParamService
.
HVelocity2
=
this
.
HVelocity2
;
initParamService
.
HVelocity2
=
this
.
HVelocity2
;
initParamService
.
DBKeepMonth
=
this
.
DBKeepMonth
;
initParamService
.
DbDirPath
=
this
.
DbPath
;
initParamService
.
Apply
();
initParamService
.
Apply
();
FLY
.
ControlLibrary
.
Window_Tip
.
Show
(
"应用成功"
,
FLY
.
ControlLibrary
.
Window_Tip
.
Show
(
"应用成功"
,
...
@@ -218,17 +204,5 @@ namespace FLY.Thick.FilmCasting.UI
...
@@ -218,17 +204,5 @@ namespace FLY.Thick.FilmCasting.UI
}
}
private
void
SelectDbPath
()
{
System
.
Windows
.
Forms
.
FolderBrowserDialog
open
=
new
System
.
Windows
.
Forms
.
FolderBrowserDialog
();
open
.
SelectedPath
=
DbPath
;
if
(
open
.
ShowDialog
()
==
System
.
Windows
.
Forms
.
DialogResult
.
OK
)
{
DbPath
=
open
.
SelectedPath
;
}
}
}
}
}
}
Project.FLY.Thick.FilmCasting/FLY.Thick.FilmCasting.UI/PgMenu.xaml
View file @
0bbd18bb
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
</Grid.RowDefinitions>
</Grid.RowDefinitions>
<WrapPanel Orientation="Vertical" Grid.Column="1">
<WrapPanel Orientation="Vertical" Grid.Column="1">
<WrapPanel.Resources>
<WrapPanel.Resources>
<Style TargetType="Button" BasedOn="{StaticResource
ResourceKey=ButtonStyle_e
mpty}">
<Style TargetType="Button" BasedOn="{StaticResource
Styles.Button.E
mpty}">
<Setter Property="Background" Value="#FF0083D7"/>
<Setter Property="Background" Value="#FF0083D7"/>
<Setter Property="Width" Value="225"/>
<Setter Property="Width" Value="225"/>
<Setter Property="Height" Value="140"/>
<Setter Property="Height" Value="140"/>
...
@@ -105,14 +105,10 @@
...
@@ -105,14 +105,10 @@
</Button>
</Button>
<Button Click="button_warning_Click" Background="Red" >
<Button Click="button_warning_Click" Background="Red" >
<Grid>
<TextBlock Background="DarkRed" Text="报警管理" />
<TextBlock Background="DarkRed" Text="报警管理" />
</Grid>
</Button>
</Button>
<Button Click="button_scanwarning_Click" Background="DarkRed" >
<Button Click="button_scanwarning_Click" Background="DarkRed" >
<Grid>
<TextBlock Text="厚度报警" Background="DarkRed" />
<TextBlock Text="厚度报警" Background="DarkRed" />
</Grid>
</Button>
</Button>
<Button Click="button_grid_Click" >
<Button Click="button_grid_Click" >
<TextBlock Text="机架调试"/>
<TextBlock Text="机架调试"/>
...
...
脚本/流延客户端容器描述.xmind
View file @
0bbd18bb
No preview for this file type
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