Sic08/SicUI/Models/Operations/Overviews/OverViewView.xaml

1869 lines
87 KiB
XML

<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:d="http://schemas.microsoft.com/expression/blend/2008"
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: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="AliceBlue"
d:DataContext="{d:DesignInstance Type=vr:OverViewViewModel,
IsDesignTimeCreatable=False}"
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 Margin="30,0">
<TabControl
Grid.Column="1"
Canvas.Top="0"
Margin="0,5"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
FontSize="12">
<TabItem Header="{lex:Loc ID_TXT_WaferCassette}">
<StackPanel
Margin="10,5"
HorizontalAlignment="Center"
VerticalAlignment="Top"
Orientation="Horizontal">
<StackPanel>
<unitControls:FOUPFrontView
Margin="0,0,0,0"
UnitData="{Binding CassAL}"
Visibility="{Binding IsLP1Installed, Converter={StaticResource BoolVisibilityConverter}}" />
<StackPanel Orientation="Horizontal">
<TextBox
Width="50"
Margin="5,0,0,0"
HorizontalAlignment="Center"
VerticalAlignment="Center"
HorizontalContentAlignment="Center"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
MaxLength="2">
<TextBox.Text>
<Binding Path="CassALeft1" UpdateSourceTrigger="PropertyChanged">
<Binding.ValidationRules>
<vr:CassAWaferAmountValidationRule Max="25" Min="1" />
</Binding.ValidationRules>
</Binding>
</TextBox.Text>
</TextBox>
<Label
Width="20"
Height="25"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Content="--"
FontSize="13"
IsEnabled="True" />
<TextBox
Width="50"
VerticalAlignment="Center"
HorizontalContentAlignment="Center"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
MaxLength="2">
<TextBox.Text>
<Binding Path="CassALeft2" UpdateSourceTrigger="PropertyChanged">
<Binding.ValidationRules>
<vr:CassAWaferAmountValidationRule Max="25" Min="1" />
</Binding.ValidationRules>
</Binding>
</TextBox.Text>
</TextBox>
<!--</Border>-->
</StackPanel>
<StackPanel Orientation="Horizontal">
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Button
Width="62"
Height="24"
Margin="1,2"
Content="{lex:Loc ID_BTN_CreateWafer_Content}"
FontSize="12"
ToolTip="{lex:Loc ID_BTN_CreateWafer_ToolTip}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="CreateWafer">
<cal:Parameter Value="CassAL" />
<cal:Parameter Value="{Binding CassALeft1}" />
<cal:Parameter Value="{Binding CassALeft2}" />
</cal:ActionMessage>
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
<Button
Grid.Column="1"
Width="62"
Height="24"
Margin="0,2"
Content="{lex:Loc ID_BTN_DeleteWafer_Content}"
FontSize="12"
ToolTip="{lex:Loc ID_BTN_DeleteWafer_ToolTip}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="DeleteWafer">
<cal:Parameter Value="CassAL" />
<cal:Parameter Value="{Binding CassALeft1}" />
<cal:Parameter Value="{Binding CassALeft2}" />
</cal:ActionMessage>
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
<Button
Grid.Row="1"
Width="62"
Height="24"
Margin="0,2"
Content="{lex:Loc ID_BTN_MapWafer_Content}"
FontSize="12"
ToolTip="{lex:Loc ID_BTN_MapWafer_ToolTip}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="MapWafer">
<cal:Parameter Value="CassAL" />
</cal:ActionMessage>
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
</Grid>
</StackPanel>
</StackPanel>
<StackPanel Margin="5,0,0,0">
<unitControls:FOUPFrontView
Margin="0,0,0,0"
UnitData="{Binding CassAR}"
Visibility="{Binding IsLP1Installed, Converter={StaticResource BoolVisibilityConverter}}" />
<StackPanel Orientation="Horizontal">
<!--<Border BorderBrush="{DynamicResource Table_BD}" Height="25" BorderThickness="1" Background="{DynamicResource Table_BG_Content}" Padding="1" >-->
<TextBox
Width="50"
Margin="5,0,0,0"
VerticalAlignment="Center"
HorizontalContentAlignment="Center"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
MaxLength="2">
<TextBox.Text>
<Binding Path="CassARight1" UpdateSourceTrigger="PropertyChanged">
<Binding.ValidationRules>
<vr:CassAWaferAmountValidationRule Max="25" Min="0" />
</Binding.ValidationRules>
</Binding>
</TextBox.Text>
</TextBox>
<!--</Border>-->
<Label
Width="20"
Height="25"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Content="--"
FontSize="13"
IsEnabled="True" />
<!--<Border BorderBrush="{DynamicResource Table_BD}" Height="25" BorderThickness="1" Background="{DynamicResource Table_BG_Content}" Padding="1" >-->
<TextBox
Width="50"
VerticalAlignment="Center"
HorizontalContentAlignment="Center"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
MaxLength="2">
<TextBox.Text>
<Binding Path="CassARight2" UpdateSourceTrigger="PropertyChanged">
<Binding.ValidationRules>
<vr:CassAWaferAmountValidationRule Max="25" Min="0" />
</Binding.ValidationRules>
</Binding>
</TextBox.Text>
</TextBox>
<!--</Border>-->
</StackPanel>
<StackPanel Orientation="Horizontal">
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Button
Width="62"
Height="24"
Margin="1,2"
Content="{lex:Loc ID_BTN_CreateWafer_Content}"
FontSize="12"
ToolTip="{lex:Loc ID_BTN_CreateWafer_ToolTip}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="CreateWafer">
<cal:Parameter Value="CassAR" />
<cal:Parameter Value="{Binding CassARight1}" />
<cal:Parameter Value="{Binding CassARight2}" />
</cal:ActionMessage>
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
<Button
Grid.Column="1"
Width="62"
Height="24"
Margin="0,2"
Content="{lex:Loc ID_BTN_DeleteWafer_Content}"
FontSize="12"
ToolTip="{lex:Loc ID_BTN_DeleteWafer_ToolTip}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="DeleteWafer">
<cal:Parameter Value="CassAR" />
<cal:Parameter Value="{Binding CassARight1}" />
<cal:Parameter Value="{Binding CassARight2}" />
</cal:ActionMessage>
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
<Button
Grid.Row="1"
Width="62"
Height="24"
Margin="0,2"
Content="{lex:Loc ID_BTN_MapWafer_Content}"
FontSize="12"
ToolTip="{lex:Loc ID_BTN_MapWafer_ToolTip}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="MapWafer">
<cal:Parameter Value="CassAR" />
</cal:ActionMessage>
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
</Grid>
</StackPanel>
</StackPanel>
</StackPanel>
</TabItem>
<!-- Header="{Binding CassALWaferAssociation.ModuleData.ModuleID}" -->
<TabItem
lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
Header="{lex:Loc {Binding CassALWaferAssociation.ModuleData.ModuleID}}"
Visibility="{Binding IsVCEAVisibility}">
<waferAssociation:WaferAssociationUnit
Margin="10,2"
HorizontalAlignment="Center"
IsEnabled="{Binding IsEnableJobCassAL}"
WAInfo="{Binding CassALWaferAssociation}" />
</TabItem>
<TabItem
lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
Header="{lex:Loc {Binding CassARWaferAssociation.ModuleData.ModuleID}}"
Visibility="{Binding IsVCEBVisibility}">
<waferAssociation:WaferAssociationUnit
Margin="10,2"
HorizontalAlignment="Center"
IsEnabled="{Binding IsEnableJobCassAR}"
WAInfo="{Binding CassARWaferAssociation}" />
</TabItem>
</TabControl>
</Canvas>
<Canvas
Width="1235"
Height="910"
Margin="345,0,5,0"
HorizontalAlignment="Center"
VerticalAlignment="Top">
<parts:M2C4EFEMView
x:Name="system"
Canvas.Left="300"
Canvas.Top="2"
Width="770"
Height="698" />
<Grid
x:Name="PM1_Info"
Canvas.Left="87"
Canvas.Top="30"
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"
lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="{lex:Loc {Binding PM1ConfinementState}}"
TextWrapping="Wrap" />
</Border>
</Grid>
<Grid
x:Name="PM2_Info"
Canvas.Left="87"
Canvas.Top="210"
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"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="{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"
lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="{lex:Loc {Binding PM2ConfinementState}}"
TextWrapping="Wrap" />
</Border>
</Grid>
<!-- Tray Panel -->
<Grid Canvas.Left="962" Canvas.Top="20">
<Grid.RowDefinitions>
<RowDefinition Height="24" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Label
Grid.Row="0"
Grid.ColumnSpan="2"
HorizontalContentAlignment="Center"
VerticalContentAlignment="Center"
Content="{lex:Loc ID_TXT_Tray}"
Style="{DynamicResource Table_TitleStyle}" />
<Border
Grid.Row="1"
Padding="58,5"
Background="{DynamicResource MainFrame_BG}"
BorderBrush="{DynamicResource MainFrame_BD}">
<StackPanel Orientation="Vertical">
<unitControls:FOUPFrontView
Margin="0,0,0,0"
UnitData="{Binding CassBL}"
Visibility="{Binding IsLP1Installed, Converter={StaticResource BoolVisibilityConverter}}" />
<StackPanel Orientation="Horizontal">
<TextBox
Width="50"
Margin="5,0,0,0"
HorizontalAlignment="Center"
VerticalAlignment="Center"
HorizontalContentAlignment="Center"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
MaxLength="2">
<TextBox.Text>
<Binding Path="CassBL1" UpdateSourceTrigger="PropertyChanged">
<Binding.ValidationRules>
<vr:CassAWaferAmountValidationRule Max="8" Min="1" />
</Binding.ValidationRules>
</Binding>
</TextBox.Text>
</TextBox>
<Label
Width="20"
Height="25"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Content="--"
FontSize="13"
IsEnabled="True" />
<TextBox
Width="50"
VerticalAlignment="Center"
HorizontalContentAlignment="Center"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
MaxLength="2">
<TextBox.Text>
<Binding Path="CassBL2" UpdateSourceTrigger="PropertyChanged">
<Binding.ValidationRules>
<vr:CassAWaferAmountValidationRule Max="8" Min="1" />
</Binding.ValidationRules>
</Binding>
</TextBox.Text>
</TextBox>
<!--</Border>-->
</StackPanel>
<StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Button
Width="62"
Height="24"
Margin="1,2"
Content="{lex:Loc ID_BTN_CreateTray_Content}"
FontSize="12"
ToolTip="{lex:Loc ID_BTN_CreateTray_ToolTip}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="CreateWafer">
<cal:Parameter Value="CassBL" />
<cal:Parameter Value="{Binding CassBL1}" />
<cal:Parameter Value="{Binding CassBL2}" />
</cal:ActionMessage>
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
<Button
Grid.Column="1"
Width="62"
Height="24"
Margin="0,2"
Content="{lex:Loc ID_BTN_DeleteTray_Content}"
FontSize="12"
ToolTip="{lex:Loc ID_BTN_DeleteTray_ToolTip}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="DeleteWafer">
<cal:Parameter Value="CassBL" />
<cal:Parameter Value="{Binding CassBL1}" />
<cal:Parameter Value="{Binding CassBL2}" />
</cal:ActionMessage>
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
<Button
Grid.Row="1"
Width="62"
Height="24"
Margin="0,2"
Content="{lex:Loc ID_BTN_MapTray_Content}"
FontSize="12"
ToolTip="{lex:Loc ID_BTN_MapTray_ToolTip}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="MapTray">
<cal:Parameter Value="CassBL" />
</cal:ActionMessage>
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
</Grid>
</StackPanel>
</StackPanel>
</Border>
</Grid>
<Grid
x:Name="Buffer_Info"
Canvas.Left="962"
Canvas.Top="390">
<unitControls:FOUPFrontView Margin="0,2,0,-2" UnitData="{Binding Buffer}" />
</Grid>
<Grid
x:Name="RemainTime"
Canvas.Left="1100"
Canvas.Top="390"
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}" />
<!-- Line 1 -->
<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 sTimeBuffer3, 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 sTimeBuffer2, 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 sTimeBuffer1, StringFormat=0.0}"
TextWrapping="Wrap" />
</Border>
</Grid>
<Grid
x:Name="UnLoad_Info"
Canvas.Left="87"
Canvas.Top="400"
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="{lex:Loc ID_TXT_UnLoadInfo}"
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 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="{lex:Loc ID_TXT_WaferLiftStatus}"
TextWrapping="Wrap" />
</Border>
<Border
Grid.Row="2"
Grid.Column="1"
Padding="5,1"
Style="{DynamicResource OverviewTable_RightBottomBorder}">
<TextBlock
VerticalAlignment="Center"
lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="{lex:Loc {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="{lex:Loc ID_TXT_WaferClawStatus}"
TextWrapping="Wrap" />
</Border>
<Border
Grid.Row="3"
Grid.Column="1"
Padding="5,1"
Style="{DynamicResource OverviewTable_RightBottomBorder}">
<TextBlock
VerticalAlignment="Center"
lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="{lex:Loc {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="{lex:Loc ID_TXT_CoolingTime}"
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="{lex:Loc ID_TXT_Temperature}"
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="962"
Canvas.Top="590"
Visibility="{Binding IsLoadInstalled, 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_WaferLiftStatus}"
TextWrapping="Wrap" />
</Border>
<Border
Grid.Row="2"
Grid.Column="1"
Padding="5,1"
Style="{DynamicResource OverviewTable_RightBottomBorder}">
<TextBlock
VerticalAlignment="Center"
lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="{lex:Loc {Binding LoadLiftState}}"
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="{lex:Loc ID_TXT_WaferClawStatus}"
TextWrapping="Wrap" />
</Border>
<Border
Grid.Row="4"
Grid.Column="1"
Padding="5,1"
Style="{DynamicResource OverviewTable_RightBottomBorder}">
<TextBlock
VerticalAlignment="Center"
lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="{lex:Loc {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="{lex:Loc ID_TXT_TrayClawStatus}"
TextWrapping="Wrap" />
</Border>
<Border
Grid.Row="3"
Grid.Column="1"
Padding="5,1"
Style="{DynamicResource OverviewTable_RightBottomBorder}">
<TextBlock
VerticalAlignment="Center"
lex:ResxLocalizationProvider.DefaultDictionary="lang_terms"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="{lex:Loc {Binding LLWaferClaw}}"
TextWrapping="Wrap" />
</Border>
</Grid>
<Grid
x:Name="BufferInfo"
Canvas.Left="962"
Canvas.Top="530"
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}"
Visibility="Collapsed">
<TextBlock
VerticalAlignment="Center"
FontFamily="Arial"
FontSize="12"
Foreground="{DynamicResource FG_Black}"
Text="Temperature"
TextWrapping="Wrap" />
</Border>
</Grid>
<Canvas
x:Name="ModuleNameInfo"
Width="100"
Height="200">
<TextBlock
Canvas.Left="518"
Canvas.Top="131"
FontFamily="Arial"
FontSize="18"
Text="PM1"
Visibility="{Binding IsPM1Installed, Converter={StaticResource BoolVisibilityConverter}}" />
<TextBlock
Canvas.Left="796"
Canvas.Top="135"
FontFamily="Arial"
FontSize="18"
Text="PM2"
Visibility="{Binding IsPM2Installed, Converter={StaticResource BoolVisibilityConverter}}" />
<TextBlock
Canvas.Left="815"
Canvas.Top="321"
FontFamily="Arial"
FontSize="18"
Text="Buffer"
Visibility="{Binding IsPreHeatInstalled, Converter={StaticResource BoolVisibilityConverter}}" />
<TextBlock
Canvas.Left="472"
Canvas.Top="317"
FontFamily="Arial"
FontSize="18"
Text="UnLoad"
Visibility="{Binding IsBufferInstalled, Converter={StaticResource BoolVisibilityConverter}}" />
<TextBlock
Canvas.Left="390"
Canvas.Top="413"
FontFamily="Arial"
FontSize="18"
Text="Aligner"
Visibility="{Binding IsBufferInstalled, Converter={StaticResource BoolVisibilityConverter}}" />
<!--<TextBlock
Canvas.Left="600"
Canvas.Top="285"
FontFamily="Arial"
FontSize="18"
Text="TM"
Visibility="{Binding IsTMInstalled, Converter={StaticResource BoolVisibilityConverter}}" />-->
<!--<TextBlock
Canvas.Left="571"
Canvas.Top="304"
Width="90"
FontFamily="Arial"
FontSize="18"
Text="{Binding TMPressure, StringFormat=0 mbar}"
TextAlignment="Center"
Visibility="{Binding IsTMInstalled, Converter={StaticResource BoolVisibilityConverter}}" />-->
<TextBlock
Canvas.Left="383"
Canvas.Top="650"
FontFamily="Arial"
FontSize="18"
Text="CassAL"
Visibility="{Binding IsBufferInstalled, Converter={StaticResource BoolVisibilityConverter}}" />
<TextBlock
Canvas.Left="661"
Canvas.Top="646"
FontFamily="Arial"
FontSize="18"
Text="CassAR"
Visibility="{Binding IsBufferInstalled, Converter={StaticResource BoolVisibilityConverter}}" />
<TextBlock
Canvas.Left="839"
Canvas.Top="642"
FontFamily="Arial"
FontSize="18"
Text="CassB"
Visibility="{Binding IsBufferInstalled, Converter={StaticResource BoolVisibilityConverter}}" />
<TextBlock
Canvas.Left="661"
Canvas.Top="556"
FontFamily="Arial"
FontSize="18"
Text="Load"
Visibility="{Binding IsBufferInstalled, Converter={StaticResource BoolVisibilityConverter}}" />
</Canvas>
<StackPanel
x:Name="WaferSatus"
Canvas.Left="87"
Canvas.Top="588">
<Border
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="50"
Canvas.Top="15"
Width="280"
Margin="0"
HorizontalAlignment="Right"
Style="{DynamicResource WaferStatus_GridStyle}">
<Grid.RowDefinitions>
<RowDefinition Height="50" />
<RowDefinition Height="343" />
</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">
<Grid Margin="0,0,0,20">
<Grid.RowDefinitions>
<RowDefinition Height="97" />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Border
Grid.Row="0"
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">
<!--<TextBlock.Text>
<MultiBinding Converter="{lex:TranslateConverter}" >
<Binding Path="RtStatus" FallbackValue="N/A"/>
<Binding Source="{x:Static lex:LocalizeDictionary.Instance}" Path="Culture"/>
</MultiBinding>
</TextBlock.Text>-->
</TextBlock>
</Border>
<Button
Grid.Row="1"
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
Grid.Row="2"
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
Grid.Row="3"
Width="110"
Height="35"
Content="{lex:Loc ID_BTN_ReturnAll_Content}"
IsEnabled="{Binding IsEnableReturnAll}"
ToolTip="{lex:Loc ID_BTN_ReturnAll_ToolTip}">
<i:Interaction.Triggers>
<i:EventTrigger EventName="Click">
<cal:ActionMessage MethodName="ReturnAllWafer" />
</i:EventTrigger>
</i:Interaction.Triggers>
</Button>
<Button
Grid.Row="4"
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>
</Grid>
</Border>
</Grid>
<Grid
Canvas.Left="50"
Canvas.Top="430"
Width="280"
Margin="0"
HorizontalAlignment="Right"
Style="{DynamicResource WaferStatus_GridStyle}">
<Grid.RowDefinitions>
<RowDefinition Height="50" />
<RowDefinition Height="230" />
</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>
</Canvas>
</Grid>
</Grid>
</UserControl>