| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342 | 
							- <UserControl
 
-     x:Class="MECF.Framework.UI.Client.CenterViews.DataLogs.ProcessHistory.ProcessHistoryTwoView"
 
-     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 
-     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 
-     xmlns:cal="clr-namespace:Caliburn.Micro"
 
-     xmlns:converter="clr-namespace:MECF.Framework.UI.Client.Converter"
 
-     xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 
-     xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
 
-     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 
-     xmlns:waferhistory="clr-namespace:MECF.Framework.UI.Client.CenterViews.DataLogs.WaferHistory"
 
-     d:DesignHeight="800"
 
-     d:DesignWidth="1260"
 
-     mc:Ignorable="d">
 
-     <UserControl.Resources>
 
-         <Style BasedOn="{StaticResource ExModifyScrollBar}" TargetType="ScrollBar"/>
 
-         <converter:FileNameConverter x:Key="FileNameConverter"/>
 
-     </UserControl.Resources>
 
-     <Grid x:Name="root">
 
-         <Grid.Resources>
 
-             <waferhistory:HideMinTimeConverters x:Key="HideMinTimeConvert"/>
 
-             <DataTemplate x:Key="BatchID">
 
-                 <TextBlock
 
-                     Width="210"
 
-                     Height="30"
 
-                     Padding="0,5,0,0"
 
-                     HorizontalAlignment="Left"
 
-                     VerticalAlignment="Center"
 
-                     Text="{Binding BatchID}"/>
 
-             </DataTemplate>
 
-             <DataTemplate x:Key="JobName">
 
-                 <Border
 
-                     Margin="-8,0,-5,0"
 
-                     BorderBrush="{DynamicResource Table_BD}"
 
-                     BorderThickness="1,0,1,0">
 
-                     <TextBlock
 
-                         Width="210"
 
-                         Height="30"
 
-                         Padding="5,5,0,0"
 
-                         HorizontalAlignment="Left"
 
-                         VerticalAlignment="Center"
 
-                         Text="{Binding JobName}"/>
 
-                 </Border>
 
-             </DataTemplate>
 
-             <DataTemplate x:Key="RecipeName">
 
-                 <TextBlock
 
-                     Width="280"
 
-                     Height="30"
 
-                     Padding="0,5,0,0"
 
-                     HorizontalAlignment="Left"
 
-                     VerticalAlignment="Center"
 
-                     Text="{Binding RecipeName}"/>
 
-             </DataTemplate>
 
-             <DataTemplate x:Key="Form">
 
-                 <Border
 
-                     Margin="-8,0,-5,0"
 
-                     BorderBrush="{DynamicResource Table_BD}"
 
-                     BorderThickness="1,0,1,0">
 
-                     <TextBlock
 
-                         Width="100"
 
-                         Height="30"
 
-                         Padding="5,5,0,0"
 
-                         HorizontalAlignment="Left"
 
-                         VerticalAlignment="Center"
 
-                         Text="{Binding Form}"/>
 
-                 </Border>
 
-             </DataTemplate>
 
-             <DataTemplate x:Key="StartTime">
 
-                 <TextBlock
 
-                     Width="150"
 
-                     Height="30"
 
-                     Padding="0,5,0,0"
 
-                     HorizontalAlignment="Left"
 
-                     VerticalAlignment="Center"
 
-                     Text="{Binding StartTime, Converter={StaticResource HideMinTimeConvert}}"/>
 
-             </DataTemplate>
 
-             <DataTemplate x:Key="EndTime">
 
-                 <Border
 
-                     Margin="-8,0,-5,0"
 
-                     BorderBrush="{DynamicResource Table_BD}"
 
-                     BorderThickness="1,0,1,0">
 
-                     <TextBlock
 
-                         Width="150"
 
-                         Height="30"
 
-                         Padding="5,5,0,0"
 
-                         HorizontalAlignment="Left"
 
-                         VerticalAlignment="Center"
 
-                         Text="{Binding EndTime, Converter={StaticResource HideMinTimeConvert}}"/>
 
-                 </Border>
 
-             </DataTemplate>
 
-             <DataTemplate x:Key="WaferCount">
 
-                 <Border
 
-                     Margin="-8,0,-5,0"
 
-                     BorderBrush="{DynamicResource Table_BD}"
 
-                     BorderThickness="0,0,1,0">
 
-                     <TextBlock
 
-                         Width="70"
 
-                         Height="30"
 
-                         Padding="5,5,0,0"
 
-                         HorizontalAlignment="Left"
 
-                         VerticalAlignment="Center"
 
-                         Text="{Binding WaferCount}"/>
 
-                 </Border>
 
-             </DataTemplate>
 
-         </Grid.Resources>
 
-         <Grid.RowDefinitions>
 
-             <RowDefinition Height="50"/>
 
-             <RowDefinition Height="*"/>
 
-             <RowDefinition Height="50"/>
 
-         </Grid.RowDefinitions>
 
-         <Grid.ColumnDefinitions>
 
-             <ColumnDefinition Width="250"/>
 
-             <ColumnDefinition Width="150"/>
 
-             <ColumnDefinition Width="150"/>
 
-             <ColumnDefinition Width="150"/>
 
-             <ColumnDefinition Width="150"/>
 
-             <ColumnDefinition Width="150"/>
 
-             <ColumnDefinition Width="*"/>
 
-         </Grid.ColumnDefinitions>
 
-         <Grid
 
-             Grid.Row="0"
 
-             Grid.Column="0"
 
-             Grid.ColumnSpan="7">
 
-             <Grid.ColumnDefinitions>
 
-                 <ColumnDefinition Width="250"/>
 
-                 <ColumnDefinition Width="250"/>
 
-                 <ColumnDefinition Width="350"/>
 
-                 <ColumnDefinition Width="250"/>
 
-             </Grid.ColumnDefinitions>
 
-             <StackPanel
 
-                 Grid.Row="0"
 
-                 Grid.Column="0"
 
-                 Margin="2,4,2,2"
 
-                 Orientation="Horizontal">
 
-                 <TextBlock VerticalAlignment="Center" Text="Start Time:"/>
 
-                 <Button
 
-                     x:Name="wfTimeFrom"
 
-                     Width="160"
 
-                     Height="30"
 
-                     Margin="2,0,0,0"
 
-                     ContentStringFormat="yyyy-MM-dd HH:mm:ss">
 
-                     <i:Interaction.Triggers>
 
-                         <i:EventTrigger EventName="Click">
 
-                             <cal:ActionMessage MethodName="SelectDate">
 
-                                 <cal:Parameter Value="Start"/>
 
-                             </cal:ActionMessage>
 
-                         </i:EventTrigger>
 
-                     </i:Interaction.Triggers>
 
-                 </Button>
 
-             </StackPanel>
 
-             <StackPanel
 
-                 Grid.Row="0"
 
-                 Grid.Column="1"
 
-                 Margin="2,4,2,2"
 
-                 Orientation="Horizontal">
 
-                 <TextBlock VerticalAlignment="Center" Text="End Time:"/>
 
-                 <Button
 
-                     x:Name="wfTimeTo"
 
-                     Width="160"
 
-                     Height="30"
 
-                     Margin="2,0,0,0"
 
-                     ContentStringFormat="yyyy-MM-dd HH:mm:ss">
 
-                     <i:Interaction.Triggers>
 
-                         <i:EventTrigger EventName="Click">
 
-                             <cal:ActionMessage MethodName="SelectDate">
 
-                                 <cal:Parameter Value="End"/>
 
-                             </cal:ActionMessage>
 
-                         </i:EventTrigger>
 
-                     </i:Interaction.Triggers>
 
-                 </Button>
 
-             </StackPanel>
 
-             <StackPanel
 
-                 Grid.Row="0"
 
-                 Grid.Column="2"
 
-                 Margin="2,4,2,2"
 
-                 Orientation="Horizontal">
 
-                 <TextBlock VerticalAlignment="Center" Text="Batch Id:"/>
 
-                 <TextBox
 
-                     Width="280"
 
-                     Height="30"
 
-                     Margin="5,0,0,0"
 
-                     FontFamily="Arial"
 
-                     FontSize="14"
 
-                     Text="{Binding KeyWord, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"/>
 
-             </StackPanel>
 
-             <StackPanel
 
-                 Grid.Row="0"
 
-                 Grid.RowSpan="4"
 
-                 Grid.Column="3"
 
-                 Orientation="Horizontal">
 
-                 <Button
 
-                     Width="140"
 
-                     Height="40"
 
-                     Margin="2,2,4,2"
 
-                     Command="{Binding QueryCommand}"
 
-                     Content="Query"/>
 
-             </StackPanel>
 
-         </Grid>
 
-         <Border
 
-             Grid.Row="1"
 
-             Grid.Column="0"
 
-             Grid.ColumnSpan="7"
 
-             Height="700"
 
-             VerticalAlignment="Center">
 
-             <DataGrid
 
-                 x:Name="ProcessHistoryList"
 
-                 Margin="10,10,10,0"
 
-                 AutoGenerateColumns="False"
 
-                 CanUserAddRows="False"
 
-                 CanUserDeleteRows="False"
 
-                 CanUserReorderColumns="False"
 
-                 CanUserResizeColumns="True"
 
-                 CanUserSortColumns="False"
 
-                 FontSize="14"
 
-                 IsReadOnly="True"
 
-                 ItemsSource="{Binding ProcessHistoryLots}"
 
-                 RowHeight="28"
 
-                 SelectedIndex="{Binding ProcessHistoryLotSelectIndex}">
 
-                 <DataGrid.Columns>
 
-                     <DataGridTemplateColumn CanUserResize="False" Header="Selected">
 
-                         <DataGridTemplateColumn.CellTemplate>
 
-                             <DataTemplate>
 
-                                 <RadioButton
 
-                                     GroupName="CheckedID"
 
-                                     IsChecked="{Binding IsChecked, UpdateSourceTrigger=PropertyChanged}"
 
-                                     Style="{StaticResource NormalRadioButton}"/>
 
-                             </DataTemplate>
 
-                         </DataGridTemplateColumn.CellTemplate>
 
-                     </DataGridTemplateColumn>
 
-                     <DataGridTextColumn
 
-                         Width="200"
 
-                         Binding="{Binding BatchID}"
 
-                         CanUserResize="False"
 
-                         Header="Batch Id"
 
-                         IsReadOnly="True"/>
 
-                     <DataGridTextColumn
 
-                         Width="200"
 
-                         Binding="{Binding JobName}"
 
-                         CanUserResize="True"
 
-                         Header="Job Name"
 
-                         IsReadOnly="True"/>
 
-                     <DataGridTextColumn
 
-                         Width="*"
 
-                         Binding="{Binding RecipeName, Converter={StaticResource FileNameConverter}}"
 
-                         CanUserResize="True"
 
-                         Header="Recipe Name"
 
-                         IsReadOnly="True"/>
 
-                     <DataGridTextColumn
 
-                         Width="95"
 
-                         Binding="{Binding Form}"
 
-                         CanUserResize="False"
 
-                         Header="Form"
 
-                         IsReadOnly="True"/>
 
-                     <DataGridTextColumn
 
-                         Width="150"
 
-                         Binding="{Binding StartTime}"
 
-                         CanUserResize="False"
 
-                         Header="Start Time"
 
-                         IsReadOnly="True"/>
 
-                     <DataGridTextColumn
 
-                         Width="150"
 
-                         Binding="{Binding EndTime}"
 
-                         CanUserResize="False"
 
-                         Header="End Time"
 
-                         IsReadOnly="True"/>
 
-                     <DataGridTextColumn
 
-                         Width="65"
 
-                         Binding="{Binding WaferCount}"
 
-                         CanUserResize="False"
 
-                         Header="Wafer"
 
-                         IsReadOnly="True"/>
 
-                 </DataGrid.Columns>
 
-                 <!--<ListView.View>
 
-                     <GridView>
 
-                         <GridViewColumn Header="Batch Id" CellTemplate="{StaticResource ResourceKey=BatchID}" Width="210"/>
 
-                         <GridViewColumn Header="Job Name" CellTemplate="{StaticResource ResourceKey=JobName}" Width="210"/>
 
-                         <GridViewColumn  Header="Recipe Name" CellTemplate="{StaticResource ResourceKey=RecipeName}" Width="280"/>
 
-                         <GridViewColumn Header="Form" CellTemplate="{StaticResource ResourceKey=Form}" Width="95"/>
 
-                         <GridViewColumn Header="Start Time" CellTemplate="{StaticResource ResourceKey=StartTime}" Width="150"/>
 
-                         <GridViewColumn Header="End Time" CellTemplate="{StaticResource ResourceKey=EndTime}" Width="150"/>
 
-                         <GridViewColumn Header="Wafer" CellTemplate="{StaticResource ResourceKey=WaferCount}" Width="65"/>
 
-                     </GridView>
 
-                 </ListView.View>-->
 
-                 <i:Interaction.Triggers>
 
-                     <i:EventTrigger EventName="SelectionChanged">
 
-                         <cal:ActionMessage MethodName="SelectChangedHandle">
 
-                             <cal:Parameter Value="{Binding SelectedItem, ElementName=ProcessHistoryList}"/>
 
-                         </cal:ActionMessage>
 
-                     </i:EventTrigger>
 
-                 </i:Interaction.Triggers>
 
-             </DataGrid>
 
-         </Border>
 
-         <StackPanel
 
-             Grid.Row="2"
 
-          
 
-             Grid.Column="1"
 
-             Grid.ColumnSpan="8"
 
-             Orientation="Horizontal" HorizontalAlignment="Right">
 
-             <Button
 
-                 Width="140"
 
-                 Height="40"
 
-                 Command="{Binding BatchDetailCommand}"
 
-                 Content="Batch Detail"/>
 
-             <Button
 
-       Width="140"
 
-       Height="40"
 
-       Command="{Binding ProcessDetailCommand}"
 
-       Content="Process Detail"/>
 
-             <Button
 
-                 Width="140"
 
-                 Height="40"
 
-                 Command="{Binding ProcessExportCommand}"
 
-                 Content="Process Export"/>
 
-             <Button
 
-                 Width="140"
 
-                 Height="40"
 
-                 Command="{Binding ExportProcessTableCommand}"
 
-                 Content="Process Table"/>
 
-             <!--<Button
 
-                 Width="140"
 
-                 Height="40"
 
-                 Command="{Binding ProcessJobInfoCommand}"
 
-                 Content="Process Job"/>-->
 
-         </StackPanel>
 
-         <!--<StackPanel Grid.Row="2" Grid.Column="5" Grid.RowSpan="4" Orientation="Horizontal">
 
-                 <Button Content="Display Graph" Width="140" Height="40" Margin="4,2,4,2" Command="{Binding DisplayGraphCommand}"/>
 
-             </StackPanel>-->
 
-     </Grid>
 
- </UserControl>
 
 
  |