44e97c3452
- introdotto calcolo volume dato contorno pareti - aggiunta in supervisore gestione tabella MDI - aggiunto salvataggio progetto dopo aggiornamento duplo - girate tutte le viste per macchine inverse, anche in supervisore - nacosti pezzi quando in ottimizzatore o supervisore senza Machgroup - scritte BTLPartList in verde se raggiunta quantita' INPROD - aggiunta gestione bottoni abilitati/disabilitati a seconda degli elementi selezionati - introdotta modifica dimensioni grezzi - corretto errore che non impostava corretamente progetto quando aperto da ottimizzatore - smontato assemblato prima di eseguire alcuni comandi per poi ripristinarlo
133 lines
6.7 KiB
XML
133 lines
6.7 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.ViewerOptimizer">
|
|
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="{Binding GridDims[0].GridLen, Mode=TwoWay}"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="{Binding GridDims[1].GridLen, Mode=TwoWay}"/>
|
|
</Grid.RowDefinitions>
|
|
<GroupBox Header="Search & Filter"
|
|
Margin="3,1,3,3">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
<TextBlock Text="Parameter Type"/>
|
|
<ComboBox ItemsSource="{Binding Tag.SearchParamList, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:LeftPanelV}}}"
|
|
SelectedItem="{Binding Tag.SelSearchParam, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:LeftPanelV}}}"
|
|
Grid.Column="1"/>
|
|
<TextBlock Text="Text"
|
|
Grid.Row="1"/>
|
|
<EgtWPFLib5:EgtTextBox Text="{Binding Tag.SearchText, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:LeftPanelV}}}"
|
|
Grid.Column="1"
|
|
Grid.Row="1"/>
|
|
<TextBlock Text="Section"
|
|
Grid.Row="2"/>
|
|
<ComboBox ItemsSource="{Binding Tag.SectionList, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:LeftPanelV}}}"
|
|
SelectedItem="{Binding Tag.SelSection, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:LeftPanelV}}}"
|
|
DisplayMemberPath="sSectionXMaterial"
|
|
Grid.Column="1"
|
|
Grid.Row="2"/>
|
|
</Grid>
|
|
</GroupBox>
|
|
<Grid Grid.Row="1">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="1*"/>
|
|
</Grid.RowDefinitions>
|
|
<StackPanel Orientation="Horizontal"
|
|
HorizontalAlignment="Right">
|
|
<Button Command="{Binding NewRawPart_Command}"
|
|
Visibility="{Binding MachiningPage_Visibility}"
|
|
ToolTip="{Binding NewRawPart_ToopTip}"
|
|
IsEnabled="{Binding LeftPanel_IsEnabled}"
|
|
Style="{StaticResource LeftPanel_Button}">
|
|
<Image Source="/Resources/LeftPanel/NewRawPart.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Command="{Binding AddToRawPart_Command}"
|
|
Visibility="{Binding MachiningPage_Visibility}"
|
|
ToolTip="{Binding AddToRawPart_ToopTip}"
|
|
IsEnabled="{Binding LeftPanel_IsEnabled}"
|
|
Style="{StaticResource LeftPanel_Button}">
|
|
<Image Source="/Resources/LeftPanel/AddToRawPart.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Command="{Binding CopyPart_Command}"
|
|
Visibility="{Binding ViewPage_Visibility}"
|
|
ToolTip="{Binding CopyPart_ToopTip}"
|
|
IsEnabled="{Binding CopyPart_IsEnabled}"
|
|
Style="{StaticResource LeftPanel_Button}">
|
|
<Image Source="/Resources/LeftPanel/CopyPart.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Command="{Binding AddPart_Command}"
|
|
Visibility="{Binding ViewPage_Visibility}"
|
|
ToolTip="{Binding AddPart_ToopTip}"
|
|
IsEnabled="{Binding LeftPanel_IsEnabled}"
|
|
Style="{StaticResource LeftPanel_Button}">
|
|
<Image Source="/Resources/LeftPanel/AddPart.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Command="{Binding RemovePart_Command}"
|
|
Visibility="{Binding ViewPage_Visibility}"
|
|
ToolTip="{Binding RemovePart_ToopTip}"
|
|
IsEnabled="{Binding RemovePart_IsEnabled}"
|
|
Style="{StaticResource LeftPanel_Button}">
|
|
<Image Source="/Resources/LeftPanel/RemovePart.png" Stretch="Uniform"/>
|
|
</Button>
|
|
</StackPanel>
|
|
<EgtBEAMWALL:BTLPartListV DataContext="{StaticResource PartListVM}"
|
|
Tag="{Binding Tag, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:LeftPanelV}}}"
|
|
Grid.Row="1"/>
|
|
</Grid>
|
|
<GridSplitter Height="3" HorizontalAlignment="Stretch" Grid.Row="2"/>
|
|
<Grid Grid.Row="3">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="1*"/>
|
|
</Grid.RowDefinitions>
|
|
<StackPanel Orientation="Horizontal"
|
|
HorizontalAlignment="Right">
|
|
<Button Command="{Binding CopyFeature_Command}"
|
|
Visibility="{Binding ViewPage_Visibility}"
|
|
ToolTip="{Binding CopyFeature_ToopTip}"
|
|
IsEnabled="{Binding CopyFeature_IsEnabled}"
|
|
Style="{StaticResource LeftPanel_Button}">
|
|
<Image Source="/Resources/LeftPanel/CopyFeature.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Command="{Binding MacroFeature_Command}"
|
|
Visibility="{Binding ViewPage_Visibility}"
|
|
ToolTip="{Binding MacroFeature_ToopTip}"
|
|
IsEnabled="{Binding MacroFeature_IsEnabled}"
|
|
Style="{StaticResource LeftPanel_Button}">
|
|
<Image Source="/Resources/LeftPanel/MacroFeature.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Command="{Binding AddFeature_Command}"
|
|
Visibility="{Binding ViewPage_Visibility}"
|
|
ToolTip="{Binding AddFeature_ToopTip}"
|
|
IsEnabled="{Binding AddFeature_IsEnabled}"
|
|
Style="{StaticResource LeftPanel_Button}">
|
|
<Image Source="/Resources/LeftPanel/AddFeature.png" Stretch="Uniform"/>
|
|
</Button>
|
|
<Button Command="{Binding RemoveFeature_Command}"
|
|
Visibility="{Binding ViewPage_Visibility}"
|
|
ToolTip="{Binding RemoveFeature_ToopTip}"
|
|
IsEnabled="{Binding RemoveFeature_IsEnabled}"
|
|
Style="{StaticResource LeftPanel_Button}">
|
|
<Image Source="/Resources/LeftPanel/RemoveFeature.png" Stretch="Uniform"/>
|
|
</Button>
|
|
</StackPanel>
|
|
<EgtBEAMWALL:FeatureListV DataContext="{ StaticResource FeatureListVM}"
|
|
Tag="{Binding Tag.SelBTLPart, RelativeSource={RelativeSource AncestorType={x:Type EgtBEAMWALL:LeftPanelV}}}"
|
|
Grid.Row="1"/>
|
|
</Grid>
|
|
|
|
</Grid>
|