|
@@ -1,11 +1,13 @@
|
|
|
-<UserControl x:Class="Venus_Themes.UserControls.WaferAssociationUnit"
|
|
|
+<UserControl x:Class="Venus_MainPages.Views.WaferAssociationUnit"
|
|
|
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:Venus_Themes.UserControls"
|
|
|
+ xmlns:local="Venus_MainPages.Views"
|
|
|
+ xmlns:unity="clr-namespace:Venus_MainPages.Unity"
|
|
|
+
|
|
|
mc:Ignorable="d"
|
|
|
- d:DesignHeight="450" d:DesignWidth="800">
|
|
|
+ d:DesignHeight="450" d:DesignWidth="800" x:Name="WaferUnit">
|
|
|
<Grid>
|
|
|
<Grid.ColumnDefinitions>
|
|
|
<ColumnDefinition/>
|
|
@@ -16,34 +18,25 @@
|
|
|
<RowDefinition Height="Auto"></RowDefinition>
|
|
|
<RowDefinition></RowDefinition>
|
|
|
</Grid.RowDefinitions>
|
|
|
- <Grid>
|
|
|
+ <Grid unity:GridOptions.ShowBorder="True" unity:GridOptions.LineBrush="#afb4db" unity:GridOptions.LineThickness="1">
|
|
|
<Grid.RowDefinitions>
|
|
|
- <RowDefinition Height="24"></RowDefinition>
|
|
|
<RowDefinition Height="30"></RowDefinition>
|
|
|
<RowDefinition Height="30"></RowDefinition>
|
|
|
- <RowDefinition Height="20"></RowDefinition>
|
|
|
+ <RowDefinition Height="30"></RowDefinition>
|
|
|
+ <RowDefinition Height="30"></RowDefinition>
|
|
|
<RowDefinition Height="Auto"></RowDefinition>
|
|
|
<RowDefinition Height="Auto"></RowDefinition>
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
- <StackPanel Grid.Row="0" Orientation="Horizontal">
|
|
|
- <Border BorderBrush="White" BorderThickness="1,1,1,0" Background="{DynamicResource Table_BG_Title}" Width="90" Padding="5,1">
|
|
|
- <TextBlock Text="Lot ID" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"></TextBlock>
|
|
|
- </Border>
|
|
|
- <Border BorderBrush="White" BorderThickness="0,1,1,0" Background="{DynamicResource Table_BG_Content}" Width="210" Padding="5,1">
|
|
|
- <StackPanel Orientation="Horizontal">
|
|
|
- <!--<ctrl:TextBoxEx Text="{Binding WAInfo.LotId, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" TextSaved="{Binding WAInfo.LotIdSaved, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}, Mode=TwoWay}" Width="138" ></ctrl:TextBoxEx>-->
|
|
|
+ <TextBlock Grid.Row="0" Text="{Binding ElementName=WaferUnit,Path=WAInfo.ModuleData.WaferManager.Wafers.Count}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"></TextBlock>
|
|
|
|
|
|
- </StackPanel>
|
|
|
- </Border>
|
|
|
- </StackPanel>
|
|
|
<StackPanel Grid.Row="1" Orientation="Horizontal">
|
|
|
- <Border BorderBrush="White" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Width="90" Padding="5,1">
|
|
|
+
|
|
|
<TextBlock Text="Sequence" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"></TextBlock>
|
|
|
- </Border>
|
|
|
- <Border BorderBrush="White" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="210" Padding="5,1">
|
|
|
+
|
|
|
+
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
- <TextBox Text="{Binding WAInfo.SequenceName, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" IsReadOnly="True" Width="140" ></TextBox>
|
|
|
+ <TextBox Text="{Binding WAInfo.SequenceName, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" IsReadOnly="True" Width="120" ></TextBox>
|
|
|
<Button Content="选择" Width="50" Margin="5,0,0,0" >
|
|
|
<!--<i:Interaction.Triggers>
|
|
|
<i:EventTrigger EventName="Click">
|
|
@@ -54,11 +47,11 @@
|
|
|
</i:Interaction.Triggers>-->
|
|
|
</Button>
|
|
|
</StackPanel>
|
|
|
- </Border>
|
|
|
+
|
|
|
</StackPanel>
|
|
|
|
|
|
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
|
|
|
- <Button Content="全选" Height="25" Width="150">
|
|
|
+ <Button Content="Select All" Height="25" Width="120">
|
|
|
<!--<i:Interaction.Triggers>
|
|
|
<i:EventTrigger EventName="Click">
|
|
|
<cal:ActionMessage MethodName="SetAll">
|
|
@@ -67,7 +60,7 @@
|
|
|
</i:EventTrigger>
|
|
|
</i:Interaction.Triggers>-->
|
|
|
</Button>
|
|
|
- <Button Content="全不选" Height="25" Width="150">
|
|
|
+ <Button Content="DeSelect All" Height="25" Width="120">
|
|
|
<!--<i:Interaction.Triggers>
|
|
|
<i:EventTrigger EventName="Click">
|
|
|
<cal:ActionMessage MethodName="DeselectAll">
|
|
@@ -78,21 +71,21 @@
|
|
|
</Button>
|
|
|
</StackPanel>
|
|
|
<StackPanel Grid.Row="3" Orientation="Horizontal" >
|
|
|
- <Border BorderBrush="White" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Width="50" Padding="5,1">
|
|
|
+
|
|
|
<TextBlock Text="Name" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"></TextBlock>
|
|
|
- </Border>
|
|
|
- <Border BorderBrush="White" BorderThickness="0,1,1,0" Background="{DynamicResource Table_BG_Content}" Width="90" Padding="5,1">
|
|
|
+
|
|
|
+
|
|
|
<TextBlock x:Name="txtJobID" Foreground="{DynamicResource FG_Black}" Text="{Binding WAInfo.JobID, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" VerticalAlignment="Center" FontSize="12" FontFamily="Arial" Width="Auto" Height="20"></TextBlock>
|
|
|
- </Border>
|
|
|
- <Border BorderBrush="White" BorderThickness="0,1,1,0" Background="{DynamicResource Table_BG_Title}" Width="50" Padding="5,1">
|
|
|
+
|
|
|
+
|
|
|
<TextBlock Text="Status" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"></TextBlock>
|
|
|
- </Border>
|
|
|
- <Border BorderBrush="White" BorderThickness="0,1,1,0" Background="{DynamicResource Table_BG_Content}" Width="110" Padding="5,1">
|
|
|
+
|
|
|
+
|
|
|
<TextBlock VerticalAlignment="Center" Foreground="{DynamicResource FG_Black}" Text="{Binding WAInfo.JobStatus, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" FontSize="12" FontFamily="Arial" Width="Auto" Height="20"></TextBlock>
|
|
|
- </Border>
|
|
|
+
|
|
|
</StackPanel>
|
|
|
<StackPanel Grid.Row="4" Orientation="Horizontal" Margin="0,0" HorizontalAlignment="Left" VerticalAlignment="Center">
|
|
|
- <Button Content="创建作业" Width="150" Height="25" >
|
|
|
+ <Button Content="Create Job" Width="120" Height="25" >
|
|
|
<!--<i:Interaction.Triggers>
|
|
|
<i:EventTrigger EventName="Click">
|
|
|
<cal:ActionMessage MethodName="CreateJob">
|
|
@@ -101,7 +94,7 @@
|
|
|
</i:EventTrigger>
|
|
|
</i:Interaction.Triggers>-->
|
|
|
</Button>
|
|
|
- <Button Content="终止作业" Width="150" Height="25">
|
|
|
+ <Button Content="Abort Job" Width="120" Height="25">
|
|
|
<!--<i:Interaction.Triggers>
|
|
|
<i:EventTrigger EventName="Click">
|
|
|
<cal:ActionMessage MethodName="AbortJob">
|
|
@@ -111,8 +104,8 @@
|
|
|
</i:Interaction.Triggers>-->
|
|
|
</Button>
|
|
|
</StackPanel>
|
|
|
- <StackPanel Grid.Row="5" Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
|
|
|
- <Button Content="开始" Width="90" Height="25">
|
|
|
+ <StackPanel Grid.Row="5" Orientation="Horizontal" VerticalAlignment="Center" >
|
|
|
+ <Button Content="Start" Width="60" Height="25" >
|
|
|
<!--<i:Interaction.Triggers>
|
|
|
<i:EventTrigger EventName="Click">
|
|
|
<cal:ActionMessage MethodName="Start">
|
|
@@ -121,7 +114,7 @@
|
|
|
</i:EventTrigger>
|
|
|
</i:Interaction.Triggers>-->
|
|
|
</Button>
|
|
|
- <Button Content="暂停" Width="90" Height="25" Margin="15,0,0,0">
|
|
|
+ <Button Content="Stop" Width="60" Height="25" Margin="30,0,0,0">
|
|
|
<!--<i:Interaction.Triggers>
|
|
|
<i:EventTrigger EventName="Click">
|
|
|
<cal:ActionMessage MethodName="Pause">
|
|
@@ -130,7 +123,7 @@
|
|
|
</i:EventTrigger>
|
|
|
</i:Interaction.Triggers>-->
|
|
|
</Button>
|
|
|
- <Button Content="继续" Width="90" Height="25" Margin="15,0,0,0">
|
|
|
+ <Button Content="Abort" Width="60" Height="25" Margin="30,0,0,0">
|
|
|
<!--<i:Interaction.Triggers>
|
|
|
<i:EventTrigger EventName="Click">
|
|
|
<cal:ActionMessage MethodName="Resume">
|
|
@@ -143,8 +136,8 @@
|
|
|
</StackPanel>
|
|
|
</Grid>
|
|
|
|
|
|
- <ListBox Grid.Row="1" Focusable="False" IsEnabled="{Binding WAInfo.EnableEditSlot, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}"
|
|
|
- ItemsSource="{Binding WAInfo.ModuleData.WaferManager.Wafers, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" Margin="0,0">
|
|
|
+ <ListBox Grid.Row="1"
|
|
|
+ ItemsSource="{Binding ElementName=WaferUnit,Path=WAInfo.ModuleData.WaferManager.Wafers}" Margin="0,0">
|
|
|
<ListBox.Resources>
|
|
|
<Style TargetType="ListBoxItem" BasedOn="{StaticResource ResourceKey={x:Type ListBoxItem}}">
|
|
|
<Setter Property="Rectangle.StrokeThickness" Value="0"/>
|
|
@@ -159,13 +152,13 @@
|
|
|
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
|
|
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
|
|
</Grid.ColumnDefinitions>
|
|
|
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Width="40" Padding="5,1">
|
|
|
+ <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" 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,1,1,1" Background="{DynamicResource Table_BG_Title}" Width="50" Padding="5,1">
|
|
|
<TextBlock Text="{Binding WaferID}" ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Text}" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"></TextBlock>
|
|
|
</Border>-->
|
|
|
- <Border Grid.Column="1" BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Width="145" Padding="5,1">
|
|
|
+ <Border Grid.Column="1" BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Width="102" Padding="5,1">
|
|
|
<Border.Style>
|
|
|
<Style>
|
|
|
<Style.Triggers>
|