77 lines
5.4 KiB
XML
77 lines
5.4 KiB
XML
<UserControl x:Class="MainShell.Recipe.View.WaferRecipeView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:local="clr-namespace:MainShell.Recipe.View" xmlns:mw="http://www.maxwell-gp.com/"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="750" d:DesignWidth="800">
|
|
<Grid>
|
|
<TabControl mw:TabControlAttach.HeaderWidth="Auto"
|
|
SelectedIndex="{Binding SelectedTabIndex, Mode=TwoWay}">
|
|
<TabItem Header="{DynamicResource BaseSetting}">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="240"/>
|
|
<ColumnDefinition/>
|
|
</Grid.ColumnDefinitions>
|
|
<GroupBox Header="{DynamicResource WaferInfo}" Style="{StaticResource GroupBoxSecondary}">
|
|
<GroupBox.Resources>
|
|
<Style TargetType="TextBlock" BasedOn="{StaticResource TextBlockStyle}">
|
|
<Setter Property="HorizontalAlignment" Value="Right"/>
|
|
</Style>
|
|
</GroupBox.Resources>
|
|
<UniformGrid Rows="14" Columns="2">
|
|
<TextBlock Text="{DynamicResource DieColor}"/>
|
|
<ComboBox IsEditable="True"
|
|
Text="{Binding WaferRecipe.WaferInfo.DieColor, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
|
|
<TextBlock Text="{DynamicResource DieSizeX}"/>
|
|
<mw:NumberBox Value="{Binding WaferRecipe.WaferInfo.DieSizeX, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
mw:NumericKeypadAttach.IsEnabled="True"/>
|
|
<TextBlock Text="{DynamicResource DieSizeY}"/>
|
|
<mw:NumberBox Value="{Binding WaferRecipe.WaferInfo.DieSizeY, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
mw:NumericKeypadAttach.IsEnabled="True"/>
|
|
<TextBlock Text="{DynamicResource DiePitchX}"/>
|
|
<mw:NumberBox Value="{Binding WaferRecipe.WaferInfo.DiePitchX, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
mw:NumericKeypadAttach.IsEnabled="True"/>
|
|
<TextBlock Text="{DynamicResource DiePitchY}"/>
|
|
<mw:NumberBox Value="{Binding WaferRecipe.WaferInfo.DiePitchY, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
mw:NumericKeypadAttach.IsEnabled="True"/>
|
|
<TextBlock Text="{DynamicResource WaferWidth}"/>
|
|
<mw:NumberBox Value="{Binding WaferRecipe.WaferInfo.WaferWidth, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
mw:NumericKeypadAttach.IsEnabled="True"/>
|
|
<TextBlock Text="{DynamicResource WaferHeight}"/>
|
|
<mw:NumberBox Value="{Binding WaferRecipe.WaferInfo.WaferHeight, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
mw:NumericKeypadAttach.IsEnabled="True"/>
|
|
<TextBlock Text="{DynamicResource WaferRowNum}"/>
|
|
<mw:NumberBox Value="{Binding WaferRecipe.WaferInfo.WaferRowNum, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
mw:NumericKeypadAttach.IsEnabled="True"/>
|
|
<TextBlock Text="{DynamicResource WaferColNum}"/>
|
|
<mw:NumberBox Value="{Binding WaferRecipe.WaferInfo.WaferColNum, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
|
mw:NumericKeypadAttach.IsEnabled="True"/>
|
|
</UniformGrid>
|
|
</GroupBox>
|
|
<Grid Grid.Column="1">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
<GroupBox Grid.Row="0" Header="工艺参数选择" Style="{StaticResource GroupBoxSecondary}">
|
|
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
|
<TextBlock Text="工艺参数配方: " Style="{StaticResource TextBlockStyle}" VerticalAlignment="Center"/>
|
|
<ComboBox MinWidth="160"
|
|
ItemsSource="{Binding ProcessRecipes}"
|
|
DisplayMemberPath="RecipeName"
|
|
SelectedItem="{Binding SelectedProcessRecipeWrap, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
|
|
</StackPanel>
|
|
</GroupBox>
|
|
</Grid>
|
|
</Grid>
|
|
</TabItem>
|
|
<TabItem Header="参数示教">
|
|
<local:WaferTeachView DataContext="{Binding WaferTeachViewModel}"/>
|
|
</TabItem>
|
|
</TabControl>
|
|
</Grid>
|
|
</UserControl>
|