| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 | <UserControl x:Class="CyberX8_Themes.UserControls.EFEMFrontView"             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="CyberX8_Themes.UserControls"             xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"             xmlns:cal="http://www.caliburn.org"                  xmlns:ctrl="http://OpenSEMI.Ctrlib.com/presentation" x:Name="robotFrontView">    <Grid x:Name="EFEM" HorizontalAlignment="Center" VerticalAlignment="Center">                <Grid.RowDefinitions>            <RowDefinition Height="Auto"/>            <RowDefinition />        </Grid.RowDefinitions>        <Canvas x:Name="canvas"  PreviewDrop="Canvas_Drop" AllowDrop="True" Background="Transparent" Grid.RowSpan="2"/>        <TextBlock Text="{Binding ElementName=robotFrontView,Path=Title}" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" VerticalAlignment="Center" HorizontalAlignment="Center">            <TextBlock.Style>                <Style>                    <Style.Triggers>                        <DataTrigger Binding="{Binding ShowTitle,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" Value="False">                            <Setter Property="TextBlock.Visibility" Value="Collapsed" />                        </DataTrigger>                    </Style.Triggers>                </Style>            </TextBlock.Style>        </TextBlock>        <Border Grid.Row="1" BorderThickness="1" BorderBrush="{DynamicResource FOUP_OuterBD}" Background="{DynamicResource FOUP_OuterBG}" HorizontalAlignment="Center" VerticalAlignment="Center" Width="150" Margin="0,5"  CornerRadius="4">            <Grid Height="60">                <Rectangle Fill="{DynamicResource FOUP_InnerBG}" Margin="3" RadiusX="2" RadiusY="2"/>                <Rectangle Fill="{DynamicResource FOUP_OuterBG}" Margin="5,38,5,66" RadiusX="0" RadiusY="1"/>                <Rectangle Fill="{DynamicResource FOUP_InnerGrow}" Margin="8,8,8,76" RadiusX="2" RadiusY="2">                    <Rectangle.Effect>                        <BlurEffect Radius="15"/>                    </Rectangle.Effect>                </Rectangle>                <Rectangle Fill="{DynamicResource FOUP_InnerGrow}" Margin="8,38,8,8" RadiusX="2" RadiusY="2">                    <Rectangle.Effect>                        <BlurEffect Radius="15"/>                    </Rectangle.Effect>                </Rectangle>                <Grid Margin="0,5">                    <Grid.RowDefinitions>                        <RowDefinition Height="30"/>                        <RowDefinition Height="15"/>                    </Grid.RowDefinitions>                    <Grid.ColumnDefinitions>                        <ColumnDefinition Width="47"/>                        <ColumnDefinition />                    </Grid.ColumnDefinitions>                    <TextBlock Text="Upper" FontFamily="Arial" FontSize="12" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,7,0,10"/>                    <StackPanel Grid.Column="1" VerticalAlignment="Center" Margin="0,0,5,0">                        <ctrl:Slot ViewType="Front" AllowDrop="True" Cursor="Hand" x:Name="EFEMUpper" DataContext="{ Binding ElementName=robotFrontView,Path=UnitData.WaferManager.Wafers[1]}" WaferStatus="{Binding WaferStatus}" SlotID="{Binding SlotID}" ModuleID="{Binding ModuleID}" SourceName="{Binding SourceName}" HorizontalAlignment="Center" VerticalAlignment="Top" SlotMouseButtonDown="Slot_SlotMouseButtonDown" WaferTransferStarted="Slot_WaferTransferStarted">                        </ctrl:Slot>                        <Rectangle Width="30" Height="3" Fill="{DynamicResource FOUP_PathBG}" Margin="0,2,0,0"  RadiusX="0.5" RadiusY="0.5">                            <Rectangle.Effect>                                <DropShadowEffect Direction="270" BlurRadius="0" ShadowDepth="1"/>                            </Rectangle.Effect>                        </Rectangle>                    </StackPanel>                    <TextBlock Grid.Row="1" Text="Lower" FontFamily="Arial" FontSize="12" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,0,7"/>                    <StackPanel Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" Margin="0,-5,5,0">                        <ctrl:Slot ViewType="Front" AllowDrop="True" Cursor="Hand" x:Name="EFEMLower" DataContext="{Binding UnitData.WaferManager.Wafers[0],RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" WaferStatus="{Binding WaferStatus}" SlotID="{Binding SlotID}" ModuleID="{Binding ModuleID}" SourceName="{Binding SourceName}" HorizontalAlignment="Center" VerticalAlignment="Top" SlotMouseButtonDown="Slot_SlotMouseButtonDown" WaferTransferStarted="Slot_WaferTransferStarted">                               </ctrl:Slot>                        <Rectangle Width="30" Height="3" Fill="{DynamicResource FOUP_PathBG}" Margin="0,2,0,0"  RadiusX="0.5" RadiusY="0.5">                            <Rectangle.Effect>                                <DropShadowEffect Direction="270" BlurRadius="0" ShadowDepth="1"/>                            </Rectangle.Effect>                        </Rectangle>                    </StackPanel>                </Grid>            </Grid>        </Border>    </Grid></UserControl>
 |