| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 | <UserControl x:Class="PunkHPX8_Themes.UserControls.RobotFrontView"             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:PunkHPX8_Themes.UserControls"             xmlns:ctrl="http://OpenSEMI.Ctrlib.com/presentation"             xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"             xmlns:cal="http://www.caliburn.org" x:Name="self"                 mc:Ignorable="d"              >    <Grid HorizontalAlignment="Center" VerticalAlignment="Center">        <Grid.RowDefinitions>            <RowDefinition Height="Auto"/>            <RowDefinition Height="Auto"/>        </Grid.RowDefinitions>        <Canvas x:Name="canvas"  PreviewDrop="Canvas_Drop" AllowDrop="True" Background="Transparent" Grid.RowSpan="2"/>        <Rectangle Width="30" Height="3" Fill="{DynamicResource FOUP_PathBG}" Margin="81,26,39,8"  RadiusX="0.5" RadiusY="0.5" Panel.ZIndex="2">            <Rectangle.Effect>                <DropShadowEffect Direction="270" BlurRadius="0" ShadowDepth="1"/>            </Rectangle.Effect>        </Rectangle>        <Border Grid.Row="0" BorderThickness="1" BorderBrush="{DynamicResource FOUP_OuterBD}" Background="{DynamicResource FOUP_OuterBG}" HorizontalAlignment="Center" VerticalAlignment="Center" Width="150"  CornerRadius="4" Height="35">            <Grid Height="33">                <Rectangle Fill="{DynamicResource FOUP_InnerBG}" Margin="3,3,3,3" RadiusX="2" RadiusY="2"/>                <Grid Margin="0,5">                    <Grid.RowDefinitions>                        <RowDefinition Height="30"/>                    </Grid.RowDefinitions>                    <Grid.ColumnDefinitions>                        <ColumnDefinition Width="47"/>                        <ColumnDefinition />                    </Grid.ColumnDefinitions>                    <TextBlock Text="Upper" FontFamily="Arial" FontSize="12" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,5,0,0"/>                    <StackPanel Grid.Column="1" VerticalAlignment="Top" Margin="0,5,5,0">                        <ctrl:Slot ViewType="Front" AllowDrop="True" Cursor="Hand" DataContext="{Binding UnitData.WaferManager.Wafers[1], ElementName=self}" WaferStatus="{Binding WaferStatus}" SlotID="{Binding SlotID}" ModuleID="{Binding ModuleID}" SourceName="{Binding SourceName}" SlotMouseButtonDown="Slot_SlotMouseButtonDown" WaferTransferStarted="Slot_WaferTransferStarted"/>                    </StackPanel>                </Grid>            </Grid>        </Border>        <Rectangle Height="15" Fill="{DynamicResource FOUP_InnerBG}" Margin="4,30,4,30" Panel.ZIndex="2" Grid.RowSpan="2"/>        <Rectangle Width="30" Height="3" Fill="{DynamicResource FOUP_PathBG}" Margin="81,26,39,8"  RadiusX="0.5" RadiusY="0.5" Panel.ZIndex="2" Grid.Row="1">            <Rectangle.Effect>                <DropShadowEffect Direction="270" BlurRadius="0" ShadowDepth="1"/>            </Rectangle.Effect>        </Rectangle>        <Border Grid.Row="1" BorderThickness="1" BorderBrush="{DynamicResource FOUP_OuterBD}" Background="{DynamicResource FOUP_OuterBG}" HorizontalAlignment="Center" VerticalAlignment="Center" Width="150"  CornerRadius="4" Height="35">            <Grid Height="33">                <Rectangle Fill="{DynamicResource FOUP_InnerBG}" Margin="3,3,3,3" RadiusX="2" RadiusY="2"/>                <Grid Margin="0,5">                    <Grid.RowDefinitions>                        <RowDefinition Height="30"/>                    </Grid.RowDefinitions>                    <Grid.ColumnDefinitions>                        <ColumnDefinition Width="47"/>                        <ColumnDefinition />                    </Grid.ColumnDefinitions>                    <TextBlock Text="Down" FontFamily="Arial" FontSize="12" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,5,0,0"/>                    <StackPanel Grid.Column="1" VerticalAlignment="Top" Margin="0,5,5,0">                        <ctrl:Slot ViewType="Front" AllowDrop="True" Cursor="Hand" DataContext="{Binding UnitData.WaferManager.Wafers[0], ElementName=self}" WaferStatus="{Binding WaferStatus}" SlotID="{Binding SlotID}" ModuleID="{Binding ModuleID}" SourceName="{Binding SourceName}" SlotMouseButtonDown="Slot_SlotMouseButtonDown" WaferTransferStarted="Slot_WaferTransferStarted"/>                    </StackPanel>                </Grid>            </Grid>        </Border>    </Grid></UserControl>
 |