修改命名空间
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<Window
|
||||
x:Class="RookieStation.WpfShelvesLayout"
|
||||
x:Class="RookieStation.PackAreaModule.View.WpfShelvesLayout"
|
||||
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:hc="https://handyorg.github.io/handycontrol"
|
||||
xmlns:local="clr-namespace:RookieStation"
|
||||
xmlns:local="clr-namespace:RookieStation.PackAreaModule.Model"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:utils="clr-namespace:RookieStation.Utils"
|
||||
Width="81"
|
||||
@@ -36,7 +36,11 @@
|
||||
<RowDefinition Height="5*" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<GroupBox Grid.Row="0" Grid.Column="0" Margin="2" Header="通道宽度">
|
||||
<GroupBox
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
Margin="2"
|
||||
Header="通道宽度">
|
||||
<TextBox
|
||||
x:Name="tbPassageWidth"
|
||||
InputMethod.IsInputMethodEnabled="False"
|
||||
@@ -44,7 +48,11 @@
|
||||
Text="1500"
|
||||
TextAlignment="Center" />
|
||||
</GroupBox>
|
||||
<GroupBox Grid.Row="0" Grid.Column="1" Margin="2" Header="起点距离">
|
||||
<GroupBox
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
Margin="2"
|
||||
Header="起点距离">
|
||||
<TextBox
|
||||
x:Name="tbDistance"
|
||||
InputMethod.IsInputMethodEnabled="False"
|
||||
@@ -52,7 +60,11 @@
|
||||
Text="0"
|
||||
TextAlignment="Center" />
|
||||
</GroupBox>
|
||||
<GroupBox Grid.Row="0" Grid.Column="2" Margin="2" Header="起点垂距 ">
|
||||
<GroupBox
|
||||
Grid.Row="0"
|
||||
Grid.Column="2"
|
||||
Margin="2"
|
||||
Header="起点垂距 ">
|
||||
<TextBox
|
||||
x:Name="tbOffest"
|
||||
InputMethod.IsInputMethodEnabled="False"
|
||||
@@ -60,7 +72,11 @@
|
||||
Text="0"
|
||||
TextAlignment="Center" />
|
||||
</GroupBox>
|
||||
<GroupBox Grid.Row="0" Grid.Column="3" Margin="2" Header="货架间距 ">
|
||||
<GroupBox
|
||||
Grid.Row="0"
|
||||
Grid.Column="3"
|
||||
Margin="2"
|
||||
Header="货架间距 ">
|
||||
<TextBox
|
||||
x:Name="tbSpacing"
|
||||
InputMethod.IsInputMethodEnabled="False"
|
||||
@@ -78,9 +94,21 @@
|
||||
CanUserSortColumns="False"
|
||||
ItemsSource="{Binding Data}">
|
||||
<DataGrid.Columns>
|
||||
<DataGridComboBoxColumn MinWidth="100" Header="成组" ItemsSource="{Binding Source={StaticResource GroupEnumDescriptionSource}}" SelectedValueBinding="{Binding NumOfGroup, Converter={StaticResource GroupEnumDescriptionSource}, Mode=TwoWay}" />
|
||||
<DataGridComboBoxColumn MinWidth="100" Header="长度" ItemsSource="{Binding Source={StaticResource LengthTypeEnumDescriptionSource}}" SelectedValueBinding="{Binding ShelfLength, Converter={StaticResource LengthTypeEnumDescriptionSource}, Mode=TwoWay}" />
|
||||
<DataGridComboBoxColumn MinWidth="100" Header="宽度" ItemsSource="{Binding Source={StaticResource WidthTypeEnumDescriptionSource}}" SelectedValueBinding="{Binding ShelfWidth, Converter={StaticResource WidthTypeEnumDescriptionSource}, Mode=TwoWay}" />
|
||||
<DataGridComboBoxColumn
|
||||
MinWidth="100"
|
||||
Header="成组"
|
||||
ItemsSource="{Binding Source={StaticResource GroupEnumDescriptionSource}}"
|
||||
SelectedValueBinding="{Binding NumOfGroup, Converter={StaticResource GroupEnumDescriptionSource}, Mode=TwoWay}" />
|
||||
<DataGridComboBoxColumn
|
||||
MinWidth="100"
|
||||
Header="长度"
|
||||
ItemsSource="{Binding Source={StaticResource LengthTypeEnumDescriptionSource}}"
|
||||
SelectedValueBinding="{Binding ShelfLength, Converter={StaticResource LengthTypeEnumDescriptionSource}, Mode=TwoWay}" />
|
||||
<DataGridComboBoxColumn
|
||||
MinWidth="100"
|
||||
Header="宽度"
|
||||
ItemsSource="{Binding Source={StaticResource WidthTypeEnumDescriptionSource}}"
|
||||
SelectedValueBinding="{Binding ShelfWidth, Converter={StaticResource WidthTypeEnumDescriptionSource}, Mode=TwoWay}" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
<TextBlock
|
||||
|
||||
Reference in New Issue
Block a user