| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037 | <UserControl x:Class="EfemUI.Views.OperationView2LPJet"             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:Common="clr-namespace:Aitex.Sorter.Common;assembly=Aitex.Sorter.Common"             xmlns:ctrlCommon="clr-namespace:Aitex.Sorter.UI.Controls.Common;assembly=Aitex.Sorter.UI"             xmlns:ctrl="clr-namespace:Aitex.Sorter.UI.Controls;assembly=Aitex.Sorter.UI"             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"             xmlns:controls1="clr-namespace:EfemUI.Controls"			 x:Name="root"			 mc:Ignorable="d"                Height="800"  Width="1920">    <Grid IsEnabled="{Binding EnablePageControl}">        <Grid.ColumnDefinitions>            <ColumnDefinition Width="auto"/>            <ColumnDefinition Width="*" />        </Grid.ColumnDefinitions>        <Viewbox Stretch="Fill" Width="560" Margin="10,100,10,100" Grid.Column="0" Visibility="{Binding SlotShow2}">            <controls1:FoupListControlPro1 x:Name="foupList" FoupList="{Binding FoupList}" LoadPortCommand="{Binding LoadPortCommand}" WaferTransferOptionCommand="{Binding WaferTransferOptionCommand}" />        </Viewbox>        <Viewbox Stretch="Fill" Width="560" Margin="10,100,10,100" Grid.Column="0" Visibility="{Binding SlotShow1}">            <controls1:FoupListControlPro x:Name="foupList1"  FoupList="{Binding FoupList}" LoadPortCommand="{Binding LoadPortCommand}" WaferTransferOptionCommand="{Binding WaferTransferOptionCommand}" />        </Viewbox>        <Grid Grid.Column="1">            <Grid.ColumnDefinitions>                <ColumnDefinition Width="*" />                <ColumnDefinition Width="auto" />            </Grid.ColumnDefinitions>            <StackPanel Orientation="Horizontal">                <Border  Grid.Row="1" HorizontalAlignment="Center" Background="White" VerticalAlignment="Top" BorderThickness="1" BorderBrush="LightGray" CornerRadius="4" Width="300" Height="110" 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="280" Stroke="Black" StrokeThickness="1" />                        <Grid Margin="0,8,0,0">                            <Grid.RowDefinitions>                                <RowDefinition Height="0" />                                <RowDefinition Height="*" />                            </Grid.RowDefinitions>                            <WrapPanel Grid.Row="1" HorizontalAlignment="Center">                                <Button Content="Home All" Height="36" Width="120"  IsEnabled="{Binding IsHomeAllButtonEnabled}" Command="{Binding InvokeCommand}"   CommandParameter="HomeAll" />                                <Button Content="Abort" Height="36" Width="120"  IsEnabled="{Binding IsAbortHomeAllButtonEnabled}" Command="{Binding InvokeCommand}"   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="440" Height="200" Margin="170,10,10,0">                    <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="370" Stroke="Black" StrokeThickness="1" />                        <Grid Margin="0,8,0,0">                            <Grid.RowDefinitions>                                <RowDefinition Height="45" />                                <RowDefinition Height="45" />                                <RowDefinition Height="45" />                            </Grid.RowDefinitions>                            <StackPanel  Orientation="Horizontal">                                <TextBlock Text="Origin:" FontSize="20"></TextBlock>                                <ComboBox Width="120" Height="35" Margin="5,0"  SelectedValue="{Binding CycleFrom}">                                    <ComboBoxItem Content="LP1"></ComboBoxItem>                                    <ComboBoxItem Content="LP2"></ComboBoxItem>                                </ComboBox>                                <TextBlock Text="To:" FontSize="20"></TextBlock>                                <ComboBox Width="120" Height="35" Margin="5"  SelectedValue="{Binding CycleTo}">                                    <ComboBoxItem Content="LP1"></ComboBoxItem>                                    <ComboBoxItem Content="LP2"></ComboBoxItem>                                </ComboBox>                            </StackPanel>                            <WrapPanel Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center">                                <CheckBox VerticalContentAlignment="Center" FontSize="20" IsEnabled="{Binding Aligner1Enable}" IsChecked="{                                    Binding Aligner1IsChecked}">Aligner1</CheckBox>                                <Separator Opacity="0" Width="8"/>                                <CheckBox VerticalContentAlignment="Center" FontSize="20" IsEnabled="{Binding Aligner2Enable}" IsChecked="{Binding Aligner2IsChecked}">Aligner2</CheckBox>                                <Separator Opacity="0" Width="8"/>                                <CheckBox VerticalContentAlignment="Center" FontSize="20" IsChecked="{Binding Ll1IsChecked}">LL1</CheckBox>                                <Separator Opacity="0" Width="8"/>                                <CheckBox VerticalContentAlignment="Center" FontSize="20" IsChecked="{Binding Ll2IsChecked}">LL2</CheckBox>                                <Separator Opacity="0" Width="8"/>                                <CheckBox VerticalContentAlignment="Center" FontSize="20" IsEnabled="{Binding CoolingBuffer1Enable}" IsChecked="{Binding CoolingBuffer1IsChecked}">CoolingBuffer1</CheckBox>                                <Separator Opacity="0" Width="8"/>                                <CheckBox VerticalContentAlignment="Center" FontSize="20" IsEnabled="{Binding CoolingBuffer2Enable}" IsChecked="{Binding CoolingBuffer2IsChecked}">CoolingBuffer2</CheckBox>                            </WrapPanel>                            <WrapPanel Grid.Row="2" HorizontalAlignment="Center">                                <Button Content="Start" Height="36" Width="100"  IsEnabled="{Binding IsHomeAllButtonEnabled}" Command="{Binding StartCycleCommand}"   CommandParameter="Cycle" />                                <Button Content="Stop" Height="36" Width="100"  IsEnabled="{Binding IsHomeAllButtonEnabled}" Command="{Binding InvokeCommand}"   CommandParameter="Stop" />                                <!--Button Content="Benchmark" Height="36" Width="100"  IsEnabled="{Binding IsHomeAllButtonEnabled}" Command="{Binding StartCycleCommand}"   CommandParameter="Benchmark" /-->                            </WrapPanel>                        </Grid>                    </WrapPanel>                </Border>            </StackPanel>                        <Grid Margin="260,280,100,140">                <controls1:EFEM2LPJet x:Name="efem" Aligner1Wafer="{Binding Aligner1Wafer}" Aligner2Wafer="{Binding Aligner2Wafer}" CoolingBuffer1Wafer="{Binding CoolingBuffer1Wafer}" CoolingBuffer2Wafer="{Binding CoolingBuffer2Wafer}"/>            </Grid>            <Border HorizontalAlignment="Left"  BorderThickness="1" BorderBrush="#84a567" Height="158" Width="230" Margin="{Binding RobotThickness}">                <DockPanel Background="{StaticResource Table_BG_Content}">                    <Label Content="Robot" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Style="{StaticResource label}" Width="230" Height="30" />                    <Grid>                        <Grid.RowDefinitions>                            <RowDefinition Height="*" />                            <RowDefinition Height="*" />                            <RowDefinition Height="2*" />                        </Grid.RowDefinitions>                        <Grid.ColumnDefinitions>                            <ColumnDefinition Width="30" />                            <ColumnDefinition Width="*" />                        </Grid.ColumnDefinitions>                        <ctrlCommon:LED Grid.Row="0" Grid.Column="0" On="{Binding IsRightArmPressureSensorON}" />                        <ctrl:Wafer Grid.Row="0" Height="23.6" Margin="0" Padding="0" Grid.Column="1" Slot="1" WaferTransferOptionCommand="{Binding WaferTransferOptionCommand}" WaferItem="{Binding RobotWafer2}" Station="{Binding Source={x:Static equipment:ModuleName.Robot}}" ShowSlot="True" />                        <ctrlCommon:LED Grid.Row="1" On="{Binding IsLeftArmPressureSensorON}" />                        <ctrl:Wafer Grid.Row="1" Height="23.6" Margin="0" Padding="0" Grid.Column="1" Slot="0" WaferTransferOptionCommand="{Binding WaferTransferOptionCommand}" WaferItem="{Binding RobotWafer1}" 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="30" />                                    <RowDefinition Height="30" />                                </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 CurrentReadSpeedData}" Grid.Row="1" Grid.Column="1"  Style="{StaticResource MiddleCenterLabel}"/>                            </Grid>                        </Border>                    </Grid>                </DockPanel>            </Border>            <Border HorizontalAlignment="Left" VerticalAlignment="Bottom" BorderThickness="1" Visibility="{Binding EnableIdentifyThickness}" BorderBrush="#84a567" Height="158" Width="195" Margin="260,0,0,10">                <DockPanel Background="{StaticResource Table_BG_Content}">                    <Label Content="LP1" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Style="{StaticResource label}" Width="230" Height="30" />                    <Grid>                        <Grid.RowDefinitions>                            <RowDefinition Height="*" />                            <RowDefinition Height="*" />                            <RowDefinition Height="*" />                            <RowDefinition Height="*" />                        </Grid.RowDefinitions>                        <Grid.ColumnDefinitions>                            <ColumnDefinition Width="100" />                            <ColumnDefinition Width="*" />                        </Grid.ColumnDefinitions>                        <Button  Grid.Column="0" Grid.Row="0" Command="{Binding SetWaferThick}" CommandParameter="LP1"   Margin="8,0,0,0"  Width="80" Height="25" Content="Thick"  VerticalAlignment="Center" />                        <Button  Grid.Column="1" Grid.Row="0" Command="{Binding SetWaferThin}" CommandParameter="LP1"   Margin="0,0,0,0"  Width="80" Height="25" Content="Thin"  VerticalAlignment="Center" />                        <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>                                <Grid.RowDefinitions>                                    <RowDefinition Height="30" />                                </Grid.RowDefinitions>                                <Label Content="Type"/>                                <Label Content="{Binding LP1WaferThickness}" Grid.Column="1"  Style="{StaticResource MiddleCenterLabel}"/>                            </Grid>                        </Border>                        <Button  Grid.Column="0" Grid.Row="2" Command="{Binding SetLPSlot13}" CommandParameter="LP1"   Margin="8,0,0,0"  Width="80" Height="25" Content="13'"  VerticalAlignment="Center" />                        <Button  Grid.Column="1" Grid.Row="2" Command="{Binding SetLPSlot25}" CommandParameter="LP1"   Margin="0,0,0,0"  Width="80" Height="25" Content="25'"  VerticalAlignment="Center" />                        <Border Grid.Row="3" 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="30" />                                </Grid.RowDefinitions>                                <Label Content="Slots"/>                                <Label Content="{Binding LP1ValidSlotsNumber}" Grid.Column="1"  Style="{StaticResource MiddleCenterLabel}"/>                            </Grid>                        </Border>                    </Grid>                </DockPanel>            </Border>            <Border HorizontalAlignment="Left" VerticalAlignment="Bottom" BorderThickness="1" Visibility="{Binding EnableIdentifyThickness}" BorderBrush="#84a567" Height="158" Width="195" Margin="472,0,0,10">                <DockPanel Background="{StaticResource Table_BG_Content}">                    <Label Content="LP2" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Style="{StaticResource label}" Width="230" Height="30" />                    <Grid>                        <Grid.RowDefinitions>                            <RowDefinition Height="*" />                            <RowDefinition Height="*" />                            <RowDefinition Height="*" />                            <RowDefinition Height="*" />                        </Grid.RowDefinitions>                        <Grid.ColumnDefinitions>                            <ColumnDefinition Width="100" />                            <ColumnDefinition Width="*" />                        </Grid.ColumnDefinitions>                        <Button  Grid.Column="0" Grid.Row="0" Command="{Binding SetWaferThick}" CommandParameter="LP2"   Margin="8,0,0,0"  Width="80" Height="25" Content="Thick"  VerticalAlignment="Center" />                        <Button  Grid.Column="1" Grid.Row="0" Command="{Binding SetWaferThin}" CommandParameter="LP2"   Margin="0,0,0,0"  Width="80" Height="25" Content="Thin"  VerticalAlignment="Center" />                        <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>                                <Grid.RowDefinitions>                                    <RowDefinition Height="Auto" />                                </Grid.RowDefinitions>                                <Label Content="Type"/>                                <Label Content="{Binding LP2WaferThickness}" Grid.Column="1"  Style="{StaticResource MiddleCenterLabel}" />                            </Grid>                        </Border>                        <Button  Grid.Column="0" Grid.Row="2" Command="{Binding SetLPSlot13}" CommandParameter="LP2"   Margin="8,0,0,0"  Width="80" Height="25" Content="13'"  VerticalAlignment="Center" />                        <Button  Grid.Column="1" Grid.Row="2" Command="{Binding SetLPSlot25}" CommandParameter="LP2"   Margin="0,0,0,0"  Width="80" Height="25" Content="25'"  VerticalAlignment="Center" />                        <Border Grid.Row="4" Grid.ColumnSpan="2" BorderBrush="Gray" BorderThickness="1">                            <Grid ctrlCommon:GridHelper.Column0="LightBlue" ctrlCommon:GridHelper.Column1="Transparent" Margin="1,-1,-1,1">                                <Grid.ColumnDefinitions>                                    <ColumnDefinition Width="*" />                                    <ColumnDefinition Width="*" />                                </Grid.ColumnDefinitions>                                <Grid.RowDefinitions>                                    <RowDefinition Height="Auto" />                                </Grid.RowDefinitions>                                <Label Content="Slots"/>                                <Label Content="{Binding LP2ValidSlotsNumber}" Grid.Column="1"  Style="{StaticResource MiddleCenterLabel}" />                            </Grid>                        </Border>                    </Grid>                </DockPanel>            </Border>            <Border HorizontalAlignment="Left" VerticalAlignment="Bottom" BorderThickness="1" Visibility="{Binding EnableIdentifyThickness}" BorderBrush="#84a567" Height="93" Width="195" Margin="715,0,0,278">                <DockPanel Background="{StaticResource Table_BG_Content}">                    <Label Content="Aligner1" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Style="{StaticResource label}" Width="230" Height="30" />                    <Grid>                        <Grid.RowDefinitions>                            <RowDefinition Height="*" />                            <RowDefinition Height="*" />                        </Grid.RowDefinitions>                        <Grid.ColumnDefinitions>                            <ColumnDefinition Width="100" />                            <ColumnDefinition Width="*" />                        </Grid.ColumnDefinitions>                        <Button  Grid.Column="0" Grid.Row="0" Command="{Binding SetWaferThick}" CommandParameter="Aligner1"   Margin="8,0,0,0"  Width="80" Height="25" Content="Thick"  VerticalAlignment="Center" />                        <Button  Grid.Column="1" Grid.Row="0" Command="{Binding SetWaferThin}" CommandParameter="Aligner1"   Margin="0,0,0,0"  Width="80" Height="25" Content="Thin"  VerticalAlignment="Center" />                        <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="Auto" />                                </Grid.RowDefinitions>                                <Label Content="Type"/>                                <Label Content="{Binding Aligner1WaferThickness}" Grid.Column="1"  Style="{StaticResource MiddleCenterLabel}" />                            </Grid>                        </Border>                    </Grid>                </DockPanel>            </Border>            <Border HorizontalAlignment="Left" VerticalAlignment="Bottom" BorderThickness="1" Visibility="{Binding EnableMultiWaferSize}" BorderBrush="#84a567" Height="93" Width="195" Margin="715,0,0,278">                <DockPanel Background="{StaticResource Table_BG_Content}">                    <Label Content="Aligner1" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Style="{StaticResource label}" Width="230" Height="30" />                    <Grid>                        <Grid.RowDefinitions>                            <RowDefinition Height="*" />                            <RowDefinition Height="*" />                        </Grid.RowDefinitions>                        <Grid.ColumnDefinitions>                            <ColumnDefinition Width="70" />                            <ColumnDefinition Width="70" />                            <ColumnDefinition Width="*" />                        </Grid.ColumnDefinitions>                        <Button  Grid.Column="0" Grid.Row="0" Command="{Binding SetWaferSize4}" CommandParameter="Aligner1"   Margin="8,0,0,0"  Width="40" Height="25" Content="4'"  VerticalAlignment="Center" />                        <Button  Grid.Column="1" Grid.Row="0" Command="{Binding SetWaferSize6}" CommandParameter="Aligner1"   Margin="0,0,0,0"  Width="40" Height="25" Content="6'"  VerticalAlignment="Center" />                        <Button  Grid.Column="2" Grid.Row="0" Command="{Binding SetWaferSize8}" CommandParameter="Aligner1"   Margin="0,0,0,0"  Width="40" Height="25" Content="8'"  VerticalAlignment="Center" />                        <Border Grid.Row="2" Grid.ColumnSpan="3" 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="Auto" />                                </Grid.RowDefinitions>                                <Label Content="Size"/>                                <Label Content="{Binding WaferSizeAligner1}" Grid.Column="1"  Style="{StaticResource MiddleCenterLabel}" />                            </Grid>                        </Border>                    </Grid>                </DockPanel>            </Border>            <Border HorizontalAlignment="Left" VerticalAlignment="Bottom" BorderThickness="1" Visibility="{Binding EnableIdentifyThickness}" BorderBrush="#84a567" Height="93" Width="195" Margin="715,0,0,382">                <DockPanel Background="{StaticResource Table_BG_Content}">                    <Label Content="Aligner2" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Style="{StaticResource label}" Width="230" Height="30" />                    <Grid>                        <Grid.RowDefinitions>                            <RowDefinition Height="*" />                            <RowDefinition Height="*" />                        </Grid.RowDefinitions>                        <Grid.ColumnDefinitions>                            <ColumnDefinition Width="100" />                            <ColumnDefinition Width="*" />                        </Grid.ColumnDefinitions>                        <Button  Grid.Column="0" Grid.Row="0" Command="{Binding SetWaferThick}" CommandParameter="Aligner2"   Margin="8,0,0,0"  Width="80" Height="25" Content="Thick"  VerticalAlignment="Center" />                        <Button  Grid.Column="1" Grid.Row="0" Command="{Binding SetWaferThin}" CommandParameter="Aligner2"   Margin="0,0,0,0"  Width="80" Height="25" Content="Thin"  VerticalAlignment="Center" />                        <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="Auto" />                                </Grid.RowDefinitions>                                <Label Content="Type"/>                                <Label Content="{Binding Aligner2WaferThickness}" Grid.Column="1"  Style="{StaticResource MiddleCenterLabel}" />                            </Grid>                        </Border>                    </Grid>                </DockPanel>            </Border>            <Border HorizontalAlignment="Left" VerticalAlignment="Bottom" BorderThickness="1" Visibility="{Binding EnableMultiWaferSize}" BorderBrush="#84a567" Height="93" Width="195" Margin="715,0,0,382">                <DockPanel Background="{StaticResource Table_BG_Content}">                    <Label Content="Aligner2" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Style="{StaticResource label}" Width="230" Height="30" />                    <Grid>                        <Grid.RowDefinitions>                            <RowDefinition Height="*" />                            <RowDefinition Height="*" />                        </Grid.RowDefinitions>                        <Grid.ColumnDefinitions>                            <ColumnDefinition Width="70" />                            <ColumnDefinition Width="70" />                            <ColumnDefinition Width="*" />                        </Grid.ColumnDefinitions>                        <Button  Grid.Column="0" Grid.Row="0" Command="{Binding SetWaferSize4}" CommandParameter="Aligner2"   Margin="8,0,0,0"  Width="40" Height="25" Content="4'"  VerticalAlignment="Center" />                        <Button  Grid.Column="1" Grid.Row="0" Command="{Binding SetWaferSize6}" CommandParameter="Aligner2"   Margin="0,0,0,0"  Width="40" Height="25" Content="6'"  VerticalAlignment="Center" />                        <Button  Grid.Column="2" Grid.Row="0" Command="{Binding SetWaferSize8}" CommandParameter="Aligner2"   Margin="0,0,0,0"  Width="40" Height="25" Content="8'"  VerticalAlignment="Center" />                        <Border Grid.Row="2" Grid.ColumnSpan="3" 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="Auto" />                                </Grid.RowDefinitions>                                <Label Content="Size"/>                                <Label Content="{Binding WaferSizeAligner2}" Grid.Column="1"  Style="{StaticResource MiddleCenterLabel}" />                            </Grid>                        </Border>                    </Grid>                </DockPanel>            </Border>            <Border HorizontalAlignment="Left" VerticalAlignment="Bottom" BorderThickness="1" Visibility="{Binding EnableIdentifyThickness}" BorderBrush="#84a567" Height="93" Width="195" Margin="25,0,0,485">                <DockPanel Background="{StaticResource Table_BG_Content}">                    <Label Content="PMA" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Style="{StaticResource label}" Width="230" Height="30" />                    <Grid>                        <Grid.RowDefinitions>                            <RowDefinition Height="*" />                            <RowDefinition Height="*" />                        </Grid.RowDefinitions>                        <Grid.ColumnDefinitions>                            <ColumnDefinition Width="100" />                            <ColumnDefinition Width="*" />                        </Grid.ColumnDefinitions>                        <Button  Grid.Column="0" Grid.Row="0" Command="{Binding SetWaferThick}" CommandParameter="LL1"   Margin="8,0,0,0"  Width="80" Height="25" Content="Thick"  VerticalAlignment="Center" />                        <Button  Grid.Column="1" Grid.Row="0" Command="{Binding SetWaferThin}" CommandParameter="LL1"   Margin="0,0,0,0"  Width="80" Height="25" Content="Thin"  VerticalAlignment="Center" />                        <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="Auto" />                                </Grid.RowDefinitions>                                <Label Content="Type"/>                                <Label Content="{Binding PMAWaferThickness}" Grid.Column="1"  Style="{StaticResource MiddleCenterLabel}" />                            </Grid>                        </Border>                    </Grid>                </DockPanel>            </Border>            <Border HorizontalAlignment="Left" VerticalAlignment="Bottom" BorderThickness="1" Visibility="{Binding EnableMultiWaferSize}" BorderBrush="#84a567" Height="93" Width="195" Margin="25,0,0,485">                <DockPanel Background="{StaticResource Table_BG_Content}">                    <Label Content="PMA" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Style="{StaticResource label}" Width="230" Height="30" />                    <Grid>                        <Grid.RowDefinitions>                            <RowDefinition Height="*" />                            <RowDefinition Height="*" />                        </Grid.RowDefinitions>                        <Grid.ColumnDefinitions>                            <ColumnDefinition Width="70" />                            <ColumnDefinition Width="70" />                            <ColumnDefinition Width="*" />                        </Grid.ColumnDefinitions>                        <Button  Grid.Column="0" Grid.Row="0" Command="{Binding SetWaferSize4}" CommandParameter="LL1"   Margin="8,0,0,0"  Width="40" Height="25" Content="4'"  VerticalAlignment="Center" />                        <Button  Grid.Column="1" Grid.Row="0" Command="{Binding SetWaferSize6}" CommandParameter="LL1"   Margin="0,0,0,0"  Width="40" Height="25" Content="6'"  VerticalAlignment="Center" />                        <Button  Grid.Column="2" Grid.Row="0" Command="{Binding SetWaferSize8}" CommandParameter="LL1"   Margin="0,0,0,0"  Width="40" Height="25" Content="8'"  VerticalAlignment="Center" />                        <Border Grid.Row="2" Grid.ColumnSpan="3" 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="Auto" />                                </Grid.RowDefinitions>                                <Label Content="Size"/>                                <Label Content="{Binding WaferSizeLL1}" Grid.Column="1"  Style="{StaticResource MiddleCenterLabel}" />                            </Grid>                        </Border>                    </Grid>                </DockPanel>            </Border>            <Border HorizontalAlignment="Left" VerticalAlignment="Bottom" BorderThickness="1" Visibility="{Binding EnableIdentifyThickness}" BorderBrush="#84a567" Height="93" Width="195" Margin="715,0,0,485">                <DockPanel Background="{StaticResource Table_BG_Content}">                    <Label Content="PMB" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Style="{StaticResource label}" Width="230" Height="30" />                    <Grid>                        <Grid.RowDefinitions>                            <RowDefinition Height="*" />                            <RowDefinition Height="*" />                        </Grid.RowDefinitions>                        <Grid.ColumnDefinitions>                            <ColumnDefinition Width="100" />                            <ColumnDefinition Width="*" />                        </Grid.ColumnDefinitions>                        <Button  Grid.Column="0" Grid.Row="0" Command="{Binding SetWaferThick}" CommandParameter="LL2"   Margin="8,0,0,0"  Width="80" Height="25" Content="Thick"  VerticalAlignment="Center" />                        <Button  Grid.Column="1" Grid.Row="0" Command="{Binding SetWaferThin}" CommandParameter="LL2"   Margin="0,0,0,0"  Width="80" Height="25" Content="Thin"  VerticalAlignment="Center" />                        <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="Auto" />                                </Grid.RowDefinitions>                                <Label Content="Type"/>                                <Label Content="{Binding PMBWaferThickness}" Grid.Column="1"  Style="{StaticResource MiddleCenterLabel}" />                            </Grid>                        </Border>                    </Grid>                </DockPanel>            </Border>            <Border HorizontalAlignment="Left" VerticalAlignment="Bottom" BorderThickness="1" Visibility="{Binding EnableMultiWaferSize}" BorderBrush="#84a567" Height="93" Width="195" Margin="715,0,0,485">                <DockPanel Background="{StaticResource Table_BG_Content}">                    <Label Content="PMB" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Style="{StaticResource label}" Width="230" Height="30" />                    <Grid>                        <Grid.RowDefinitions>                            <RowDefinition Height="*" />                            <RowDefinition Height="*" />                        </Grid.RowDefinitions>                        <Grid.ColumnDefinitions>                            <ColumnDefinition Width="70" />                            <ColumnDefinition Width="70" />                            <ColumnDefinition Width="*" />                        </Grid.ColumnDefinitions>                        <Button  Grid.Column="0" Grid.Row="0" Command="{Binding SetWaferSize4}" CommandParameter="LL2"   Margin="8,0,0,0"  Width="40" Height="25" Content="4'"  VerticalAlignment="Center" />                        <Button  Grid.Column="1" Grid.Row="0" Command="{Binding SetWaferSize6}" CommandParameter="LL2"   Margin="0,0,0,0"  Width="40" Height="25" Content="6'"  VerticalAlignment="Center" />                        <Button  Grid.Column="2" Grid.Row="0" Command="{Binding SetWaferSize8}" CommandParameter="LL2"   Margin="0,0,0,0"  Width="40" Height="25" Content="8'"  VerticalAlignment="Center" />                        <Border Grid.Row="2" Grid.ColumnSpan="3" 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="Auto" />                                </Grid.RowDefinitions>                                <Label Content="Size"/>                                <Label Content="{Binding WaferSizeLL2}" Grid.Column="1"  Style="{StaticResource MiddleCenterLabel}" />                            </Grid>                        </Border>                    </Grid>                </DockPanel>            </Border>            <Border HorizontalAlignment="Left" VerticalAlignment="Bottom" BorderThickness="1" Visibility="{Binding EnableIdentifyThickness}" BorderBrush="#84a567" Height="93" Width="195" Margin="25,0,0,278">                <DockPanel Background="{StaticResource Table_BG_Content}">                    <Label Content="Cooling1" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Style="{StaticResource label}" Width="230" Height="30" />                    <Grid>                        <Grid.RowDefinitions>                            <RowDefinition Height="*" />                            <RowDefinition Height="*" />                        </Grid.RowDefinitions>                        <Grid.ColumnDefinitions>                            <ColumnDefinition Width="100" />                            <ColumnDefinition Width="*" />                        </Grid.ColumnDefinitions>                        <Button  Grid.Column="0" Grid.Row="0" Command="{Binding SetWaferThick}" CommandParameter="CoolingBuffer1"   Margin="8,0,0,0"  Width="80" Height="25" Content="Thick"  VerticalAlignment="Center" />                        <Button  Grid.Column="1" Grid.Row="0" Command="{Binding SetWaferThin}" CommandParameter="CoolingBuffer1"   Margin="0,0,0,0"  Width="80" Height="25" Content="Thin"  VerticalAlignment="Center" />                        <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="Auto" />                                </Grid.RowDefinitions>                                <Label Content="Type"/>                                <Label Content="{Binding Cooling1WaferThickness}" Grid.Column="1"  Style="{StaticResource MiddleCenterLabel}" />                            </Grid>                        </Border>                    </Grid>                </DockPanel>            </Border>            <Border HorizontalAlignment="Left" VerticalAlignment="Bottom" BorderThickness="1" Visibility="{Binding EnableMultiWaferSize}" BorderBrush="#84a567" Height="93" Width="195" Margin="25,0,0,278">                <DockPanel Background="{StaticResource Table_BG_Content}">                    <Label Content="Cooling1" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Style="{StaticResource label}" Width="230" Height="30" />                    <Grid>                        <Grid.RowDefinitions>                            <RowDefinition Height="*" />                            <RowDefinition Height="*" />                        </Grid.RowDefinitions>                        <Grid.ColumnDefinitions>                            <ColumnDefinition Width="70" />                            <ColumnDefinition Width="70" />                            <ColumnDefinition Width="*" />                        </Grid.ColumnDefinitions>                        <Button  Grid.Column="0" Grid.Row="0" Command="{Binding SetWaferSize4}" CommandParameter="CoolingBuffer1"   Margin="8,0,0,0"  Width="40" Height="25" Content="4'"  VerticalAlignment="Center" />                        <Button  Grid.Column="1" Grid.Row="0" Command="{Binding SetWaferSize6}" CommandParameter="CoolingBuffer1"   Margin="0,0,0,0"  Width="40" Height="25" Content="6'"  VerticalAlignment="Center" />                        <Button  Grid.Column="2" Grid.Row="0" Command="{Binding SetWaferSize8}" CommandParameter="CoolingBuffer1"   Margin="0,0,0,0"  Width="40" Height="25" Content="8'"  VerticalAlignment="Center" />                        <Border Grid.Row="2" Grid.ColumnSpan="3" 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="Auto" />                                </Grid.RowDefinitions>                                <Label Content="Size"/>                                <Label Content="{Binding WaferSizeCoolingBuffer1}" Grid.Column="1"  Style="{StaticResource MiddleCenterLabel}" />                            </Grid>                        </Border>                    </Grid>                </DockPanel>            </Border>            <Border HorizontalAlignment="Left" VerticalAlignment="Bottom" BorderThickness="1" Visibility="{Binding EnableIdentifyThickness}" BorderBrush="#84a567" Height="93" Width="195" Margin="25,0,0,382">                <DockPanel Background="{StaticResource Table_BG_Content}">                    <Label Content="Cooling2" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Style="{StaticResource label}" Width="230" Height="30" />                    <Grid>                        <Grid.RowDefinitions>                            <RowDefinition Height="*" />                            <RowDefinition Height="*" />                        </Grid.RowDefinitions>                        <Grid.ColumnDefinitions>                            <ColumnDefinition Width="100" />                            <ColumnDefinition Width="*" />                        </Grid.ColumnDefinitions>                        <Button  Grid.Column="0" Grid.Row="0" Command="{Binding SetWaferThick}" CommandParameter="CoolingBuffer2"   Margin="8,0,0,0"  Width="80" Height="25" Content="Thick"  VerticalAlignment="Center" />                        <Button  Grid.Column="1" Grid.Row="0" Command="{Binding SetWaferThin}" CommandParameter="CoolingBuffer2"   Margin="0,0,0,0"  Width="80" Height="25" Content="Thin"  VerticalAlignment="Center" />                        <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="Auto" />                                </Grid.RowDefinitions>                                <Label Content="Type"/>                                <Label Content="{Binding Cooling2WaferThickness}" Grid.Column="1"  Style="{StaticResource MiddleCenterLabel}" />                            </Grid>                        </Border>                    </Grid>                </DockPanel>            </Border>            <Border HorizontalAlignment="Left" VerticalAlignment="Bottom" BorderThickness="1" Visibility="{Binding EnableMultiWaferSize}" BorderBrush="#84a567" Height="93" Width="195" Margin="25,0,0,382">                <DockPanel Background="{StaticResource Table_BG_Content}">                    <Label Content="Cooling2" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Style="{StaticResource label}" Width="230" Height="30" />                    <Grid>                        <Grid.RowDefinitions>                            <RowDefinition Height="*" />                            <RowDefinition Height="*" />                        </Grid.RowDefinitions>                        <Grid.ColumnDefinitions>                            <ColumnDefinition Width="70" />                            <ColumnDefinition Width="70" />                            <ColumnDefinition Width="*" />                        </Grid.ColumnDefinitions>                        <Button  Grid.Column="0" Grid.Row="0" Command="{Binding SetWaferSize4}" CommandParameter="CoolingBuffer2"   Margin="8,0,0,0"  Width="40" Height="25" Content="4'"  VerticalAlignment="Center" />                        <Button  Grid.Column="1" Grid.Row="0" Command="{Binding SetWaferSize6}" CommandParameter="CoolingBuffer2"   Margin="0,0,0,0"  Width="40" Height="25" Content="6'"  VerticalAlignment="Center" />                        <Button  Grid.Column="2" Grid.Row="0" Command="{Binding SetWaferSize8}" CommandParameter="CoolingBuffer2"   Margin="0,0,0,0"  Width="40" Height="25" Content="8'"  VerticalAlignment="Center" />                        <Border Grid.Row="2" Grid.ColumnSpan="3" 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="Auto" />                                </Grid.RowDefinitions>                                <Label Content="Size"/>                                <Label Content="{Binding WaferSizeCoolingBuffer2}" Grid.Column="1"  Style="{StaticResource MiddleCenterLabel}" />                            </Grid>                        </Border>                    </Grid>                </DockPanel>            </Border>            <!--<Border HorizontalAlignment="Left" VerticalAlignment="Center" BorderThickness="1" BorderBrush="#84a567" Margin="680,645,0,50" Height="105" Width="250">                <DockPanel Background="{StaticResource Table_BG_Content}">                    <Label Content="PM" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Style="{StaticResource label}" Width="250" Height="30" />                    <Grid>                        <Grid.ColumnDefinitions>                            <ColumnDefinition Width="auto" />                            <ColumnDefinition Width="168" />                            <ColumnDefinition Width="32"/>                        </Grid.ColumnDefinitions>                        <Grid.RowDefinitions>                            <RowDefinition Height="30" />                            <RowDefinition Height="30" />                        </Grid.RowDefinitions>                        <Label Content="PM1" Grid.Row="0" Grid.Column="0" />                        <Label Content="PM2" Grid.Row="1" Grid.Column="0" />                        <ctrl:Wafer Grid.Row="0" Height="23.6" Margin="0,4" Padding="0" Grid.Column="1" Slot="0" WaferTransferOptionCommand="{Binding WaferTransferOptionCommand}"  WaferItem="{Binding LL1Wafer}" Station="LL1" ShowSlot="True" Grid.ColumnSpan="2" />                        <ctrl:Wafer Grid.Row="1" Height="23.6" Margin="0,4" Padding="0" Grid.Column="1" Slot="0" WaferTransferOptionCommand="{Binding WaferTransferOptionCommand}"  WaferItem="{Binding LL2Wafer}" Station="LL2" ShowSlot="True" Grid.ColumnSpan="2" />                    </Grid>                </DockPanel>            </Border>-->            <Border HorizontalAlignment="Left" VerticalAlignment="Bottom" BorderThickness="1" Visibility="{Binding EnableIdentifyThickness}" BorderBrush="#84a567" Height="93" Width="195" Margin="715,0,0,177">                <DockPanel Background="{StaticResource Table_BG_Content}">                    <Label Content="Upper" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Style="{StaticResource label}" Width="230" Height="30" />                    <Grid>                        <Grid.RowDefinitions>                            <RowDefinition Height="*" />                            <RowDefinition Height="*" />                        </Grid.RowDefinitions>                        <Grid.ColumnDefinitions>                            <ColumnDefinition Width="100" />                            <ColumnDefinition Width="*" />                        </Grid.ColumnDefinitions>                        <Button  Grid.Column="0" Grid.Row="0" Command="{Binding SetWaferThick}" CommandParameter="Upper"   Margin="8,0,0,0"  Width="80" Height="25" Content="Thick"  VerticalAlignment="Center" />                        <Button  Grid.Column="1" Grid.Row="0" Command="{Binding SetWaferThin}" CommandParameter="Upper"   Margin="0,0,0,0"  Width="80" Height="25" Content="Thin"  VerticalAlignment="Center" />                        <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="Auto" />                                </Grid.RowDefinitions>                                <Label Content="Type"/>                                <Label Content="{Binding UpperWaferThickness}" Grid.Column="1"  Style="{StaticResource MiddleCenterLabel}" />                            </Grid>                        </Border>                    </Grid>                </DockPanel>            </Border>            <Border HorizontalAlignment="Left" VerticalAlignment="Bottom" BorderThickness="1" Visibility="{Binding EnableMultiWaferSize}" BorderBrush="#84a567" Height="93" Width="195" Margin="715,0,0,177">                <DockPanel Background="{StaticResource Table_BG_Content}">                    <Label Content="Upper" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Style="{StaticResource label}" Width="230" Height="30" />                    <Grid>                        <Grid.RowDefinitions>                            <RowDefinition Height="*" />                            <RowDefinition Height="*" />                        </Grid.RowDefinitions>                        <Grid.ColumnDefinitions>                            <ColumnDefinition Width="70" />                            <ColumnDefinition Width="70" />                            <ColumnDefinition Width="*" />                        </Grid.ColumnDefinitions>                        <Button  Grid.Column="0" Grid.Row="0" Command="{Binding SetWaferSize4}" CommandParameter="Upper"   Margin="8,0,0,0"  Width="40" Height="25" Content="4'"  VerticalAlignment="Center" />                        <Button  Grid.Column="1" Grid.Row="0" Command="{Binding SetWaferSize6}" CommandParameter="Upper"   Margin="0,0,0,0"  Width="40" Height="25" Content="6'"  VerticalAlignment="Center" />                        <Button  Grid.Column="2" Grid.Row="0" Command="{Binding SetWaferSize8}" CommandParameter="Upper"   Margin="0,0,0,0"  Width="40" Height="25" Content="8'"  VerticalAlignment="Center" />                        <Border Grid.Row="2" Grid.ColumnSpan="3" 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="Auto" />                                </Grid.RowDefinitions>                                <Label Content="Size"/>                                <Label Content="{Binding WaferSizeRobot2}" Grid.Column="1"  Style="{StaticResource MiddleCenterLabel}" />                            </Grid>                        </Border>                    </Grid>                </DockPanel>            </Border>            <Border HorizontalAlignment="Left" VerticalAlignment="Bottom" BorderThickness="1" Visibility="{Binding EnableIdentifyThickness}" BorderBrush="#84a567" Height="93" Width="195" Margin="25,0,0,177">                <DockPanel Background="{StaticResource Table_BG_Content}">                    <Label Content="Lower" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Style="{StaticResource label}" Width="230" Height="30" />                    <Grid>                        <Grid.RowDefinitions>                            <RowDefinition Height="*" />                            <RowDefinition Height="*" />                        </Grid.RowDefinitions>                        <Grid.ColumnDefinitions>                            <ColumnDefinition Width="100" />                            <ColumnDefinition Width="*" />                        </Grid.ColumnDefinitions>                        <Button  Grid.Column="0" Grid.Row="0" Command="{Binding SetWaferThick}" CommandParameter="Lower"   Margin="8,0,0,0"  Width="80" Height="25" Content="Thick"  VerticalAlignment="Center" />                        <Button  Grid.Column="1" Grid.Row="0" Command="{Binding SetWaferThin}" CommandParameter="Lower"   Margin="0,0,0,0"  Width="80" Height="25" Content="Thin"  VerticalAlignment="Center" />                        <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="Auto" />                                </Grid.RowDefinitions>                                <Label Content="Type"/>                                <Label Content="{Binding LowerWaferThickness}" Grid.Column="1"  Style="{StaticResource MiddleCenterLabel}" />                            </Grid>                        </Border>                    </Grid>                </DockPanel>            </Border>            <Border HorizontalAlignment="Left" VerticalAlignment="Bottom" BorderThickness="1" Visibility="{Binding EnableMultiWaferSize}" BorderBrush="#84a567" Height="93" Width="195" Margin="25,0,0,177">                <DockPanel Background="{StaticResource Table_BG_Content}">                    <Label Content="Lower" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Style="{StaticResource label}" Width="230" Height="30" />                    <Grid>                        <Grid.RowDefinitions>                            <RowDefinition Height="*" />                            <RowDefinition Height="*" />                        </Grid.RowDefinitions>                        <Grid.ColumnDefinitions>                            <ColumnDefinition Width="70" />                            <ColumnDefinition Width="70" />                            <ColumnDefinition Width="*" />                        </Grid.ColumnDefinitions>                        <Button  Grid.Column="0" Grid.Row="0" Command="{Binding SetWaferSize4}" CommandParameter="Lower"   Margin="8,0,0,0"  Width="40" Height="25" Content="4'"  VerticalAlignment="Center" />                        <Button  Grid.Column="1" Grid.Row="0" Command="{Binding SetWaferSize6}" CommandParameter="Lower"   Margin="0,0,0,0"  Width="40" Height="25" Content="6'"  VerticalAlignment="Center" />                        <Button  Grid.Column="2" Grid.Row="0" Command="{Binding SetWaferSize8}" CommandParameter="Lower"   Margin="0,0,0,0"  Width="40" Height="25" Content="8'"  VerticalAlignment="Center" />                        <Border Grid.Row="2" Grid.ColumnSpan="3" 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="Auto" />                                </Grid.RowDefinitions>                                <Label Content="Size"/>                                <Label Content="{Binding WaferSizeRobot1}" Grid.Column="1"  Style="{StaticResource MiddleCenterLabel}" />                            </Grid>                        </Border>                    </Grid>                </DockPanel>            </Border>            <Border HorizontalAlignment="Left" VerticalAlignment="Center" BorderThickness="1" BorderBrush="#84a567" Margin="{Binding PMThickness}"  Height="105" Width="250">                <DockPanel Background="{StaticResource Table_BG_Content}">                    <Label Content="PM" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Style="{StaticResource label}" Width="250" Height="30" />                    <Grid>                        <Grid.ColumnDefinitions>                            <ColumnDefinition Width="auto" />                            <ColumnDefinition Width="168" />                            <ColumnDefinition Width="32"/>                        </Grid.ColumnDefinitions>                        <Grid.RowDefinitions>                            <RowDefinition Height="30" />                            <RowDefinition Height="30" />                        </Grid.RowDefinitions>                        <Label Content="PM1" Grid.Row="0" Grid.Column="0" />                        <Label Content="PM2" Grid.Row="1" Grid.Column="0" />                        <ctrl:Wafer Grid.Row="0" Height="23.6" Margin="0,4" Padding="0" Grid.Column="1" Slot="0" WaferTransferOptionCommand="{Binding WaferTransferOptionCommand}"  WaferItem="{Binding LL1Wafer}" Station="LL1" ShowSlot="True" Grid.ColumnSpan="2" />                        <ctrl:Wafer Grid.Row="1" Height="23.6" Margin="0,4" Padding="0" Grid.Column="1" Slot="0" WaferTransferOptionCommand="{Binding WaferTransferOptionCommand}"  WaferItem="{Binding LL2Wafer}" Station="LL2" ShowSlot="True" Grid.ColumnSpan="2" />                    </Grid>                </DockPanel>            </Border>            <Border Grid.Row="0"  Grid.RowSpan="3" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Top" BorderThickness="1" BorderBrush="#84a567" Height="750" Width="400">                <DockPanel Background="{StaticResource Table_BG_Content}">                    <Label Content="Cycle" HorizontalContentAlignment="Center" DockPanel.Dock="Top" Style="{StaticResource label}" Width="400" 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="80" />							<RowDefinition Height="40" />							<RowDefinition Height="220" />-->                            <RowDefinition Height="40" />                            <RowDefinition Height="210" />                            <RowDefinition Height="40" />                            <RowDefinition Height="210" />                        </Grid.RowDefinitions>                        <Grid.ColumnDefinitions>                            <ColumnDefinition Width="*" />                            <ColumnDefinition Width="*" />                            <ColumnDefinition Width="*" />                        </Grid.ColumnDefinitions>                        <Label Content="Process Information" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" Width="400"  Style="{StaticResource label}" />                        <Grid Grid.Row="1" 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="194" />                                <ColumnDefinition />                            </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)" Margin="10,4,0,5" Height="32" Width="143" />                            <Label Grid.Row="0" Grid.Column="1"  Content="{Binding TransferTime}" Height="32" Margin="0,4,-0,5" Width="209"  />                            <Label Grid.Row="1" Content="Wafer Count" Margin="10,5,0,4" Height="32" Width="122"  />                            <Label Grid.Row="1" Grid.Column="1"  Content="{Binding TransferCount}" Height="32" Margin="0,4,0,5" Width="209"  />                            <Label Grid.Row="2" Content="Throughput(WPH)" Margin="10,4,0,5" Height="32" Width="172"   />                            <Label Grid.Row="2" Grid.Column="1"  Content="{Binding TranserThroughput}" Height="32" Margin="0,4,-0,5" Width="209"  />                            <Label Grid.Row="3" Content="Cycle Count" Margin="10,5,0,4" Height="32" Width="119"   />                            <Label Grid.Row="3" Grid.Column="1"  Content="{Binding CycleCountDisplay}" Height="32" Margin="0,4,-0,5" Width="209"  />                        </Grid>                        <Label Content="FFU Information" Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3" Width="400"  Style="{StaticResource label}" />                        <Grid Grid.Row="3" 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="29*" />                                <ColumnDefinition Width="190*"/>                            </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="FFU1 Speed" Margin="10,4,0,4" />                            <Label Grid.Row="0" Grid.Column="1"  Content="{Binding FFU1Speed}" Grid.ColumnSpan="2"  />                            <Label Grid.Row="1" Content="FFU Set Speed" Margin="10,4,0,4"  />                            <TextBox x:Name="txtFFUSetpoint"  Grid.Row="1" Grid.Column="1" Margin="8,5,10,39"    Grid.ColumnSpan="2" Height="Auto" Grid.RowSpan="2"/>                            <Button  Grid.Row="2" Grid.Column="1"  Command="{Binding SetFFUCommand}"                                     CommandParameter="{Binding Text,ElementName=txtFFUSetpoint}"                                      Margin="10,2,10,0"  Content="Set FFU Speed"  VerticalAlignment="Top" Width="Auto" Height="39" Grid.ColumnSpan="2"/>                        </Grid>                    </Grid>                </DockPanel>            </Border>            <!--Border Grid.Column="0">                <Canvas>                    <TextBlock Background="AliceBlue" FontSize="10" Text="{Binding WaferSize1}" Width="100" Canvas.Left="357" Canvas.Top="650" Height="60" TextWrapping="Wrap"/>                    <TextBlock Background="AliceBlue" FontSize="10" Text="{Binding WaferSize2}" Width="100" Canvas.Left="504" Canvas.Top="650" Height="60" TextWrapping="Wrap"/>                    <Label Background="AliceBlue" HorizontalContentAlignment="Center" FontSize="10" Content="{Binding WaferSizeAligner1}" Width="105" Canvas.Left="706" Canvas.Top="451" Height="30"/>                    <Label Background="AliceBlue" HorizontalContentAlignment="Center" FontSize="10" Content="{Binding WaferSizeAligner2}" Width="105" Canvas.Left="706" Canvas.Top="347" Height="30"/>                    <Label HorizontalContentAlignment="Center" FontSize="12" Content="CoolingBuffer1" Width="90" Canvas.Left="51" Canvas.Top="486" Height="28"/>                    <Label HorizontalContentAlignment="Center" FontSize="12" Content="CoolingBuffer2" Width="90" Canvas.Left="51" Canvas.Top="385" Height="28"/>                    <Label HorizontalContentAlignment="Center" FontSize="12" Content="Aligner1" Width="90" Canvas.Left="816" Canvas.Top="488" Height="28"/>                    <Label HorizontalContentAlignment="Center" FontSize="12" Content="Aligner2" Width="90" Canvas.Left="816" Canvas.Top="380" Height="28"/>                    <Label HorizontalContentAlignment="Center" FontSize="12" Content="Loadlock1" Width="90" Canvas.Left="170" Canvas.Top="264" Height="28"/>                    <Label HorizontalContentAlignment="Center" FontSize="12" Content="Loadlock2" Width="90" Canvas.Left="706" Canvas.Top="264" Height="28"/>                    <Label Background="AliceBlue" HorizontalContentAlignment="Center" FontSize="10" Content="{Binding WaferSizeCoolingBuffer1}" Width="105" Canvas.Left="150" Canvas.Top="451" Height="30"/>                    <Label Background="AliceBlue" HorizontalContentAlignment="Center" FontSize="10" Content="{Binding WaferSizeCoolingBuffer2}" Width="105" Canvas.Left="150" Canvas.Top="347" Height="30"/>                    <Label Background="AliceBlue" HorizontalContentAlignment="Center" FontSize="10" Content="{Binding WaferSizeLL1}" Width="105" Canvas.Left="264" Canvas.Top="227" Height="30"/>                    <Label Background="AliceBlue" HorizontalContentAlignment="Center" FontSize="10" Content="{Binding WaferSizeLL2}" Width="105" Canvas.Left="588" Canvas.Top="227" Height="30"/>                    <Label Background="AliceBlue" HorizontalContentAlignment="Center" FontSize="10" Content="{Binding WaferSizeRobot}" Width="115" Canvas.Left="10" Canvas.Top="702" Height="30"/>                    <StackPanel Orientation="Horizontal" Canvas.Left="125" Canvas.Top="702" >                        <Button Command="{Binding SetWaferSize3}" CommandParameter="Robot"  Margin="8,0,0,0" Width="30" Height="30" Content="3'" VerticalAlignment="Center" />                        <Button Command="{Binding SetWaferSize4}" CommandParameter="Robot"   Margin="8,0,0,0"  Width="30" Height="30" Content="4'"  VerticalAlignment="Center" />                        <Button Command="{Binding SetWaferSize6}" CommandParameter="Robot"    Margin="8,0,0,0"  Width="30" Height="30" Content="6'"   VerticalAlignment="Center"  />                    </StackPanel>                          <StackPanel Orientation="Horizontal" Canvas.Left="697" Canvas.Top="486" >                        <Button Command="{Binding SetWaferSize3}" CommandParameter="Aligner1"  Margin="8,0,0,0" Width="30" Height="30" Content="3'" VerticalAlignment="Center" />                        <Button Command="{Binding SetWaferSize4}" CommandParameter="Aligner1"   Margin="8,0,0,0"  Width="30" Height="30" Content="4'"  VerticalAlignment="Center" />                        <Button Command="{Binding SetWaferSize6}" CommandParameter="Aligner1"    Margin="8,0,0,0"  Width="30" Height="30" Content="6'"   VerticalAlignment="Center"  />                    </StackPanel>                    <StackPanel Orientation="Horizontal" Canvas.Left="697" Canvas.Top="380" >                        <Button Command="{Binding SetWaferSize3}" CommandParameter="Aligner2"  Margin="8,0,0,0" Width="30" Height="30" Content="3'" VerticalAlignment="Center" />                        <Button Command="{Binding SetWaferSize4}" CommandParameter="Aligner2"   Margin="8,0,0,0"  Width="30" Height="30" Content="4'"  VerticalAlignment="Center" />                        <Button Command="{Binding SetWaferSize6}" CommandParameter="Aligner2"    Margin="8,0,0,0"  Width="30" Height="30" Content="6'"   VerticalAlignment="Center"  />                    </StackPanel>                    <StackPanel Orientation="Horizontal" Canvas.Left="141" Canvas.Top="486" >                        <Button Command="{Binding SetWaferSize3}" CommandParameter="CoolingBuffer1"  Margin="8,0,0,0" Width="30" Height="30" Content="3'" VerticalAlignment="Center" />                        <Button Command="{Binding SetWaferSize4}" CommandParameter="CoolingBuffer1"   Margin="8,0,0,0"  Width="30" Height="30" Content="4'"  VerticalAlignment="Center" />                        <Button Command="{Binding SetWaferSize6}" CommandParameter="CoolingBuffer1"    Margin="8,0,0,0"  Width="30" Height="30" Content="6'"   VerticalAlignment="Center"  />                    </StackPanel>                    <StackPanel Orientation="Horizontal" Canvas.Left="141" Canvas.Top="380" >                        <Button Command="{Binding SetWaferSize3}" CommandParameter="CoolingBuffer2"  Margin="8,0,0,0" Width="30" Height="30" Content="3'" VerticalAlignment="Center" />                        <Button Command="{Binding SetWaferSize4}" CommandParameter="CoolingBuffer2"   Margin="8,0,0,0"  Width="30" Height="30" Content="4'"  VerticalAlignment="Center" />                        <Button Command="{Binding SetWaferSize6}" CommandParameter="CoolingBuffer2"    Margin="8,0,0,0"  Width="30" Height="30" Content="6'"   VerticalAlignment="Center"  />                    </StackPanel>                    <StackPanel Orientation="Horizontal" Canvas.Left="255" Canvas.Top="262" >                        <Button Command="{Binding SetWaferSize3}" CommandParameter="LL1"  Margin="8,0,0,0" Width="30" Height="30" Content="3'" VerticalAlignment="Center" />                        <Button Command="{Binding SetWaferSize4}" CommandParameter="LL1"   Margin="8,0,0,0"  Width="30" Height="30" Content="4'"  VerticalAlignment="Center" />                        <Button Command="{Binding SetWaferSize6}" CommandParameter="LL1"    Margin="8,0,0,0"  Width="30" Height="30" Content="6'"   VerticalAlignment="Center"  />                    </StackPanel>                    <StackPanel Orientation="Horizontal" Canvas.Left="579" Canvas.Top="262" >                        <Button Command="{Binding SetWaferSize3}" CommandParameter="LL2"  Margin="8,0,0,0" Width="30" Height="30" Content="3'" VerticalAlignment="Center" />                        <Button Command="{Binding SetWaferSize4}" CommandParameter="LL2"   Margin="8,0,0,0"  Width="30" Height="30" Content="4'"  VerticalAlignment="Center" />                        <Button Command="{Binding SetWaferSize6}" CommandParameter="LL2"    Margin="8,0,0,0"  Width="30" Height="30" Content="6'"   VerticalAlignment="Center"  />                    </StackPanel>                </Canvas>            </Border-->            <Border Grid.Column="0" Visibility="{Binding IsEnableMultiWaferSize,Converter={StaticResource boolVisibilityConverter}}">                <Canvas>                    <TextBlock Background="AliceBlue" TextWrapping="Wrap" FontSize="10" Text="{Binding LP1CarrierType}" Width="170" Canvas.Left="286" Canvas.Top="630" Height="70" RenderTransformOrigin="0.333,0.5"/>                    <TextBlock Background="AliceBlue" TextWrapping="Wrap" FontSize="10" Text="{Binding LP2CarrierType}" Width="170" Canvas.Left="490" Canvas.Top="630" Height="70" RenderTransformOrigin="0.678,2.2"/>                    <Button Canvas.Left="325" Canvas.Top="705" FontSize="12"  Visibility="{Binding IsShowLP1CarrierType,Converter={StaticResource boolVisibilityConverter}}" Content="CarrierType" Command="{Binding SetTransCarrierTypeCommand}" CommandParameter="LP1" Margin="0" Width="85" RenderTransformOrigin="2.247,3.75"></Button>                    <Button Canvas.Left="530" Canvas.Top="705" FontSize="12" Visibility="{Binding IsShowLP2CarrierType,Converter={StaticResource boolVisibilityConverter}}" Content="CarrierType" Command="{Binding SetTransCarrierTypeCommand}" CommandParameter="LP2" Margin="0" RenderTransformOrigin="-3.04,-2.375" Width="85"></Button>                    <!--TextBlock Background="AliceBlue" TextWrapping="Wrap" FontSize="10" Text="{Binding LP3CarrierType}" Width="80" Canvas.Left="194" Canvas.Top="450" Height="85" RenderTransformOrigin="0.333,0.5"/>                    <TextBlock Background="AliceBlue" TextWrapping="Wrap" FontSize="10" Text="{Binding LP4CarrierType}" Width="80" Canvas.Left="279" Canvas.Top="450" Height="85" RenderTransformOrigin="0.678,2.2"/>-->                </Canvas>            </Border>        </Grid>    </Grid></UserControl>
 |