123 lines
5.6 KiB
XML
123 lines
5.6 KiB
XML
<Grid x:Class="LeftPanelV"
|
||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5"
|
||
xmlns:EgtBEAMWALL="clr-namespace:EgtBEAMWALL.Supervisor"
|
||
Width="550">
|
||
|
||
<Grid.RowDefinitions>
|
||
<RowDefinition Height="Auto"/>
|
||
<RowDefinition Height="Auto"/>
|
||
<RowDefinition Height="Auto"/>
|
||
<RowDefinition Height="1*"/>
|
||
<RowDefinition Height="Auto"/>
|
||
<RowDefinition Height="1*"/>
|
||
</Grid.RowDefinitions>
|
||
<GroupBox Header="OPState">
|
||
<ComboBox ItemsSource="{Binding OPStateList}"
|
||
SelectedItem="{Binding SelOPState}"
|
||
DisplayMemberPath="Name"/>
|
||
</GroupBox>
|
||
<!--<UniformGrid Columns="2">
|
||
<TextBlock Text="OPState"/>
|
||
<TextBlock Text="{Binding sOPState}"/>
|
||
</UniformGrid>-->
|
||
<!--<GroupBox Grid.Row="1"
|
||
Header="Axis">
|
||
<ItemsControl ItemsSource="{Binding AxisList}">
|
||
<ItemsControl.ItemTemplate>
|
||
<DataTemplate>
|
||
<UniformGrid Columns="2">
|
||
<TextBlock Text="{Binding sName}"/>
|
||
<TextBlock Text="{Binding sValue}"/>
|
||
</UniformGrid>
|
||
</DataTemplate>
|
||
</ItemsControl.ItemTemplate>
|
||
</ItemsControl>
|
||
</GroupBox>-->
|
||
<GroupBox Grid.Row="1"
|
||
Header="Axis">
|
||
<EgtBEAMWALL:AxesPanelV DataContext="{StaticResource AxesPanelVM}"/>
|
||
</GroupBox>
|
||
|
||
<StackPanel Grid.Row="2"
|
||
Orientation="Horizontal"
|
||
HorizontalAlignment="Right">
|
||
<Button Content="˄"
|
||
Command="{Binding MoveUpRawPart_Command}"
|
||
IsEnabled="{Binding LeftPanel_IsEnabled}"
|
||
Style="{StaticResource LeftPanel_SmallButton}"/>
|
||
<Button Content="˅"
|
||
Command="{Binding MoveDownRawPart_Command}"
|
||
IsEnabled="{Binding LeftPanel_IsEnabled}"
|
||
Style="{StaticResource LeftPanel_SmallButton}"/>
|
||
<Button Content="P"
|
||
Command="{Binding ProduceAll_Command}"
|
||
IsEnabled="{Binding LeftPanel_IsEnabled}"
|
||
Style="{StaticResource LeftPanel_SmallButton}"/>
|
||
<Button Content="D"
|
||
Command="{Binding DoneRawPart_Command}"
|
||
IsEnabled="{Binding LeftPanel_IsEnabled}"
|
||
Style="{StaticResource LeftPanel_SmallButton}"/>
|
||
<Button Content="-"
|
||
Command="{Binding DeleteRawPart_Command}"
|
||
IsEnabled="{Binding LeftPanel_IsEnabled}"
|
||
Style="{StaticResource LeftPanel_SmallButton}"/>
|
||
</StackPanel>
|
||
|
||
<EgtBEAMWALL:RawPartListV Grid.Row="3"
|
||
DataContext="{StaticResource RawPartListVM}"
|
||
Tag="{Binding Tag, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:LeftPanelV}}}"/>
|
||
<StackPanel Grid.Row="4"
|
||
Orientation="Horizontal"
|
||
HorizontalAlignment="Right">
|
||
<Button Content="P"
|
||
Command="{Binding PrintLabel_Command}"
|
||
IsEnabled="{Binding LeftPanel_IsEnabled}"
|
||
Style="{StaticResource LeftPanel_SmallButton}"/>
|
||
<Button Content="D"
|
||
Command="{Binding DonePart_Command}"
|
||
IsEnabled="{Binding LeftPanel_IsEnabled}"
|
||
Style="{StaticResource LeftPanel_SmallButton}"/>
|
||
</StackPanel>
|
||
|
||
<Grid Grid.Row="5">
|
||
<Grid.RowDefinitions>
|
||
<RowDefinition Height="1*"/>
|
||
<RowDefinition Height="Auto"/>
|
||
</Grid.RowDefinitions>
|
||
<EgtBEAMWALL:PartInRawPartListV DataContext="{StaticResource PartInRawPartListVM}"
|
||
Tag="{Binding Tag.SelectedMachGroup, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:LeftPanelV}}}"/>
|
||
<EgtBEAMWALL:FeatureInPartInRawPartListV Grid.Row="1"
|
||
Height="80"
|
||
DataContext="{StaticResource FeatureInPartInRawPartListVM}"
|
||
Tag="{Binding Tag.SelectedMachGroup.SelPart, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:LeftPanelV}}}"
|
||
Visibility="{Binding DataContext.FeatureList_Visibility, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:LeftPanelV}}}"/>
|
||
</Grid>
|
||
|
||
<!--<EgtBEAMWALL:RawPartListV Grid.Row="3"
|
||
DataContext="{StaticResource RawPartListVM}"
|
||
Tag="{Binding Tag, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:LeftPanelV}}}"/>
|
||
|
||
<StackPanel Grid.Row="4"
|
||
Orientation="Horizontal"
|
||
HorizontalAlignment="Right">
|
||
<Button Content="D"
|
||
Command="{Binding DoneRawPart_Command}"
|
||
Style="{StaticResource LeftPanel_SmallButton}"/>
|
||
</StackPanel>
|
||
|
||
<Grid Grid.Row="5">
|
||
<Grid.ColumnDefinitions>
|
||
<ColumnDefinition Width="1*"/>
|
||
<ColumnDefinition Width="Auto"/>
|
||
</Grid.ColumnDefinitions>
|
||
<EgtBEAMWALL:PartInRawPartListV DataContext="{StaticResource PartInRawPartListVM}"
|
||
Tag="{Binding Tag.SelectedMachGroup, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:LeftPanelV}}}"/>
|
||
<EgtBEAMWALL:FeatureInPartInRawPartListV Grid.Column="1"
|
||
DataContext="{StaticResource FeatureInPartInRawPartListVM}"
|
||
Tag="{Binding Tag, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:LeftPanelV}}}"/>
|
||
</Grid>-->
|
||
|
||
</Grid>
|