123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354 |
- <UserControl x:Class="Aitex.Sorter.UI.Views.OperationView"
- 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:uc="clr-namespace:Aitex.Sorter.UI.Controls"
- xmlns:Common="clr-namespace:Aitex.Sorter.Common;assembly=Aitex.Sorter.Common"
- xmlns:ctrlCommon="clr-namespace:Aitex.Sorter.UI.Controls.Common"
- xmlns:deviceControl="clr-namespace:Aitex.Core.UI.DeviceControl;assembly=MECF.Framework.UI.Core"
- xmlns:equipment="clr-namespace:MECF.Framework.Common.Equipment;assembly=MECF.Framework.Common"
- mc:Ignorable="d"
- Height="800" Width="1920">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="480"/>
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="180" />
- </Grid.ColumnDefinitions>
- <Grid Grid.Column="0">
- <Grid Height="668">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="10" />
- <ColumnDefinition Width="188" />
- <ColumnDefinition Width="60" />
- <ColumnDefinition Width="188" />
- </Grid.ColumnDefinitions>
- <uc:Foup Grid.Column="1" x:Name="foup1" Title="Carrier 1" SlotCount="25" Slots="{Binding FoupAWaferInfo}" Station="{Binding Source={x:Static equipment:ModuleName.LP1}}" SlotTransferInfo="{Binding LocalControlJob.TransferSlotInfoA}"></uc:Foup>
- <uc:Foup Grid.Column="3" x:Name="foup2" Title="Carrier 2" SlotCount="25" Slots="{Binding FoupBWaferInfo}" Station="{Binding Source={x:Static equipment:ModuleName.LP2}}" SlotTransferInfo="{Binding LocalControlJob.TransferSlotInfoB}"></uc:Foup>
- </Grid>
- </Grid>
- <Grid Grid.Column="1" VerticalAlignment="Top">
- <Grid.RowDefinitions>
- <RowDefinition Height="190" />
- <RowDefinition Height="390" />
- <RowDefinition Height="220" />
- </Grid.RowDefinitions>
- <Border HorizontalAlignment="Left" VerticalAlignment="Top" BorderThickness="1" BorderBrush="#84a567" Margin="523,80,0,0" Height="100" Width="230">
- <DockPanel Background="#d6f1ff">
- <Label Content="Aligner" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Background="#7fc7ed" Height="30" />
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="*" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="30" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <deviceControl:AITSensor DeviceData="{Binding SensorPreAlignerWaferOn}" GreenColor="True" LightOnValue="False" />
- <uc:Wafer Height="23.6" Grid.Column="1" Margin="0" Padding="0" Slot="0" WaferItem="{Binding AlignerWaferInfo}" Station="{Binding Source={x:Static equipment:ModuleName.Aligner}}" ShowSlot="True" />
- <Border Grid.Row="1" Grid.ColumnSpan="2" BorderBrush="Gray" BorderThickness="1">
- <Grid ctrlCommon:GridHelper.Column0="LightBlue" ctrlCommon:GridHelper.Column1="Transparent">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Label Content="Status" />
- <Label Content="{Binding AlignerState}" Grid.Column="1" Style="{StaticResource MiddleCenterLabel}" Background="{Binding AlignerState,Converter={StaticResource deviceStateColorConverter}}"/>
- </Grid>
- </Border>
- </Grid>
- </DockPanel>
- </Border>
- <Border HorizontalAlignment="Left" VerticalAlignment="Top" BorderThickness="1" BorderBrush="#84a567" Height="180" Width="230" Margin="31,5,0,0">
- <DockPanel Background="#d6f1ff">
- <Label Content="Robot" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Background="#7fc7ed" Height="30" />
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="*" />
- <RowDefinition Height="*" />
- <RowDefinition Height="2*" />
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="30" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <deviceControl:AITSensor DeviceData="{Binding SensorRobotFork2WaferOn}" GreenColor="True" LightOnValue="False" />
- <uc:Wafer Height="23.6" Margin="0" Padding="0" Grid.Column="1" Slot="1" WaferItem="{Binding RobotWaferInfo2}" Station="{Binding Source={x:Static equipment:ModuleName.Robot}}" ShowSlot="True" />
- <deviceControl:AITSensor Grid.Row="1" DeviceData="{Binding SensorRobotFork1WaferOn}" LightOnValue="False" GreenColor="True" />
- <uc:Wafer Grid.Row="1" Height="23.6" Margin="0" Padding="0" Grid.Column="1" Slot="0" WaferItem="{Binding RobotWaferInfo1}" Station="{Binding Source={x:Static equipment:ModuleName.Robot}}" ShowSlot="True" />
- <Border Grid.Row="2" Grid.ColumnSpan="2" BorderBrush="Gray" BorderThickness="1">
- <Grid ctrlCommon:GridHelper.Column0="LightBlue" ctrlCommon:GridHelper.Column1="Transparent">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="*" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <Label Content="Status"/>
- <Label Content="{Binding RobotState}" Grid.Column="1" Style="{StaticResource MiddleCenterLabel}" Background="{Binding RobotState,Converter={StaticResource deviceStateColorConverter}}"/>
- <Label Content="Speed" Grid.Row="1"/>
- <Label Content="{Binding RobotSpeed}" Grid.Row="1" Grid.Column="1" Style="{StaticResource MiddleCenterLabel}"/>
- </Grid>
- </Border>
- </Grid>
- </DockPanel>
- </Border>
- <uc:EFEM Margin="156,144,204,46" x:Name="efem" Grid.RowSpan="2" />
- <Border Grid.Row="0" Grid.RowSpan="3" HorizontalAlignment="Left" VerticalAlignment="Top" BorderThickness="1" BorderBrush="#84a567" Margin="850,17,0,0" Height="750" Width="400">
- <DockPanel Background="#d6f1ff">
- <Label Content="Recipe" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Background="#7fc7ed" Height="30" />
- <Grid>
- <Grid.Resources>
- <Style TargetType="Label" BasedOn="{StaticResource {x:Type Label}}">
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="HorizontalAlignment" Value="Center" />
- </Style>
- </Grid.Resources>
- <Grid.RowDefinitions>
- <RowDefinition Height="50" />
- <RowDefinition Height="50" />
- <RowDefinition Height="40" />
- <RowDefinition Height="330" />
- <RowDefinition Height="40" />
- <RowDefinition Height="210" />
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Button Content="Select Recipe" Grid.Column="0" Grid.Row="0" Command="{Binding Path=RecipeSelectCommand}" HorizontalAlignment="Left" />
- <Label Grid.Column="1" Grid.Row="0" Grid.ColumnSpan="2" HorizontalAlignment="Left" >
- <Run Text="{Binding LocalControlJob.Name}" />
- </Label>
- <Grid Grid.Column="0" Grid.ColumnSpan="3" Grid.Row="1">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"></ColumnDefinition>
- <ColumnDefinition Width="*"></ColumnDefinition>
- <ColumnDefinition Width="*"></ColumnDefinition>
- <ColumnDefinition Width="*"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Button Content="Start" Grid.Column="0" Command="{Binding Path=RecipeStartCommand}" />
- <Button Content="Pause" Grid.Column="1" Command="{Binding Path=RecipePauseCommand}" />
- <Button Content="Resume" Grid.Column="2" Command="{Binding Path=RecipeResumeCommand}" />
- <Button Content="Stop" Grid.Column="3" Command="{Binding Path=RecipeStopCommand}" />
- </Grid>
- <Label Content="Recipe Setting" Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3" Width="400" Style="{StaticResource label}" />
- <Grid Grid.Row="3" Grid.ColumnSpan="3" ctrlCommon:GridHelper.Column0="LightBlue" ctrlCommon:GridHelper.Column1="Transparent">
- <Grid.Resources>
- <Style TargetType="Label" BasedOn="{StaticResource {x:Type Label}}">
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="HorizontalAlignment" Value="Left" />
- <Setter Property="Margin" Value="10,0,0,0" />
- </Style>
- </Grid.Resources>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="180" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="40" />
- <RowDefinition Height="40" />
- <RowDefinition Height="40" />
- <RowDefinition Height="40" />
- <RowDefinition Height="40" />
- <RowDefinition Height="40" />
- <RowDefinition Height="40" />
- <RowDefinition Height="40" />
- </Grid.RowDefinitions>
- <Label Grid.Row="0" Content="Type" />
- <Label Grid.Row="0" Grid.Column="1" Content="{Binding LocalControlJob.RecipeType}" />
- <Label Grid.Row="1" Content="Source" />
- <Label Grid.Row="1" Grid.Column="1" Content="{Binding LocalControlJob.Source}" />
- <Label Grid.Row="2" Content="Destination" />
- <Label Grid.Row="2" Grid.Column="1" Content="{Binding LocalControlJob.Destination}" />
- <Label Grid.Row="3" Content="Place Mode" />
- <Label Grid.Row="3" Grid.Column="1" Content="{Binding LocalControlJob.PlaceMode}" />
- <Label Grid.Row="4" Content="Read Laser Mark" />
- <Label Grid.Row="4" Grid.Column="1" Content="{Binding LocalControlJob.IsReadLaserMarker}" />
- <Label Grid.Row="5" Content="Read T7 Code" />
- <Label Grid.Row="5" Grid.Column="1" Content="{Binding LocalControlJob.IsReadT7Code}" />
- <Label Grid.Row="6" Content="Align" />
- <Label Grid.Row="6" Grid.Column="1" Content="{Binding LocalControlJob.IsAlign}" />
- <Label Grid.Row="7" Content="Align Angle" />
- <Label Grid.Row="7" Grid.Column="1" Content="{Binding LocalControlJob.AlignAngle}" />
- </Grid>
- <Label Content="Process Information" Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="3" Width="400" Style="{StaticResource label}" />
- <Grid Grid.Row="5" Grid.ColumnSpan="5" ctrlCommon:GridHelper.Column0="LightBlue" ctrlCommon:GridHelper.Column1="Transparent">
- <Grid.Resources>
- <Style TargetType="Label" BasedOn="{StaticResource {x:Type Label}}">
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="HorizontalAlignment" Value="Left" />
- <Setter Property="Margin" Value="10,0,0,0" />
- </Style>
- </Grid.Resources>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="180" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="40" />
- <RowDefinition Height="40" />
- <RowDefinition Height="40" />
- <RowDefinition Height="40" />
- <RowDefinition Height="40" />
- </Grid.RowDefinitions>
- <Label Grid.Row="0" Content="Elapse Time(s)" />
- <Label Grid.Row="0" Grid.Column="1" Content="{Binding TransferTime}" />
- <Label Grid.Row="1" Content="Wafer Count" />
- <Label Grid.Row="1" Grid.Column="1" Content="{Binding TransferCount}" />
- <Label Grid.Row="2" Content="Throughput" />
- <Label Grid.Row="2" Grid.Column="1" Content="{Binding TranserThroughput}" />
- <Label Grid.Row="3" Content="Total Wafer Count" />
- <Label Grid.Row="3" Grid.Column="1" Content="{Binding TotalWaferCount}" />
- <Label Grid.Row="4" Content="Cycle Count" />
- <Label Grid.Row="4" Grid.Column="1" Content="{Binding CycleCount}" />
- </Grid>
- </Grid>
- </DockPanel>
- </Border>
- <uc:HeaderPanel Header="LoadPort 1" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="0,20,0,0" Height="172" Width="350" Grid.Row="2">
- <Grid ctrlCommon:GridHelper.Column0="LightBlue" ctrlCommon:GridHelper.Column1="Transparent">
- <Grid.RowDefinitions>
- <RowDefinition Height="40" />
- <RowDefinition Height="40" />
- <RowDefinition Height="60" />
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Label Content="Status" />
- <Label Grid.Column="1" Content="{Binding LoadportAState}" Background="{Binding LoadportAState,Converter={StaticResource deviceStateColorConverter}}"/>
- <Label Content="Carrier ID" Grid.Row="1" />
- <Label Content="{Binding FoupAID}" Grid.Column="1" Grid.Row="1" />
- <StackPanel Orientation="Horizontal" Grid.Row="2" Grid.ColumnSpan="2" HorizontalAlignment="Center">
- <Button Content="Load" Command="{Binding LoadPortACommand}" CommandParameter="{x:Static Common:OperationName.ReadFoupID}" />
- <Button Content="Proceed" Command="{Binding LoadPortACommand}" CommandParameter="{x:Static Common:OperationName.LoadFoup}" />
- <Button Content="Unload" Command="{Binding LoadPortACommand}" CommandParameter="{x:Static Common:OperationName.UnloadFoup}" />
- </StackPanel>
- </Grid>
- </uc:HeaderPanel>
- <uc:HeaderPanel Header="LoadPort 2" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="380,20,0,0" Height="172" Width="350" Grid.Row="2">
- <Grid ctrlCommon:GridHelper.Column0="LightBlue" ctrlCommon:GridHelper.Column1="Transparent">
- <Grid.RowDefinitions>
- <RowDefinition Height="40" />
- <RowDefinition Height="40" />
- <RowDefinition Height="60" />
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Label Content="Status" />
- <Label Grid.Column="1" Content="{Binding LoadportBState}" Background="{Binding LoadportBState,Converter={StaticResource deviceStateColorConverter}}" />
- <Label Content="Carrier ID" Grid.Row="1" />
- <Label Content="{Binding FoupBID}" Grid.Column="1" Grid.Row="1" />
- <StackPanel Orientation="Horizontal" Grid.Row="2" Grid.ColumnSpan="2" HorizontalAlignment="Center">
- <Button Content="Load" Command="{Binding LoadPortBCommand}" CommandParameter="{x:Static Common:OperationName.ReadFoupID}" />
- <Button Content="Proceed" Command="{Binding LoadPortBCommand}" CommandParameter="{x:Static Common:OperationName.LoadFoup}" />
- <Button Content="Unload" Command="{Binding LoadPortBCommand}" CommandParameter="{x:Static Common:OperationName.UnloadFoup}" />
- </StackPanel>
- </Grid>
- </uc:HeaderPanel>
- </Grid>
- <Grid Grid.Column="2" Background="#eaedef">
- <Grid.RowDefinitions>
- <RowDefinition Height="240" />
- <RowDefinition Height="140" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <Border Grid.Row="0" HorizontalAlignment="Center" Background="White" VerticalAlignment="Top" BorderThickness="1" BorderBrush="LightGray" CornerRadius="4" Width="160" Height="220" Margin="10">
- <WrapPanel Margin="2" HorizontalAlignment="Center" Orientation="Vertical">
- <Label Content="System" Foreground="#035092" HorizontalContentAlignment="Center" Height="35" />
- <Line DockPanel.Dock="Top" X1="10" Y1="0" Y2="0" X2="140" Stroke="Black" StrokeThickness="1" />
- <Grid Margin="0,8,0,0">
- <Grid.RowDefinitions>
- <RowDefinition Height="40" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <TextBlock Text="{Binding RtStatus}" />
- <WrapPanel Grid.Row="1">
- <Button Content="Home All" Height="50" Width="120" Command="{Binding OperationCommand}" CommandParameter="HomeAll" />
- <Button Content="Abort" Height="50" Width="120" Command="{Binding OperationCommand}" CommandParameter="AbortHomeAll" />
- </WrapPanel>
- </Grid>
- </WrapPanel>
- </Border>
- <Border Visibility="{Binding CycleVisibility}" Grid.Row="2" HorizontalAlignment="Center" Background="White" VerticalAlignment="Top" BorderThickness="1" BorderBrush="LightGray" CornerRadius="4" Width="160" Height="180" Margin="10">
- <WrapPanel Margin="2" HorizontalAlignment="Center" Orientation="Vertical">
- <Label Content="Cycle" Foreground="#035092" HorizontalContentAlignment="Center" Height="35" />
- <Line DockPanel.Dock="Top" X1="10" Y1="0" Y2="0" X2="140" Stroke="Black" StrokeThickness="1" />
- <Grid Margin="0,8,0,0">
- <Grid.RowDefinitions>
- <RowDefinition Height="0" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <WrapPanel Grid.Row="1">
- <Button Content="Start" Height="50" Width="120" Command="{Binding OperationCommand}" CommandParameter="Cycle" />
- <Button Content="Stop" Height="50" Width="120" Command="{Binding OperationCommand}" CommandParameter="Stop" />
- </WrapPanel>
- </Grid>
- </WrapPanel>
- </Border>
- <Border Grid.Row="1" HorizontalAlignment="Center" Background="White" VerticalAlignment="Top" BorderThickness="1" BorderBrush="LightGray" CornerRadius="4" Width="160" Height="120" Margin="10">
- <WrapPanel Margin="2" HorizontalAlignment="Center" Orientation="Vertical">
- <Label Content="Operation" Foreground="#035092" HorizontalContentAlignment="Center" Height="35" />
- <Line DockPanel.Dock="Top" X1="10" Y1="0" Y2="0" X2="140" Stroke="Black" StrokeThickness="1" />
- <Grid Margin="0,8,0,0">
- <Grid.RowDefinitions>
- <RowDefinition Height="0" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <WrapPanel Grid.Row="1">
- <Button Content="Return Wafer" Height="50" Width="120" Command="{Binding OperationCommand}" CommandParameter="ReturnWafer" />
- </WrapPanel>
- </Grid>
- </WrapPanel>
- </Border>
- </Grid>
- </Grid>
- </UserControl>
|