添加项目文件。
This commit is contained in:
79
GroupLine.App/View/OffsetConfig/OffsetConfigIndex.xaml
Normal file
79
GroupLine.App/View/OffsetConfig/OffsetConfigIndex.xaml
Normal file
@@ -0,0 +1,79 @@
|
||||
<UserControl
|
||||
x:Class="GroupLine.App.View.OffsetConfig.OffsetConfigIndex"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:GroupLine.App.View.OffsetConfig"
|
||||
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
d:DesignHeight="990"
|
||||
d:DesignWidth="1400"
|
||||
DataContext="{Binding Source={StaticResource Locator}, Path=OffsetConfig}"
|
||||
mc:Ignorable="d">
|
||||
<Grid>
|
||||
<GroupBox Margin="10,10,10,10" Header="偏移设置">
|
||||
<StackPanel
|
||||
Grid.Row="2"
|
||||
Grid.Column="0"
|
||||
Grid.ColumnSpan="2"
|
||||
Orientation="Vertical">
|
||||
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
||||
<StackPanel
|
||||
Margin="80,20,0,0"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<Label
|
||||
Margin="0,0,10,0"
|
||||
Content="前组产量偏移:"
|
||||
FontSize="30" />
|
||||
<TextBox
|
||||
materialDesign:HintAssist.Hint="输入产量"
|
||||
FontSize="22"
|
||||
Text="{Binding AGroupOffsetCount, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True}" />
|
||||
</StackPanel>
|
||||
<StackPanel
|
||||
Margin="80,20,0,0"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<Label
|
||||
Margin="0,0,10,0"
|
||||
Content="后组产量偏移:"
|
||||
FontSize="30" />
|
||||
<TextBox
|
||||
materialDesign:HintAssist.Hint="输入产量"
|
||||
FontSize="22"
|
||||
Text="{Binding BGroupOffsetCount, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True}" />
|
||||
</StackPanel>
|
||||
<StackPanel
|
||||
Margin="80,20,0,0"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<Label
|
||||
Margin="0,0,10,0"
|
||||
Content="完成产量偏移:"
|
||||
FontSize="30" />
|
||||
<TextBox
|
||||
materialDesign:HintAssist.Hint="输入产量"
|
||||
FontSize="22"
|
||||
Text="{Binding CGroupOffsetCount, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True}" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
<StackPanel>
|
||||
<Button
|
||||
Width="120"
|
||||
Height="30"
|
||||
Margin="110,20,10,10"
|
||||
HorizontalAlignment="Center"
|
||||
Background="Green"
|
||||
Command="{Binding OffsetCmd}"
|
||||
Content="确认" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</GroupBox>
|
||||
|
||||
</Grid>
|
||||
</UserControl>
|
||||
15
GroupLine.App/View/OffsetConfig/OffsetConfigIndex.xaml.cs
Normal file
15
GroupLine.App/View/OffsetConfig/OffsetConfigIndex.xaml.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace GroupLine.App.View.OffsetConfig
|
||||
{
|
||||
/// <summary>
|
||||
/// OffsetConfigIndex.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class OffsetConfigIndex : UserControl
|
||||
{
|
||||
public OffsetConfigIndex()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user