| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349 | <UserControl x:Class="MECF.Framework.UI.Client.CenterViews.DataLogs.ProcessHistory.ProcessDetailV2View"             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"              xmlns:d="http://schemas.microsoft.com/expression/blend/2008"              xmlns:parts="clr-namespace:Aitex.Core.UI.Control;assembly=MECF.Framework.UI.Core"              mc:Ignorable="d"               Height="768" Width="1024" Background="#E5E5E5">    <UserControl.Resources>        <Style TargetType="Path" x:Key="TriangleStyle">            <Setter Property="Fill" Value="#ccc"/>            <Setter Property="Data" Value="M 0,0 L 10,0 L 5,-8 Z"/>            <Setter Property="HorizontalAlignment" Value="Right"/>        </Style>        <SolidColorBrush x:Key="BaseColor_White" Color="White"/>        <SolidColorBrush x:Key="BaseColor_White_Gray_1" Color="#E5E5E5"/>        <SolidColorBrush x:Key="BaseColor_BorderBrush" Color="#ccc"/>        <SolidColorBrush x:Key="BaseColor_Green" Color="Green"/>        <SolidColorBrush x:Key="BaseColor_Red" Color="Red"/>        <SolidColorBrush x:Key="BaseColor_Yellow" Color="Yellow"/>    </UserControl.Resources>    <Grid>        <Grid.RowDefinitions>            <RowDefinition Height="70"></RowDefinition>            <RowDefinition Height="auto"></RowDefinition>            <RowDefinition Height="*"></RowDefinition>        </Grid.RowDefinitions>        <Grid.ColumnDefinitions>            <ColumnDefinition Width="auto"></ColumnDefinition>            <ColumnDefinition ></ColumnDefinition>        </Grid.ColumnDefinitions>        <Border Margin="5,0,0,0"  BorderBrush="{StaticResource BaseColor_BorderBrush}" BorderThickness="1" HorizontalAlignment="Center"  Width="200"  Height="60" >            <StackPanel Orientation="Vertical">                <TextBlock  Style="{StaticResource TextBlock_Title}" Text="No./Total" TextAlignment="Center"></TextBlock>                <TextBlock  Background="White" Height="50" TextAlignment="Center" FontSize="16"  Padding="5">                    <Run Text="{Binding SelectItemIndex}"/> <Run Text="/"/> <Run Text="{Binding TableCount}"/>                </TextBlock>            </StackPanel>        </Border>        <Border Margin="5,0,0,0"  Grid.Row="1" BorderBrush="{StaticResource BaseColor_BorderBrush}" BorderThickness="1">            <Button  Margin="10,25,10,5" Height="40" Content="File Info"></Button>        </Border>        <Border Margin="5,0,0,0"   Grid.Row="2" BorderBrush="{StaticResource BaseColor_BorderBrush}" BorderThickness="1">            <Canvas>                <parts:BoatElevatorMap BoatWafers="{Binding BoatMapWafers}" Margin="30,-35,0,0"  Height="500" Width="158">                </parts:BoatElevatorMap>                <Border BorderBrush="LightGray" BorderThickness="2,2,0,0" Canvas.Left="14" Canvas.Top="90" SnapsToDevicePixels="True"  Visibility="{Binding IstBoatMapLogicalVisibility}">                    <Border BorderBrush="LightGray" BorderThickness="0,0,2,2" Background="Gray" SnapsToDevicePixels="True" >                        <Grid Width="92" Height="500" Margin="4">                            <Grid.RowDefinitions>                                <RowDefinition/>                                <RowDefinition/>                                <RowDefinition Height="3"/>                                <RowDefinition/>                                <RowDefinition/>                                <RowDefinition Height="3"/>                                <RowDefinition/>                                <RowDefinition/>                                <RowDefinition Height="3"/>                                <RowDefinition/>                                <RowDefinition/>                                <RowDefinition Height="3"/>                                <RowDefinition/>                                <RowDefinition/>                            </Grid.RowDefinitions>                            <TextBlock Text="SD"/>                            <WrapPanel Grid.Row="1">                                <TextBlock   Foreground="{StaticResource BaseColor_White}"  FontSize="18" TextAlignment="Center"  Width="60" Text="{Binding UpperSDNum}"></TextBlock>                                <TextBlock Text="Num"/>                            </WrapPanel>                            <Line Grid.Row="2" X1="-4" Y1="0" X2="96" Y2="0" Margin="0,0,-4,0" StrokeThickness="2" Stroke="LightGray"/>                            <TextBlock Grid.Row="3" Text="Product"/>                            <WrapPanel Grid.Row="4">                                <TextBlock Foreground="{StaticResource BaseColor_White}"  FontSize="18" TextAlignment="Center" Width="60" Text="{Binding ProductNum}"></TextBlock>                                <TextBlock Text="Num"/>                            </WrapPanel>                            <Line Grid.Row="5" X1="-4" Y1="0" X2="96" Y2="0" Margin="0,0,-4,0" StrokeThickness="2" Stroke="LightGray"/>                            <TextBlock Grid.Row="6" Text="Monitor1"/>                            <WrapPanel Grid.Row="7">                                <TextBlock  Foreground="{StaticResource BaseColor_White}"  FontSize="18" TextAlignment="Center"  Width="60" Text="{Binding MonitorNum1}"></TextBlock>                                <TextBlock Text="Num"/>                            </WrapPanel>                            <Line Grid.Row="8" X1="-4" Y1="0" X2="96" Y2="0" Margin="0,0,-4,0" StrokeThickness="2" Stroke="LightGray"/>                            <TextBlock Grid.Row="9" Text="Monitor2"/>                            <WrapPanel Grid.Row="10">                                <TextBlock  Foreground="{StaticResource BaseColor_White}"  FontSize="18" TextAlignment="Center"  Width="60" Text="{Binding MonitorNum2}"></TextBlock>                                <TextBlock Text="Num"/>                            </WrapPanel>                            <Line Grid.Row="11" X1="-4" Y1="0" X2="96" Y2="0" Margin="0,0,-4,0" StrokeThickness="2" Stroke="LightGray"/>                            <TextBlock Grid.Row="12" Text="ED"/>                            <WrapPanel Grid.Row="13">                                <TextBlock  Foreground="{StaticResource BaseColor_White}"  FontSize="18" TextAlignment="Center"  Width="60" Text="{Binding LowerSDNum}"></TextBlock>                                <TextBlock Text="Num"/>                            </WrapPanel>                        </Grid>                    </Border>                </Border>            </Canvas>        </Border>        <Border Width="810" Grid.Column="1"  BorderBrush="{StaticResource BaseColor_BorderBrush}" BorderThickness="1" HorizontalAlignment="Center"   Height="60" >            <StackPanel Orientation="Horizontal">                <Border Width="200" HorizontalAlignment="Left">                    <StackPanel Orientation="Vertical">                        <TextBlock  Style="{StaticResource TextBlock_Title}" Text="Process Start Time" TextAlignment="Left"></TextBlock>                        <TextBlock  Background="{StaticResource BaseColor_White}" Height="50" TextAlignment="Center" FontSize="16" Text="{Binding ViewData.ProcessStartTime}" Padding="5"></TextBlock>                    </StackPanel>                </Border>                <Border Width="200" HorizontalAlignment="Left"  BorderBrush="{StaticResource BaseColor_BorderBrush}" BorderThickness="1,0,0,1">                    <StackPanel Orientation="Vertical">                        <TextBlock  Style="{StaticResource TextBlock_Title}" Text="Process End Time" TextAlignment="Left"></TextBlock>                        <TextBlock  Background="{StaticResource BaseColor_White}" Height="50" TextAlignment="Center" FontSize="16" Text="{Binding ViewData.ProcessEndTime}" Padding="5"></TextBlock>                    </StackPanel>                </Border>                <Border Width="200" HorizontalAlignment="Left"  BorderBrush="{StaticResource BaseColor_BorderBrush}" BorderThickness="1,0,0,1">                    <StackPanel Orientation="Vertical">                        <TextBlock  Style="{StaticResource TextBlock_Title}" Text="Process End Result" TextAlignment="Left"></TextBlock>                        <TextBlock  Height="50" TextAlignment="Center" FontSize="16"  Text="{Binding ViewData.ProcessEndResult}" Padding="5">                            <TextBlock.Style>                                <Style TargetType="TextBlock">                                    <Setter Property="Background" Value="{StaticResource BaseColor_White_Gray_1}"/>                                    <Style.Triggers>                                        <DataTrigger Binding="{Binding ViewData.ProcessEndResult}" Value="Recipe Abort">                                            <Setter Property="Background" Value="{StaticResource BaseColor_Yellow}"/>                                        </DataTrigger>                                        <DataTrigger Binding="{Binding ViewData.ProcessEndResult}" Value="NONE">                                            <Setter Property="Background" Value="{StaticResource BaseColor_White_Gray_1}"/>                                        </DataTrigger>                                        <DataTrigger Binding="{Binding ViewData.ProcessEndResult}" Value="NORMAL END">                                            <Setter Property="Background" Value="{StaticResource BaseColor_Green}"/>                                        </DataTrigger>                                    </Style.Triggers>                                </Style>                            </TextBlock.Style>                        </TextBlock>                    </StackPanel>                </Border>                <Border Width="200" HorizontalAlignment="Left"  BorderBrush="{StaticResource BaseColor_BorderBrush}" BorderThickness="1,0,0,1">                    <StackPanel Orientation="Vertical">                        <TextBlock  Style="{StaticResource TextBlock_Title}" Text="Process Recipe" TextAlignment="Left"></TextBlock>                        <TextBlock  Background="White" Height="50" TextAlignment="Center" FontSize="16" Text="{Binding PJInfo.RecipeName}" Padding="5"></TextBlock>                    </StackPanel>                </Border>            </StackPanel>        </Border>        <Border Grid.Column="1" Grid.ColumnSpan="1" Grid.Row="1"  BorderBrush="{StaticResource BaseColor_BorderBrush}" BorderThickness="1" >            <Border Width="810" HorizontalAlignment="Left">                <StackPanel Orientation="Vertical" >                    <TextBlock  Style="{StaticResource TextBlock_Title}" Text="CJobID" TextAlignment="Left"></TextBlock>                    <TextBlock  Background="White" Height="50" TextAlignment="Center"  FontSize="16" Text="{Binding PJInfo.LayoutName}" Padding="15"></TextBlock>                </StackPanel>            </Border>        </Border>        <Border Grid.Column="1" Grid.ColumnSpan="1" Grid.Row="2"  BorderBrush="{StaticResource BaseColor_BorderBrush}" BorderThickness="1" >            <Grid>                <Grid.RowDefinitions>                    <RowDefinition Height="auto"></RowDefinition>                    <RowDefinition Height="auto"></RowDefinition>                    <RowDefinition></RowDefinition>                </Grid.RowDefinitions>                <StackPanel Orientation="Horizontal">                    <Border Width="220" HorizontalAlignment="Left">                        <StackPanel Orientation="Vertical">                            <TextBlock  Style="{StaticResource TextBlock_Title}" Text="PJob Start Time" TextAlignment="Left"></TextBlock>                            <TextBlock  Background="White" Height="50" TextAlignment="Center" FontSize="16" Text="{Binding ViewData.PJobStartTime}" Padding="15"></TextBlock>                        </StackPanel>                    </Border>                    <Border Width="365" HorizontalAlignment="Left"  BorderBrush="{StaticResource BaseColor_BorderBrush}" BorderThickness="1,0,0,1">                    </Border>                    <Border Width="220" HorizontalAlignment="Left"  BorderBrush="{StaticResource BaseColor_BorderBrush}" BorderThickness="1,0,0,1">                        <StackPanel Orientation="Vertical">                            <TextBlock  Style="{StaticResource TextBlock_Title}" Text="PJob End Time" TextAlignment="Left"></TextBlock>                            <TextBlock  Background="White" Height="50" TextAlignment="Center" FontSize="16" Text="{Binding ViewData.PJobEndTime}" Padding="15"></TextBlock>                        </StackPanel>                    </Border>                </StackPanel>                <Border  Grid.Row="1"    BorderThickness="1">                    <Grid>                        <Grid.ColumnDefinitions>                            <ColumnDefinition></ColumnDefinition>                            <ColumnDefinition ></ColumnDefinition>                        </Grid.ColumnDefinitions>                        <Border Background="#ccc" Grid.ColumnSpan="2" Margin="0,0,97,0" >                            <StackPanel  Height="30" Orientation="Horizontal"  HorizontalAlignment="Center">                                <TextBlock Padding="8" TextAlignment="Center" Width="140" Text="SETTING UP">                                    <TextBlock.Style>                                        <Style TargetType="TextBlock">                                            <Setter Property="Background" Value="{StaticResource BaseColor_White_Gray_1}"/>                                            <Style.Triggers>                                                <DataTrigger Binding="{Binding ViewData.IsSettingUp}" Value="True">                                                    <Setter Property="Background" Value="{StaticResource BaseColor_Green}"/>                                                </DataTrigger>                                                <DataTrigger Binding="{Binding ViewData.IsSettingUp}" Value="False">                                                    <Setter Property="Background" Value="{StaticResource BaseColor_White_Gray_1}"/>                                                </DataTrigger>                                            </Style.Triggers>                                        </Style>                                    </TextBlock.Style>                                </TextBlock>                                <TextBlock Padding="8" TextAlignment="Center" Width="140" Margin="10,0,10,0"  Text="PROCESSING">                                    <TextBlock.Style>                                        <Style TargetType="TextBlock">                                            <Setter Property="Background" Value="{StaticResource BaseColor_White_Gray_1}"/>                                            <Style.Triggers>                                                <DataTrigger Binding="{Binding ViewData.IsProcessing}" Value="True">                                                    <Setter Property="Background" Value="{StaticResource BaseColor_Green}"/>                                                </DataTrigger>                                                <DataTrigger Binding="{Binding ViewData.IsProcessing}" Value="False">                                                    <Setter Property="Background" Value="{StaticResource BaseColor_White_Gray_1}"/>                                                </DataTrigger>                                            </Style.Triggers>                                        </Style>                                    </TextBlock.Style>                                </TextBlock>                                <TextBlock  Padding="8"  TextAlignment="Center" Width="140"  Text="PROCESS COMPLETE">                                    <TextBlock.Style>                                        <Style TargetType="TextBlock">                                            <Setter Property="Background" Value="{StaticResource BaseColor_White_Gray_1}"/>                                            <Style.Triggers>                                                <DataTrigger Binding="{Binding ViewData.IsProcessComplete}" Value="True">                                                    <Setter Property="Background" Value="{StaticResource BaseColor_Green}"/>                                                </DataTrigger>                                                <DataTrigger Binding="{Binding ViewData.IsProcessComplete}" Value="False">                                                    <Setter Property="Background" Value="{StaticResource BaseColor_White_Gray_1}"/>                                                </DataTrigger>                                            </Style.Triggers>                                        </Style>                                    </TextBlock.Style>                                </TextBlock>                            </StackPanel>                        </Border>                        <Path Grid.Column="1" Style="{StaticResource TriangleStyle}" Stretch="Fill"  Width="98"   Height="100" Margin="0,2,-101,-2">                            <Path.RenderTransform>                                <TransformGroup>                                    <ScaleTransform/>                                    <SkewTransform/>                                    <RotateTransform Angle="90"/>                                    <TranslateTransform/>                                </TransformGroup>                            </Path.RenderTransform>                        </Path>                    </Grid>                </Border>                <Border Grid.Row="2"  BorderThickness="1"  >                    <Grid>                        <Grid.ColumnDefinitions>                            <ColumnDefinition></ColumnDefinition>                            <ColumnDefinition></ColumnDefinition>                        </Grid.ColumnDefinitions>                        <Grid.RowDefinitions>                            <RowDefinition></RowDefinition>                            <RowDefinition Height="auto"></RowDefinition>                        </Grid.RowDefinitions>                        <Button                            Background="{StaticResource BaseColor_White_Gray_1}"            Grid.RowSpan="2"            HorizontalContentAlignment="Stretch"            VerticalContentAlignment="Stretch"            >                            <ContentControl>                                <Grid>                                    <Grid.RowDefinitions>                                        <RowDefinition Height="auto"/>                                        <RowDefinition Height="auto"/>                                        <RowDefinition/>                                    </Grid.RowDefinitions>                                    <TextBlock Style="{StaticResource TextBlock_Title}" Text="Process Info"></TextBlock>                                    <StackPanel Grid.Row="1" HorizontalAlignment="Right">                                        <TextBlock Style="{StaticResource TextBlock_Title}" Text="Added film Thinckess"></TextBlock>                                        <StackPanel Grid.Row="1" HorizontalAlignment="Right" Orientation="Horizontal">                                            <TextBlock Background="White" Height="30" Width="150" FontSize="17" Padding="5"   Style="{StaticResource TextBlock_Title}" Text="--"></TextBlock>                                            <TextBlock Height="30" FontSize="17" Padding="5"   Style="{StaticResource TextBlock_Title}" Text="(Å)"></TextBlock>                                        </StackPanel>                                    </StackPanel>                                </Grid>                            </ContentControl>                        </Button>                        <Button Background="{StaticResource BaseColor_White_Gray_1}" Grid.Column="1" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch">                            <ContentControl>                                <Grid>                                    <Grid.RowDefinitions>                                        <RowDefinition Height="auto"/>                                        <RowDefinition Height="auto"/>                                        <RowDefinition/>                                    </Grid.RowDefinitions>                                    <TextBlock Style="{StaticResource TextBlock_Title}" Text="PJob Info" Height="30"></TextBlock>                                    <StackPanel Grid.Row="1" HorizontalAlignment="Left">                                        <TextBlock Style="{StaticResource TextBlock_Title}" Text="CarrierId"></TextBlock>                                        <ListBox  Grid.Row="1" ItemsSource="{Binding PDataList}" Margin="10">                                            <ListBox.ItemTemplate>                                                <DataTemplate>                                                    <StackPanel Orientation="Vertical">                                                        <TextBlock Text="{Binding No}" TextAlignment="Center" Height="25"></TextBlock>                                                        <TextBox Text="{Binding Name}" Width="100" Height="30" VerticalContentAlignment="Center" HorizontalContentAlignment="Center">                                                        </TextBox>                                                    </StackPanel>                                                </DataTemplate>                                            </ListBox.ItemTemplate>                                        </ListBox>                                    </StackPanel>                                </Grid>                            </ContentControl>                        </Button>                        <Border Grid.Column="1" Grid.Row="1">                            <StackPanel Orientation="Horizontal">                                <StackPanel Orientation="Vertical">                                    <Button Content="VP" Width="200" Height="80"  Command="{Binding VPCommand}"></Button>                                    <Button Content="PMC Trace Logging"   Width="200" Height="80"  Command="{Binding PMCTraceLoggingCommand}"></Button>                                </StackPanel>                                <StackPanel Orientation="Vertical">                                    <Button Content="Event Logging"    Width="200" Height="80"  Command="{Binding EventLoggingCommand}"></Button>                                    <Button Content="Alarm Information" Width="200" Height="80"    Command="{Binding AlarmInformationCommand}"></Button>                                </StackPanel>                            </StackPanel>                        </Border>                    </Grid>                </Border>            </Grid>        </Border>    </Grid></UserControl>
 |