<UserControl
    x:Class="SicUI.Models.Operations.Overviews.OverViewView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:cal="http://www.caliburn.org"
    xmlns:controls="clr-namespace:SicUI.Controls"
    xmlns:ctrl="http://OpenSEMI.Ctrlib.com/presentation"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:deviceControl="clr-namespace:Aitex.Core.UI.DeviceControl;assembly=MECF.Framework.UI.Core"
    xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
    xmlns:lex="http://wpflocalizeextension.codeplex.com"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:parts="clr-namespace:SicUI.Controls.M2C4Parts"
    xmlns:system="clr-namespace:System;assembly=mscorlib"
    xmlns:unitControls="clr-namespace:MECF.Framework.UI.Client.Ctrlib.UnitControls;assembly=MECF.Framework.UI.Client"
    xmlns:vr="clr-namespace:SicUI.Models.Operations.Overviews"
    xmlns:waferAssociation="clr-namespace:MECF.Framework.UI.Client.CenterViews.Operations.WaferAssociation;assembly=MECF.Framework.UI.Client"
    d:Background="#91b0cd"
    d:DesignHeight="760"
    d:DesignWidth="1900"
    lex:LocalizeDictionary.DesignCulture="zh"
    lex:ResxLocalizationProvider.DefaultAssembly="Sicentury.Localization"
    lex:ResxLocalizationProvider.DefaultDictionary="lang_overview"
    mc:Ignorable="d">
    <UserControl.Resources>
        <Style x:Key="Text_Online_PM1" TargetType="{x:Type TextBlock}">
            <Style.Triggers>
                <DataTrigger Binding="{Binding PM1IsOnline}" Value="True">
                    <Setter Property="Foreground" Value="{DynamicResource FG_Green}" />
                </DataTrigger>
                <DataTrigger Binding="{Binding PM1IsOnline}" Value="False">
                    <Setter Property="Foreground" Value="{DynamicResource FG_Black}" />
                </DataTrigger>
            </Style.Triggers>
        </Style>
        <Style x:Key="Text_Online_PM2" TargetType="{x:Type TextBlock}">
            <Style.Triggers>
                <DataTrigger Binding="{Binding PM2IsOnline}" Value="True">
                    <Setter Property="Foreground" Value="{DynamicResource FG_Green}" />
                </DataTrigger>
                <DataTrigger Binding="{Binding PM2IsOnline}" Value="False">
                    <Setter Property="Foreground" Value="{DynamicResource FG_Black}" />
                </DataTrigger>
            </Style.Triggers>
        </Style>
        <Style x:Key="Text_Online_PM3" TargetType="{x:Type TextBlock}">
            <Style.Triggers>
                <DataTrigger Binding="{Binding PM3IsOnline}" Value="True">
                    <Setter Property="Foreground" Value="{DynamicResource FG_Green}" />
                </DataTrigger>
                <DataTrigger Binding="{Binding PM3IsOnline}" Value="False">
                    <Setter Property="Foreground" Value="{DynamicResource FG_Black}" />
                </DataTrigger>
            </Style.Triggers>
        </Style>
        <Style x:Key="Text_Online_PM4" TargetType="{x:Type TextBlock}">
            <Style.Triggers>
                <DataTrigger Binding="{Binding PM4IsOnline}" Value="True">
                    <Setter Property="Foreground" Value="{DynamicResource FG_Green}" />
                </DataTrigger>
                <DataTrigger Binding="{Binding PM4IsOnline}" Value="False">
                    <Setter Property="Foreground" Value="{DynamicResource FG_Black}" />
                </DataTrigger>
            </Style.Triggers>
        </Style>




        <Style x:Key="ColumnHeader" TargetType="DataGridColumnHeader">
            <Setter Property="FontSize" Value="10" />
        </Style>
    </UserControl.Resources>
    <Grid Margin="-5">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="360" />
        </Grid.ColumnDefinitions>

        <Canvas
            Width="1235"
            Height="650"
            Margin="5,0,5,0"
            HorizontalAlignment="Center"
            VerticalAlignment="Top">

            <parts:M2C4EFEMView2
                x:Name="system"
                Canvas.Left="210"
                Canvas.Top="-60"
                Width="600"
                Height="620" />

            <StackPanel Canvas.Left="456" Canvas.Top="637">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="24" />
                        <RowDefinition Height="1*" />
                        <RowDefinition Height="1*" />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="1*" />
                        <ColumnDefinition Width="2*" />
                        <ColumnDefinition Width="1*" />
                    </Grid.ColumnDefinitions>
                    <Label
                        Grid.Row="0"
                        Grid.ColumnSpan="3"
                        HorizontalContentAlignment="Center"
                        VerticalContentAlignment="Center"
                        Content="{lex:Loc ID_TXT_JobAssign}"
                        Style="{DynamicResource Table_TitleStyle}" />
                    <controls:WaferAssociationUnitLite
                        Grid.Row="1"
                        Margin="0,0"
                        HorizontalAlignment="Center"
                        IsEnabled="{Binding IsEnableJobLP1}"
                        WAInfo="{Binding LoadWaferAssociation}" />
                </Grid>
            </StackPanel>

            <Grid
                x:Name="PM1_Info"
                Canvas.Left="300"
                Canvas.Top="30"
                Margin="-200,0,0,0"
                Visibility="{Binding IsPM1Installed, Converter={StaticResource BoolVisibilityConverter}}">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="110" />
                    <ColumnDefinition Width="140" />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="24" />
                    <RowDefinition Height="24" />
                    <RowDefinition Height="24" />
                    <RowDefinition Height="24" />
                    <RowDefinition Height="24" />
                    <RowDefinition Height="24" />
                    <RowDefinition Height="24" />
                    <RowDefinition Height="24" />
                </Grid.RowDefinitions>
                <Label
                    Grid.Row="0"
                    Grid.ColumnSpan="2"
                    HorizontalContentAlignment="Center"
                    VerticalContentAlignment="Center"
                    Content="{lex:Loc ID_TXT_PM1Info}"
                    Style="{DynamicResource Table_TitleStyle}" />
                <Border
                    Grid.Row="1"
                    Padding="5,1"
                    Background="{DynamicResource Table_BG_Title}"
                    BorderBrush="{DynamicResource Table_BD}"
                    BorderThickness="1">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{lex:Loc ID_TXT_Status}"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Grid.Row="1"
                    Grid.Column="1"
                    Padding="5,1"
                    Background="{DynamicResource Table_BG_Content}"
                    BorderBrush="{DynamicResource Table_BD}"
                    BorderThickness="0,1,1,1">
                    <TextBlock
                        VerticalAlignment="Center"
                        lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{lex:Loc {Binding PM1Status}}"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Grid.Row="2"
                    Padding="5,1"
                    Background="{DynamicResource Table_BG_Title}"
                    BorderBrush="{DynamicResource Table_BD}"
                    BorderThickness="1,0,1,1">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{lex:Loc ID_TXT_RecipeName}"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Grid.Row="2"
                    Grid.Column="1"
                    Padding="5,1"
                    Background="{DynamicResource Table_BG_Content}"
                    BorderBrush="{DynamicResource Table_BD}"
                    BorderThickness="0,0,1,1">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{Binding PM1SelectedRecipe}"
                        TextWrapping="NoWrap" />
                </Border>

                <Border
                    Grid.Row="3"
                    Padding="5,1"
                    Background="{DynamicResource Table_BG_Title}"
                    BorderBrush="{DynamicResource Table_BD}"
                    BorderThickness="1,0,1,1">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{lex:Loc ID_TXT_ElapseTime}"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Grid.Row="3"
                    Grid.Column="1"
                    Padding="5,1"
                    Background="{DynamicResource Table_BG_Content}"
                    BorderBrush="{DynamicResource Table_BD}"
                    BorderThickness="0,0,1,1">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{Binding ElapseTimePM1}"
                        TextWrapping="Wrap" />
                </Border>

                <Border
                    Grid.Row="4"
                    Padding="5,1"
                    Background="{DynamicResource Table_BG_Title}"
                    BorderBrush="{DynamicResource Table_BD}"
                    BorderThickness="1,0,1,1">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{lex:Loc ID_TXT_TotalTime}"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Grid.Row="4"
                    Grid.Column="1"
                    Padding="5,1"
                    Background="{DynamicResource Table_BG_Content}"
                    BorderBrush="{DynamicResource Table_BD}"
                    BorderThickness="0,0,1,1">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{Binding TotalTimePM1}"
                        TextWrapping="Wrap" />
                </Border>

                <Border
                    Grid.Row="5"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_LeftBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{lex:Loc ID_TXT_Pressure}"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Grid.Row="5"
                    Grid.Column="1"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_RightBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{Binding PM1Pressure, StringFormat=0.0}"
                        TextWrapping="Wrap" />
                </Border>

                <Border
                    Grid.Row="6"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_LeftBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{lex:Loc ID_TXT_Confinement}"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Grid.Row="6"
                    Grid.Column="1"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_RightBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{Binding PM1ConfinementState}"
                        TextWrapping="Wrap" />
                </Border>
            </Grid>

            <Grid
                x:Name="PM2_Info"
                Canvas.Left="710"
                Canvas.Top="30"
                Margin="120,0,0,0"
                Visibility="{Binding IsPM2Installed, Converter={StaticResource BoolVisibilityConverter}}">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="110" />
                    <ColumnDefinition Width="140" />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="24" />
                    <RowDefinition Height="24" />
                    <RowDefinition Height="24" />
                    <RowDefinition Height="24" />
                    <RowDefinition Height="24" />
                    <RowDefinition Height="24" />
                    <RowDefinition Height="24" />

                </Grid.RowDefinitions>
                <Label
                    Grid.Row="0"
                    Grid.ColumnSpan="2"
                    HorizontalContentAlignment="Center"
                    VerticalContentAlignment="Center"
                    Content="{lex:Loc ID_TXT_PM2Info}"
                    Style="{DynamicResource Table_TitleStyle}" />
                <Border
                    Grid.Row="1"
                    Padding="5,1"
                    Background="{DynamicResource Table_BG_Title}"
                    BorderBrush="{DynamicResource Table_BD}"
                    BorderThickness="1">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{lex:Loc ID_TXT_Status}"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Grid.Row="1"
                    Grid.Column="1"
                    Padding="5,1"
                    Background="{DynamicResource Table_BG_Content}"
                    BorderBrush="{DynamicResource Table_BD}"
                    BorderThickness="0,1,1,1">
                    <TextBlock
                        VerticalAlignment="Center"
                        lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{lex:Loc {Binding PM2Status}}"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Grid.Row="2"
                    Padding="5,1"
                    Background="{DynamicResource Table_BG_Title}"
                    BorderBrush="{DynamicResource Table_BD}"
                    BorderThickness="1,0,1,1">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{lex:Loc ID_TXT_RecipeName}"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Grid.Row="2"
                    Grid.Column="1"
                    Padding="5,1"
                    Background="{DynamicResource Table_BG_Content}"
                    BorderBrush="{DynamicResource Table_BD}"
                    BorderThickness="0,0,1,1">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{Binding PM2SelectedRecipe}"
                        TextWrapping="Wrap" />
                </Border>

                <Border
                    Grid.Row="3"
                    Padding="5,1"
                    Background="{DynamicResource Table_BG_Title}"
                    BorderBrush="{DynamicResource Table_BD}"
                    BorderThickness="1,0,1,1">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{lex:Loc ID_TXT_ElapseTime}"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Grid.Row="3"
                    Grid.Column="1"
                    Padding="5,1"
                    Background="{DynamicResource Table_BG_Content}"
                    BorderBrush="{DynamicResource Table_BD}"
                    BorderThickness="0,0,1,1">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{Binding ElapseTimePM2}"
                        TextWrapping="Wrap" />
                </Border>

                <Border
                    Grid.Row="4"
                    Padding="5,1"
                    Background="{DynamicResource Table_BG_Title}"
                    BorderBrush="{DynamicResource Table_BD}"
                    BorderThickness="1,0,1,1">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{lex:Loc ID_TXT_TotalTime}"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Grid.Row="4"
                    Grid.Column="1"
                    Padding="5,1"
                    Background="{DynamicResource Table_BG_Content}"
                    BorderBrush="{DynamicResource Table_BD}"
                    BorderThickness="0,0,1,1">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{Binding TotalTimePM2}"
                        TextWrapping="Wrap" />
                </Border>

                <Border
                    Grid.Row="5"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_LeftBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{lex:Loc ID_TXT_Pressure}"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Grid.Row="5"
                    Grid.Column="1"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_RightBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{Binding PM2Pressure, StringFormat=0.0}"
                        TextWrapping="Wrap" />
                </Border>

                <Border
                    Grid.Row="6"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_LeftBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{lex:Loc ID_TXT_Confinement}"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Grid.Row="6"
                    Grid.Column="1"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_RightBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{Binding PM2ConfinementState}"
                        TextWrapping="Wrap" />
                </Border>
            </Grid>

            <Grid
                x:Name="Buffer_Info"
                Canvas.Left="770"
                Canvas.Top="300"
                Margin="120,0,0,0">
                <unitControls:FOUPFrontView
                    Margin="-63,18,63,-18"
                    IsEnabled="{Binding BufferEnableWaferClick}"
                    UnitData="{Binding Buffer}" />
            </Grid>
            <Grid
                x:Name="RemainTime"
                Canvas.Left="850"
                Canvas.Top="320"
                Margin="120,0,0,0"
                Visibility="{Binding IsBufferInstalled, Converter={StaticResource BoolVisibilityConverter}}">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="110" />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="24" />
                    <RowDefinition Height="32" />
                    <RowDefinition Height="32" />
                    <RowDefinition Height="32" />
                </Grid.RowDefinitions>
                <Label
                    Grid.Row="0"
                    Grid.ColumnSpan="2"
                    HorizontalContentAlignment="Center"
                    VerticalContentAlignment="Center"
                    Content="{lex:Loc ID_TXT_RemainTime}"
                    Style="{DynamicResource Table_TitleStyle}" />
                <Border
                    Grid.Row="1"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_RightBottomBorder}">
                    <TextBlock
                        HorizontalAlignment="Center"
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{Binding TimeBuffer3, StringFormat=0.0}"
                        TextWrapping="Wrap" />
                </Border>

                <Border
                    Grid.Row="2"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_RightBottomBorder}">
                    <TextBlock
                        HorizontalAlignment="Center"
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{Binding TimeBuffer2, StringFormat=0.0}"
                        TextWrapping="Wrap" />
                </Border>


                <Border
                    Grid.Row="3"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_RightBottomBorder}">
                    <TextBlock
                        HorizontalAlignment="Center"
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{Binding TimeBuffer1, StringFormat=0.0}"
                        TextWrapping="Wrap" />
                </Border>

            </Grid>

            <!--<Grid
                x:Name="UnLoad_Info"
                Canvas.Left="87"
                Canvas.Top="224"
                Visibility="Collapsed">
            -->
            <!--  Visibility="{Binding IsUnLoadInstalled, Converter={StaticResource BoolVisibilityConverter}}">  -->
            <!--
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="110" />
                    <ColumnDefinition Width="140" />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="24" />
                    <RowDefinition Height="24" />
                    <RowDefinition Height="24" />
                    <RowDefinition Height="24" />
                    <RowDefinition Height="24" />
                    <RowDefinition Height="24" />
                </Grid.RowDefinitions>
                <Label
                    Grid.Row="0"
                    Grid.ColumnSpan="2"
                    HorizontalContentAlignment="Center"
                    VerticalContentAlignment="Center"
                    Content="UnLoad Info"
                    Style="{DynamicResource Table_TitleStyle}" />
                <Border
                    Visibility="Collapsed"
                    Grid.Row="1"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_LeftBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="Pressure(mbar)"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Visibility="Collapsed"
                    Grid.Row="1"
                    Grid.Column="1"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_RightBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{Binding UnLoadPressure, StringFormat=0.0}"
                        TextWrapping="Wrap" />
                </Border>

                <Border
                    Grid.Row="2"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_LeftBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="LiftStatus"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Grid.Row="2"
                    Grid.Column="1"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_RightBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{Binding UnLoadLiftState}"
                        TextWrapping="Wrap" />
                </Border>

                <Border
                    Grid.Row="3"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_LeftBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="ClawStatus"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Grid.Row="3"
                    Grid.Column="1"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_RightBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{Binding UnLoadWaferClaw}"
                        TextWrapping="Wrap" />
                </Border>

                <Border
                    Grid.Row="4"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_LeftBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="CoolingTime(s)"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Grid.Row="4"
                    Grid.Column="1"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_RightBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{Binding UnLoadCoolingTime}"
                        TextWrapping="Wrap" />
                </Border>

                <Border
                    Grid.Row="5"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_LeftBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="Temp(℃)"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Grid.Row="5"
                    Grid.Column="1"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_RightBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{Binding UnLoadTemperature, StringFormat=\{0:F1\}}"
                        TextWrapping="Wrap" />
                </Border>

            </Grid>-->

            <Grid
                x:Name="Load_Info"
                Canvas.Left="710"
                Canvas.Top="460"
                Margin="120,0,0,0"
                Visibility="{Binding IsLoadLockInstalled, Converter={StaticResource BoolVisibilityConverter}}">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="110" />
                    <ColumnDefinition Width="140" />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="24" />
                    <RowDefinition Height="24" />
                    <RowDefinition Height="24" />
                    <!--<RowDefinition Height="24" />
                    <RowDefinition Height="24" />-->
                </Grid.RowDefinitions>
                <Label
                    Grid.Row="0"
                    Grid.ColumnSpan="2"
                    HorizontalContentAlignment="Center"
                    VerticalContentAlignment="Center"
                    Content="{lex:Loc ID_TXT_LoadInfo}"
                    Style="{DynamicResource Table_TitleStyle}" />
                <Border
                    Grid.Row="1"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_LeftBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{lex:Loc ID_TXT_Pressure}"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Grid.Row="1"
                    Grid.Column="1"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_RightBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{Binding LLPressure, StringFormat=0.0}"
                        TextWrapping="Wrap" />
                </Border>

                <Border
                    Grid.Row="2"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_LeftBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{lex:Loc ID_TXT_CoolingTime}"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Grid.Row="2"
                    Grid.Column="1"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_RightBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{Binding LoadCoolingTime, StringFormat=0.0}"
                        TextWrapping="Wrap" />
                </Border>

                <!--<Border
                    Grid.Row="3"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_LeftBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="WaferClawStatus"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Grid.Row="4"
                    Grid.Column="1"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_RightBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{Binding LLTrayClaw}"
                        TextWrapping="Wrap" />
                </Border>

                <Border
                    Grid.Row="4"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_LeftBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="TrayClawStatus"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Grid.Row="3"
                    Grid.Column="1"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_RightBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{Binding LLWaferClaw}"
                        TextWrapping="Wrap" />
                </Border>-->

            </Grid>

            <Grid
                x:Name="BufferInfo"
                Canvas.Left="710"
                Canvas.Top="230"
                Margin="120,0,0,0"
                Visibility="{Binding IsBufferInstalled, Converter={StaticResource BoolVisibilityConverter}}">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="110" />
                    <ColumnDefinition Width="140" />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="24" />
                    <RowDefinition Height="24" />
                    <!--<RowDefinition Height="24" />
                    <RowDefinition Height="24" />-->
                </Grid.RowDefinitions>
                <Label
                    Grid.Row="0"
                    Grid.ColumnSpan="2"
                    HorizontalContentAlignment="Center"
                    VerticalContentAlignment="Center"
                    Content="{lex:Loc ID_TXT_BufferInfo}"
                    Style="{DynamicResource Table_TitleStyle}" />
                <Border
                    Grid.Row="1"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_LeftBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{lex:Loc ID_TXT_Pressure}"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Grid.Row="1"
                    Grid.Column="1"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_RightBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{Binding TMPressure, StringFormat=0 mbar}"
                        TextWrapping="Wrap" />
                </Border>

                <!--<Border
                    Grid.Row="2"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_LeftBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="Temperature"
                        TextWrapping="Wrap" />
                </Border>
                <Border
                    Grid.Row="2"
                    Grid.Column="1"
                    Padding="5,1"
                    Style="{DynamicResource OverviewTable_RightBottomBorder}">
                    <TextBlock
                        VerticalAlignment="Center"
                        FontFamily="Arial"
                        FontSize="12"
                        Foreground="{DynamicResource FG_Black}"
                        Text="{Binding BufferTempPV, StringFormat=0.0}"
                        TextWrapping="Wrap" />
                </Border>-->
            </Grid>

            <StackPanel
                x:Name="WaferSatus"
                Canvas.Left="1010"
                Canvas.Top="578">
                <Border
                    Margin="-150,0,0,0"
                    Padding="5,1"
                    BorderBrush="{DynamicResource MainFrame_BD}"
                    BorderThickness="1,1,1,1">
                    <StackPanel
                        Margin="0,5"
                        HorizontalAlignment="Center"
                        VerticalAlignment="Top">
                        <Grid
                            Width="180"
                            Height="20"
                            HorizontalAlignment="Left">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="40" />
                                <ColumnDefinition />
                            </Grid.ColumnDefinitions>
                            <Rectangle
                                Height="15"
                                Fill="#ADD8E6"
                                Stroke="Black"
                                StrokeThickness="1" />
                            <TextBlock
                                Grid.Column="1"
                                Margin="10,0,0,0"
                                VerticalAlignment="Center"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="{DynamicResource FG_Black}"
                                Text="{lex:Loc ID_TXT_WaferState_Idle_NoJob}" />
                        </Grid>
                        <Grid
                            Width="180"
                            Height="20"
                            Margin="0,0,0,0"
                            HorizontalAlignment="Left">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="40" />
                                <ColumnDefinition />
                            </Grid.ColumnDefinitions>
                            <Rectangle
                                Height="15"
                                Fill="Blue"
                                Stroke="Black"
                                StrokeThickness="1" />
                            <TextBlock
                                Grid.Column="1"
                                Margin="10,0,0,0"
                                VerticalAlignment="Center"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="{DynamicResource FG_Black}"
                                Text="{lex:Loc ID_TXT_WaferState_Idle_WithJob}" />
                        </Grid>
                        <Grid
                            Width="180"
                            Height="20"
                            Margin="0,0,0,0"
                            HorizontalAlignment="Left">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="40" />
                                <ColumnDefinition />
                            </Grid.ColumnDefinitions>
                            <Rectangle
                                Height="15"
                                Fill="Cyan"
                                Stroke="Black"
                                StrokeThickness="1" />
                            <TextBlock
                                Grid.Column="1"
                                Margin="10,0,0,0"
                                VerticalAlignment="Center"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="{DynamicResource FG_Black}"
                                Text="{lex:Loc ID_TXT_WaferState_InProcess}" />
                        </Grid>
                        <Grid
                            Width="180"
                            Height="20"
                            Margin="0,0,0,0"
                            HorizontalAlignment="Left">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="40" />
                                <ColumnDefinition />
                            </Grid.ColumnDefinitions>
                            <Rectangle
                                Height="15"
                                Fill="LimeGreen"
                                Stroke="Black"
                                StrokeThickness="1" />
                            <TextBlock
                                Grid.Column="1"
                                Margin="10,0,0,0"
                                VerticalAlignment="Center"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="{DynamicResource FG_Black}"
                                Text="{lex:Loc ID_TXT_WaferState_ProcessComplete}" />
                        </Grid>
                        <Grid
                            Width="180"
                            Height="20"
                            Margin="0,0,0,0"
                            HorizontalAlignment="Left">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="40" />
                                <ColumnDefinition />
                            </Grid.ColumnDefinitions>
                            <Rectangle
                                Height="15"
                                Fill="Red"
                                Stroke="Black"
                                StrokeThickness="1" />
                            <TextBlock
                                Grid.Column="1"
                                Margin="10,0,0,0"
                                VerticalAlignment="Center"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="{DynamicResource FG_Black}"
                                Text="{lex:Loc ID_TXT_WaferState_Error}" />
                        </Grid>
                        <Grid
                            Width="180"
                            Height="20"
                            Margin="0,0,0,0"
                            HorizontalAlignment="Left">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="40" />
                                <ColumnDefinition />
                            </Grid.ColumnDefinitions>
                            <Rectangle
                                Height="15"
                                Fill="Yellow"
                                Stroke="Black"
                                StrokeThickness="1" />
                            <TextBlock
                                Grid.Column="1"
                                Margin="10,0,0,0"
                                VerticalAlignment="Center"
                                FontFamily="Arial"
                                FontSize="12"
                                Foreground="{DynamicResource FG_Black}"
                                Text="{lex:Loc ID_TXT_WaferState_Warning}" />
                        </Grid>
                    </StackPanel>
                </Border>
            </StackPanel>

        </Canvas>



        <Grid Grid.Column="1">
            <Canvas>
                <Grid
                    Canvas.Left="-274"
                    Canvas.Top="15"
                    Width="280"
                    Margin="0"
                    HorizontalAlignment="Right"
                    Style="{DynamicResource WaferStatus_GridStyle}">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="50" />
                        <RowDefinition Height="300" />
                    </Grid.RowDefinitions>
                    <Border
                        Grid.Row="0"
                        Padding="5,1"
                        Background="{DynamicResource MainFrame_BG_Title}"
                        BorderBrush="{DynamicResource MainFrame_BD}"
                        BorderThickness="1,1,1,0"
                        CornerRadius="6,6,0,0">
                        <StackPanel
                            HorizontalAlignment="Left"
                            VerticalAlignment="Center"
                            Orientation="Horizontal">
                            <Path
                                Grid.Row="1"
                                Width="5"
                                Height="5"
                                HorizontalAlignment="Left"
                                Data="M0,0 L5,0 5,5 z"
                                Fill="Black"
                                RenderTransformOrigin="0.5,0.5"
                                Stretch="Fill">
                                <Path.RenderTransform>
                                    <TransformGroup>
                                        <ScaleTransform />
                                        <SkewTransform />
                                        <RotateTransform Angle="45" />
                                        <TranslateTransform />
                                    </TransformGroup>
                                </Path.RenderTransform>
                            </Path>
                            <TextBlock
                                Margin="5,0,0,0"
                                HorizontalAlignment="Left"
                                VerticalAlignment="Center"
                                FontFamily="Arial"
                                FontSize="18"
                                Foreground="{DynamicResource FG_Black}"
                                Text="{lex:Loc ID_TXT_Operation}" />
                        </StackPanel>
                    </Border>

                    <Border
                        Grid.Row="1"
                        Padding="5,1"
                        Background="{DynamicResource MainFrame_BG}"
                        BorderBrush="{DynamicResource MainFrame_BD}"
                        BorderThickness="1,0,1,1">
                        <Canvas>

                            <Border
                                Grid.Row="2"
                                Canvas.Left="37"
                                Canvas.Top="10"
                                Width="200"
                                Height="60"
                                Padding="5,1"
                                Background="{DynamicResource Table_BG_Title}"
                                BorderBrush="{DynamicResource Table_BD}"
                                BorderThickness="1,1,1,1"
                                CornerRadius="6">
                                <TextBlock
                                    HorizontalAlignment="Center"
                                    VerticalAlignment="Center"
                                    lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                                    FontFamily="Arial"
                                    FontSize="16"
                                    Foreground="{DynamicResource FG_Black}"
                                    Text="{lex:Loc {Binding RtStatus}}"
                                    TextWrapping="Wrap" />
                            </Border>

                            <Button
                                Canvas.Left="77"
                                Canvas.Top="89"
                                Width="110"
                                Height="35"
                                Content="{lex:Loc ID_BTN_Init_Content}"
                                IsEnabled="{Binding IsEnableInitialize}"
                                ToolTip="{lex:Loc ID_BTN_Init_ToolTip}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="HomeAll" />
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Canvas.Left="77"
                                Canvas.Top="156"
                                Width="110"
                                Height="35"
                                Content="{lex:Loc ID_BTN_Abort_Content}"
                                IsEnabled="{Binding IsEnableAbort}"
                                ToolTip="{lex:Loc ID_BTN_Abort_ToolTip}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Abort" />
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Canvas.Left="77"
                                Canvas.Top="220"
                                Width="110"
                                Height="35"
                                Content="{lex:Loc ID_BTN_Monitor_Content}"
                                ToolTip="{lex:Loc ID_BTN_Monitor_ToolTip}"
                                Visibility="{Binding ProcessMonitorButtonVisibility}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="ShowProcessMonitorWindow" />
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Canvas.Left="78"
                                Canvas.Top="224"
                                Width="110"
                                Height="35"
                                Content="Return All"
                                IsEnabled="{Binding IsEnableReturnAll}"
                                Visibility="Hidden">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="ReturnAllWafer" />
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>


                        </Canvas>
                    </Border>


                </Grid>

                <Grid
                    Canvas.Left="50"
                    Canvas.Top="15"
                    Width="280"
                    Margin="0"
                    HorizontalAlignment="Right"
                    Style="{DynamicResource WaferStatus_GridStyle}">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="50" />
                        <RowDefinition Height="300" />
                    </Grid.RowDefinitions>
                    <Border
                        Grid.Row="0"
                        Padding="5,1"
                        Background="{DynamicResource MainFrame_BG_Title}"
                        BorderBrush="{DynamicResource MainFrame_BD}"
                        BorderThickness="1,1,1,0"
                        CornerRadius="6,6,0,0">
                        <StackPanel
                            HorizontalAlignment="Left"
                            VerticalAlignment="Center"
                            Orientation="Horizontal">
                            <Path
                                Grid.Row="1"
                                Width="5"
                                Height="5"
                                HorizontalAlignment="Left"
                                Data="M0,0 L5,0 5,5 z"
                                Fill="Black"
                                RenderTransformOrigin="0.5,0.5"
                                Stretch="Fill">
                                <Path.RenderTransform>
                                    <TransformGroup>
                                        <ScaleTransform />
                                        <SkewTransform />
                                        <RotateTransform Angle="45" />
                                        <TranslateTransform />
                                    </TransformGroup>
                                </Path.RenderTransform>
                            </Path>
                            <TextBlock
                                Margin="5,0,0,0"
                                HorizontalAlignment="Left"
                                VerticalAlignment="Center"
                                FontFamily="Arial"
                                FontSize="18"
                                Foreground="{DynamicResource FG_Black}"
                                Text="{lex:Loc ID_TXT_RunningMode}" />
                        </StackPanel>
                    </Border>

                    <Border
                        Grid.Row="1"
                        Padding="5,1"
                        Background="{DynamicResource MainFrame_BG}"
                        BorderBrush="{DynamicResource MainFrame_BD}"
                        BorderThickness="1,0,1,1">
                        <Canvas>

                            <Border
                                Grid.Row="2"
                                Canvas.Left="37"
                                Canvas.Top="10"
                                Width="200"
                                Height="60"
                                Padding="5,1"
                                Background="{DynamicResource Table_BG_Title}"
                                BorderBrush="{DynamicResource Table_BD}"
                                BorderThickness="1,1,1,1"
                                CornerRadius="6">
                                <TextBlock
                                    HorizontalAlignment="Center"
                                    VerticalAlignment="Center"
                                    lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
                                    FontFamily="Arial"
                                    FontSize="16"
                                    Foreground="{DynamicResource FG_Black}"
                                    Text="{lex:Loc {Binding RunningMode, FallbackValue=Unknown}}"
                                    TextWrapping="Wrap" />
                            </Border>

                            <Button
                                Canvas.Left="77"
                                Canvas.Top="103"
                                Width="110"
                                Height="35"
                                Content="{lex:Loc ID_BTN_RunningModeAuto_Content}"
                                IsEnabled="{Binding IsEnableAuto}"
                                ToolTip="{lex:Loc ID_BTN_RunningModeAuto_ToolTip}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Auto" />
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                            <Button
                                Canvas.Left="77"
                                Canvas.Top="167"
                                Width="110"
                                Height="35"
                                Content="{lex:Loc ID_BTN_RunningModeManual_Content}"
                                IsEnabled="{Binding IsEnableManual}"
                                ToolTip="{lex:Loc ID_BTN_RunningModeManual_ToolTip}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="Click">
                                        <cal:ActionMessage MethodName="Manual" />
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </Button>

                        </Canvas>
                    </Border>
                </Grid>

                <TabControl
                    Canvas.Left="-274"
                    Canvas.Top="420"
                    Width="620"
                    Height="300">
                    <TabItem lex:ResxLocalizationProvider.DefaultDictionary="lang_overview" Header="{lex:Loc ID_TXT_JobList}">
                        <DataGrid
                            Name="gridJob"
                            Grid.Row="1"
                            Margin="0,5,0,0"
                            HorizontalAlignment="Left"
                            AlternationCount="2"
                            AutoGenerateColumns="False"
                            CanUserAddRows="False"
                            IsEnabled="True"
                            ItemsSource="{Binding JobListInfoData}"
                            RowHeaderWidth="0"
                            VirtualizingPanel.IsVirtualizing="True"
                            VirtualizingPanel.VirtualizationMode="Recycling">
                            <DataGrid.Columns>
                                <DataGridTemplateColumn Width="30" Header="#">
                                    <DataGridTemplateColumn.CellTemplate>
                                        <DataTemplate>
                                            <TextBlock
                                                Margin="5,0"
                                                HorizontalAlignment="Center"
                                                VerticalAlignment="Center"
                                                FontFamily="Arial"
                                                FontSize="14"
                                                Foreground="{DynamicResource FG_Black}"
                                                Text="{Binding Index}" />
                                        </DataTemplate>
                                    </DataGridTemplateColumn.CellTemplate>
                                </DataGridTemplateColumn>
                                <DataGridTemplateColumn
                                    Width="80"
                                    lex:ResxLocalizationProvider.DefaultDictionary="lang_overview"
                                    Header="{lex:Loc ID_TXT_JobAssign_Name}">
                                    <DataGridTemplateColumn.CellTemplate>
                                        <DataTemplate>
                                            <TextBlock
                                                Margin="5,0"
                                                HorizontalAlignment="Center"
                                                VerticalAlignment="Center"
                                                FontFamily="Arial"
                                                FontSize="14"
                                                Foreground="{DynamicResource FG_Black}"
                                                Text="{Binding LotName}" />
                                        </DataTemplate>
                                    </DataGridTemplateColumn.CellTemplate>
                                </DataGridTemplateColumn>
                                <DataGridTemplateColumn
                                    Width="80"
                                    lex:ResxLocalizationProvider.DefaultDictionary="lang_overview"
                                    Header="{lex:Loc ID_TXT_Status}">
                                    <DataGridTemplateColumn.CellTemplate>
                                        <DataTemplate>
                                            <TextBlock
                                                Margin="5,0"
                                                HorizontalAlignment="Center"
                                                VerticalAlignment="Center"
                                                FontFamily="Arial"
                                                FontSize="14"
                                                Foreground="{DynamicResource FG_Black}"
                                                Text="{Binding Status}" />
                                        </DataTemplate>
                                    </DataGridTemplateColumn.CellTemplate>
                                </DataGridTemplateColumn>
                                <DataGridTemplateColumn
                                    Width="140"
                                    lex:ResxLocalizationProvider.DefaultDictionary="lang_overview"
                                    Header="{lex:Loc ID_TXT_Creat_Time}">
                                    <DataGridTemplateColumn.CellTemplate>
                                        <DataTemplate>
                                            <TextBlock
                                                Margin="5,0"
                                                HorizontalAlignment="Center"
                                                VerticalAlignment="Center"
                                                FontFamily="Arial"
                                                FontSize="14"
                                                Foreground="{DynamicResource FG_Black}"
                                                Text="{Binding CreateTime}" />
                                        </DataTemplate>
                                    </DataGridTemplateColumn.CellTemplate>
                                </DataGridTemplateColumn>
                                <DataGridTemplateColumn
                                    Width="190"
                                    lex:ResxLocalizationProvider.DefaultDictionary="lang_overview"
                                    Header="{lex:Loc ID_TXT_RecipeName}">
                                    <DataGridTemplateColumn.CellTemplate>
                                        <DataTemplate>
                                            <TextBlock
                                                Margin="5,0"
                                                HorizontalAlignment="Center"
                                                VerticalAlignment="Center"
                                                FontFamily="Arial"
                                                FontSize="14"
                                                Foreground="{DynamicResource FG_Black}"
                                                Text="{Binding RecipeName}" />
                                        </DataTemplate>
                                    </DataGridTemplateColumn.CellTemplate>
                                </DataGridTemplateColumn>
                                <DataGridTemplateColumn Width="60" Header="">
                                    <DataGridTemplateColumn.CellTemplate>
                                        <DataTemplate>
                                            <Button
                                                Width="55"
                                                Height="25"
                                                Content="Abort"
                                                FontSize="10">
                                                <i:Interaction.Triggers>
                                                    <i:EventTrigger EventName="Click">
                                                        <cal:ActionMessage MethodName="AbortSingleJob">
                                                            <cal:Parameter Value="{Binding JobName}" />
                                                            <cal:Parameter Value="{Binding WaferID}" />
                                                        </cal:ActionMessage>
                                                    </i:EventTrigger>
                                                </i:Interaction.Triggers>
                                            </Button>
                                        </DataTemplate>
                                    </DataGridTemplateColumn.CellTemplate>
                                </DataGridTemplateColumn>
                            </DataGrid.Columns>
                        </DataGrid>
                    </TabItem>
                </TabControl>

            </Canvas>

        </Grid>
    </Grid>
</UserControl>
