|
@@ -6,6 +6,8 @@
|
|
|
xmlns:unity="clr-namespace:Venus_MainPages.Unity"
|
|
|
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
|
|
|
mc:Ignorable="d"
|
|
|
+ xmlns:customControls="clr-namespace:Venus_Themes.CustomControls;assembly=Venus_Themes"
|
|
|
+
|
|
|
xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
|
|
d:DesignHeight="450" d:DesignWidth="800" x:Name="WaferUnit">
|
|
|
<Grid>
|
|
@@ -18,7 +20,7 @@
|
|
|
<RowDefinition Height="Auto"></RowDefinition>
|
|
|
<RowDefinition></RowDefinition>
|
|
|
</Grid.RowDefinitions>
|
|
|
- <Grid unity:GridOptions.ShowBorder="True" unity:GridOptions.LineBrush="Black" unity:GridOptions.LineThickness="1">
|
|
|
+ <Grid unity:GridOptions.ShowBorder="True" unity:GridOptions.LineBrush="#E0E4E7" unity:GridOptions.LineThickness="2" Background="#F5F7FA">
|
|
|
<Grid.RowDefinitions>
|
|
|
<RowDefinition Height="30"></RowDefinition>
|
|
|
<RowDefinition Height="30"></RowDefinition>
|
|
@@ -32,28 +34,28 @@
|
|
|
|
|
|
<StackPanel Grid.Row="0" Orientation="Horizontal">
|
|
|
<TextBlock Text="Lot ID:" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="15" FontFamily="Arial" VerticalAlignment="Center" Width="75"></TextBlock>
|
|
|
- <TextBox Text="{Binding WAInfo.LotId, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="15" FontFamily="Arial" VerticalAlignment="Center" Width="200" IsEnabled="False"></TextBox>
|
|
|
+ <TextBox Text="{Binding WAInfo.LotId, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="15" FontFamily="Arial" VerticalAlignment="Center" Width="300" IsEnabled="False" Margin="5 0 0 0"></TextBox>
|
|
|
</StackPanel>
|
|
|
<StackPanel Grid.Row="1" Orientation="Horizontal">
|
|
|
|
|
|
<TextBlock Text="Sequence:" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="15" FontFamily="Arial" VerticalAlignment="Center" Width="80"></TextBlock>
|
|
|
|
|
|
- <ComboBox Width="240" x:Name="cb" DropDownOpened="cb_DropDownOpened" SelectionChanged="cb_SelectionChanged"/>
|
|
|
+ <customControls:CustomComBobox Width="300" x:Name="cb" DropDownOpened="cb_DropDownOpened" SelectionChanged="cb_SelectionChanged" Margin="0 2 0 2"/>
|
|
|
|
|
|
|
|
|
</StackPanel>
|
|
|
<StackPanel Grid.Row="2" Orientation="Horizontal">
|
|
|
<TextBlock Text="Pre Clean:" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="15" FontFamily="Arial" VerticalAlignment="Center" Width="80"></TextBlock>
|
|
|
- <ComboBox Width="240" x:Name="preComboBox" DropDownOpened="preComboBox_DropDownOpened" SelectionChanged="preComboBox_SelectionChanged"/>
|
|
|
+ <customControls:CustomComBobox Width="300" x:Name="preComboBox" DropDownOpened="preComboBox_DropDownOpened" SelectionChanged="preComboBox_SelectionChanged" Margin="0 2 0 2"/>
|
|
|
</StackPanel>
|
|
|
<StackPanel Grid.Row="3" Orientation="Horizontal">
|
|
|
<TextBlock Text="Post Clean:" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="15" FontFamily="Arial" VerticalAlignment="Center" Width="80"></TextBlock>
|
|
|
- <ComboBox Width="240" x:Name="postComboBox" DropDownOpened="postComboBox_DropDownOpened" SelectionChanged="postComboBox_SelectionChanged"/>
|
|
|
+ <customControls:CustomComBobox Width="300" x:Name="postComboBox" DropDownOpened="postComboBox_DropDownOpened" SelectionChanged="postComboBox_SelectionChanged" Margin="0 3 0 3"/>
|
|
|
</StackPanel>
|
|
|
|
|
|
<StackPanel Grid.Row="4" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
<Button Content="Select All" Height="25" Command="{Binding SelectAllCommand}" CommandParameter="{Binding ElementName=WaferUnit,Path=WAInfo}" Width="125" Click="SelectAllButton_Click"/>
|
|
|
- <Button Content="DeSelect All" Height="25" Command="{Binding UnSelectAllCommand}" CommandParameter="{Binding ElementName=WaferUnit,Path=WAInfo}" Width="125" Click="UnSelectAllButton_Click"/>
|
|
|
+ <Button Content="DeSelect All" Height="25" Command="{Binding UnSelectAllCommand}" CommandParameter="{Binding ElementName=WaferUnit,Path=WAInfo}" Width="125" Click="UnSelectAllButton_Click" Margin="1 0 0 0"/>
|
|
|
</StackPanel>
|
|
|
|
|
|
<Grid Grid.Row="5">
|
|
@@ -63,18 +65,16 @@
|
|
|
<ColumnDefinition Width="1*"/>
|
|
|
<ColumnDefinition Width="2*"/>
|
|
|
</Grid.ColumnDefinitions>
|
|
|
- <TextBlock Grid.Column="0" Text="Name" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="15" FontFamily="Arial" VerticalAlignment="Center"></TextBlock>
|
|
|
+ <TextBlock Grid.Column="0" Text="Name:" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="15" FontFamily="Arial" VerticalAlignment="Center"></TextBlock>
|
|
|
+ <TextBox Grid.Column="1" IsEnabled="True" Text="{Binding WAInfo.JobID, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" TextAlignment="Center" VerticalContentAlignment="Center" Margin="-10 3 5 3"/>
|
|
|
+ <TextBlock Grid.Column="2" Text="Status:" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="15" FontFamily="Arial" VerticalAlignment="Center"></TextBlock>
|
|
|
+ <TextBox Grid.Column="3" IsEnabled="True" Text="{Binding WAInfo.JobStatus, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" TextAlignment="Center" VerticalContentAlignment="Center" Margin="-10 3 0 3"/>
|
|
|
|
|
|
- <TextBox Grid.Column="1" IsEnabled="True" Text="{Binding WAInfo.JobID, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" TextAlignment="Center" VerticalContentAlignment="Center"/>
|
|
|
-
|
|
|
- <TextBox Grid.Column="3" IsEnabled="True" Text="{Binding WAInfo.JobStatus, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" TextAlignment="Center" VerticalContentAlignment="Center"/>
|
|
|
-
|
|
|
- <TextBlock Text="Status" Grid.Column="2" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="15" FontFamily="Arial" VerticalAlignment="Center"></TextBlock>
|
|
|
|
|
|
</Grid>
|
|
|
<StackPanel Grid.Row="6" Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" >
|
|
|
<Button Content="Create Job" Width="120" Height="25" Command="{Binding CreateJobCommand}" CommandParameter="{Binding ElementName=WaferUnit,Path=WAInfo}"/>
|
|
|
- <Button Content="Abort Job" Width="120" Height="25" Command="{Binding AbortJobCommand}" CommandParameter="{Binding WAInfo.JobID,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}"/>
|
|
|
+ <Button Content="Abort Job" Width="120" Height="25" Command="{Binding AbortJobCommand}" CommandParameter="{Binding WAInfo.JobID,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" Margin="1 0 0 0"/>
|
|
|
</StackPanel>
|
|
|
<StackPanel Grid.Row="7" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
|
|
|
<Button Content="Start" Width="100" Height="25" Command="{Binding StartCommand}" CommandParameter="{Binding ElementName=WaferUnit,Path=WAInfo}"/>
|
|
@@ -88,26 +88,26 @@
|
|
|
ItemsSource="{Binding ElementName=WaferUnit,Path=WAInfo.ModuleData.WaferManager.Wafers}" Name="list1">
|
|
|
<ListBox.Resources>
|
|
|
<Style TargetType="ListBoxItem" BasedOn="{StaticResource ResourceKey={x:Type ListBoxItem}}">
|
|
|
- <Setter Property="Rectangle.StrokeThickness" Value="0"/>
|
|
|
+ <Setter Property="Rectangle.StrokeThickness" Value="1"/>
|
|
|
</Style>
|
|
|
</ListBox.Resources>
|
|
|
<ListBox.ItemTemplate>
|
|
|
<DataTemplate>
|
|
|
- <Grid Height="18">
|
|
|
+ <Grid Height="18" Background="#F5F7FA">
|
|
|
<Grid.ColumnDefinitions>
|
|
|
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
|
|
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
|
|
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
|
|
</Grid.ColumnDefinitions>
|
|
|
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Width="30" Padding="5,1">
|
|
|
+ <Border BorderBrush="#E0E4E7" BorderThickness="1 1 1 0" Width="30" Padding="5,1">
|
|
|
<TextBlock Name="txtSlotIndex" Text="{Binding SlotIndex}" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"></TextBlock>
|
|
|
</Border>
|
|
|
- <Border Grid.Column="1" BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Width="250" >
|
|
|
+ <Border Grid.Column="1" BorderBrush="#E0E4E7" BorderThickness="0,0,1,1" Width="250" >
|
|
|
<Border.Style>
|
|
|
<Style>
|
|
|
<Style.Triggers>
|
|
|
<DataTrigger Binding="{Binding WaferStatus}" Value="0">
|
|
|
- <Setter Property="Border.Background" Value="AliceBlue"/>
|
|
|
+ <Setter Property="Border.Background" Value="#F5F7FA"/>
|
|
|
</DataTrigger>
|
|
|
<DataTrigger Binding="{Binding WaferStatus}" Value="1">
|
|
|
<Setter Property="Border.Background" Value="SkyBlue"/>
|
|
@@ -117,8 +117,8 @@
|
|
|
</Border.Style>
|
|
|
<TextBlock Name="txtSeqName" ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Text}" Text="{Binding SequenceName}" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" HorizontalAlignment="Center" VerticalAlignment="Center"></TextBlock>
|
|
|
</Border>
|
|
|
-
|
|
|
- <Border Grid.Column="2" BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Width="110" Padding="5,1" >
|
|
|
+
|
|
|
+ <Border Grid.Column="2" BorderBrush="Silver" BorderThickness="0 1 1 0" Width="110" Padding="5,1" >
|
|
|
<Button Width="60" Height="14" Command="{Binding Path=DataContext.SetSequenceCommand, RelativeSource={RelativeSource Mode=FindAncestor,AncestorType=ListBox}}" CommandParameter="{Binding}" IsEnabled="{Binding ElementName=WaferUnit,Path=ButtonIsEnable}">
|
|
|
<Button.Style>
|
|
|
<Style TargetType="{x:Type Button}" BasedOn="{StaticResource ResourceKey={x:Type Button}}">
|
|
@@ -141,17 +141,7 @@
|
|
|
</ListBox.ItemTemplate>
|
|
|
</ListBox>
|
|
|
|
|
|
- <!--<Grid>
|
|
|
- <Grid.Style>
|
|
|
- <Style>
|
|
|
- <Style.Triggers>
|
|
|
- <DataTrigger Binding="{Binding WAInfo.ModuleData.IsInstalled, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" Value="false">
|
|
|
- <Setter Property="Grid.Visibility" Value="Collapsed"/>
|
|
|
- </DataTrigger>
|
|
|
- </Style.Triggers>
|
|
|
- </Style>
|
|
|
- </Grid.Style>
|
|
|
- </Grid>-->
|
|
|
+
|
|
|
</Grid>
|
|
|
</Grid>
|
|
|
</UserControl>
|