Files
egtbeamwall/EgtBEAMWALL.ViewerOptimizer/PartManager/OnlyProdPartManagerV.xaml
T
2024-05-24 12:39:15 +02:00

123 lines
7.0 KiB
XML

<Grid x:Class="OnlyProdPartManagerV"
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.ViewerOptimizer"
IsEnabled="{Binding PartManager_IsEnabled}"
Style="{StaticResource OnlyProdPartManager_Grid}">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="1*"/>
<RowDefinition Height="1*"/>
</Grid.RowDefinitions>
<Border Style="{StaticResource OnlyProdQty_Border}">
<UniformGrid Columns="4"
Margin="10,0,15,0">
<TextBlock Text="BTL Qty"
Style="{StaticResource OptionTextBlock_OnlyProd}"/>
<TextBlock Text="{Binding Tag.sCNT,
RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdPartManagerV}},
UpdateSourceTrigger=Explicit}"
Style="{StaticResource OnlyProdCNT_TextBlock}"/>
<TextBlock Text="Added Qty"
Style="{StaticResource OptionTextBlock_OnlyProd}"/>
<EgtWPFLib5:EgtTextBox Text="{Binding Tag.sADDED,
RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdPartManagerV}},
UpdateSourceTrigger=Explicit}"
Style="{StaticResource Qty_TextBox}"/>
</UniformGrid>
</Border>
<Border Grid.Column="1"
Style="{StaticResource OnlyProdDimension_Border}">
<UniformGrid Columns="6"
Margin="0,5,20,5">
<TextBlock Text="W"
Style="{StaticResource OptionTextBlock_OnlyProd}"/>
<EgtWPFLib5:EgtTextBox Text="{Binding Tag.sW,
RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdPartManagerV}},
UpdateSourceTrigger=Explicit}"
Style="{StaticResource Dimension_TextBox}"/>
<TextBlock Text="H"
Style="{StaticResource OptionTextBlock_OnlyProd}"/>
<EgtWPFLib5:EgtTextBox Text="{Binding Tag.sH,
RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdPartManagerV}},
UpdateSourceTrigger=Explicit}"
Style="{StaticResource Dimension_TextBox}"/>
<TextBlock Text="L"
Style="{StaticResource OptionTextBlock_OnlyProd}"/>
<EgtWPFLib5:EgtTextBox Text="{Binding Tag.sL,
RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdPartManagerV}},
UpdateSourceTrigger=Explicit}"
Style="{StaticResource Dimension_TextBox}"/>
</UniformGrid>
</Border>
<Border Grid.Row="1"
Style="{StaticResource OnlyProdCommand_Border}">
<UniformGrid Columns="11"
Margin="0,0,-200,0">
<TextBlock Text="Inverti"
Style="{StaticResource OnlyProdInversion_TextBlock}"/>
<Image IsEnabled="{Binding Tag.bLockInversion,
RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdPartManagerV}}}"
Visibility="{Binding Lock_Visibility}"
Style="{StaticResource LockImage}"/>
<Button Command="{Binding Tag.Invert_Command,
RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdPartManagerV}}}"
Style="{StaticResource OnlyProdToolBar_SmallButton}">
<Image Source="/Resources/PartManager/LeftInvert.png" Stretch="Uniform"/>
</Button>
<TextBlock Text="{Binding Tag.sINVERTED,
RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdPartManagerV}}}"
Style="{StaticResource OnlyProdInverted_TextBlock}"/>
<Button Command="{Binding Tag.Invert_Command,
RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdPartManagerV}}}"
Style="{StaticResource OnlyProdToolBarInverted_SmallButton}">
<Image Source="/Resources/PartManager/RightInvert.png" Stretch="Uniform"/>
</Button>
<TextBlock Text="Ruota"
Style="{StaticResource OptionTextBlock_OnlyProd}"/>
<Image IsEnabled="{Binding Tag.bLockRotation,
RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdPartManagerV}}}"
Visibility="{Binding Lock_Visibility}"
Style="{StaticResource LockImage}"/>
<Button Command="{Binding Tag.BackRotation_Command,
RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdPartManagerV}}}"
Style="{StaticResource OnlyProdToolBar_SmallButton}">
<Image Source="/Resources/PartManager/LeftRotate.png" Stretch="Uniform"/>
</Button>
<TextBlock Text="{Binding Tag.sROTATED,
RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdPartManagerV}}}"
Style="{StaticResource OnlyProdInverted_TextBlock}"/>
<Button Command="{Binding Tag.ForwardRotation_Command,
RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdPartManagerV}}}"
Style="{StaticResource OnlyProdToolBarInverted_SmallButton}">
<Image Source="/Resources/PartManager/RightRotate.png" Stretch="Uniform"/>
</Button>
<TextBlock Text="{Binding Tag.sNAM,
RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdPartManagerV}}}"
Style="{StaticResource OptionTextBlock_OnlyProd}"/>
</UniformGrid>
</Border>
<Border Grid.Row="1"
Grid.Column="1"
Style="{StaticResource OnlyProdUnitTime_Border}">
<Grid Margin="0,0,5,0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<TextBlock Text="{Binding Tag.sUnitTime,
UpdateSourceTrigger=PropertyChanged,
RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:OnlyProdPartManagerV}}}"
Style="{StaticResource OnlyProdUnitTime_TextBlock}"/>
<Image Grid.Column="1"
Source="/Resources/PartManager/Clock.png"
Style="{StaticResource UnitTime_Image}"/>
</Grid>
</Border>
</Grid>