|
@@ -18,59 +18,6 @@
|
|
|
<i:InvokeCommandAction Command="{Binding LoadCommandPD}" CommandParameter="{Binding ElementName=processHistoryView}"/>
|
|
|
</i:EventTrigger>
|
|
|
</i:Interaction.Triggers>
|
|
|
- <UserControl.Resources>
|
|
|
- <Style TargetType="{x:Type DataGridColumnHeader}">
|
|
|
- <Setter Property="SnapsToDevicePixels" Value="True"/>
|
|
|
- <Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
|
- <Setter Property="BorderBrush" Value="{DynamicResource DataGrid_Header_BD}"/>
|
|
|
- <Setter Property="BorderThickness" Value="0,0,1,0"/>
|
|
|
- <Setter Property="Padding" Value="5,1"/>
|
|
|
- <Setter Property="Background" Value="{DynamicResource Table_BG_Title}"/>
|
|
|
- <Setter Property="Foreground" Value="{DynamicResource FG_Black}"/>
|
|
|
-
|
|
|
- <Setter Property="FontFamily" Value="Arial"/>
|
|
|
- <Setter Property="MinHeight" Value="24"/>
|
|
|
- <Setter Property="Template">
|
|
|
- <Setter.Value>
|
|
|
- <ControlTemplate TargetType="{x:Type DataGridColumnHeader}">
|
|
|
- <Border BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Cursor="Hand">
|
|
|
- <Grid>
|
|
|
- <Path x:Name="Arrow" Visibility="Collapsed" Data="M0,0 L1,0 0.5,1 z" Stretch="Fill" Width="8" Height="4" Fill="{DynamicResource DataGrid_ArrowBG}" Margin="0,2,0,0" HorizontalAlignment="Center" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.4" />
|
|
|
- <ContentPresenter Margin="{TemplateBinding Padding}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
|
|
|
- <ContentPresenter.Effect>
|
|
|
- <DropShadowEffect BlurRadius="0" ShadowDepth="1" Direction="315"/>
|
|
|
- </ContentPresenter.Effect>
|
|
|
- </ContentPresenter>
|
|
|
- <Thumb x:Name="PART_RightHeaderGripper" Style="{StaticResource ColumnHeaderGripperStyle}" HorizontalAlignment="Right"/>
|
|
|
- </Grid>
|
|
|
- </Border>
|
|
|
- <ControlTemplate.Triggers>
|
|
|
- <Trigger Property="SortDirection" Value="Ascending">
|
|
|
- <Setter TargetName="Arrow" Property="Visibility" Value="Visible" />
|
|
|
- <Setter TargetName="Arrow" Property="RenderTransform">
|
|
|
- <Setter.Value>
|
|
|
- <RotateTransform Angle="180" />
|
|
|
- </Setter.Value>
|
|
|
- </Setter>
|
|
|
- <Setter Property="Background" Value="{DynamicResource DataGrid_Header_BG_MouseOver}"/>
|
|
|
- </Trigger>
|
|
|
- <Trigger Property="SortDirection" Value="Descending">
|
|
|
- <Setter TargetName="Arrow" Property="Visibility" Value="Visible" />
|
|
|
- <Setter Property="Background" Value="{DynamicResource DataGrid_Header_BG_MouseOver}"/>
|
|
|
- </Trigger>
|
|
|
- <MultiTrigger>
|
|
|
- <MultiTrigger.Conditions>
|
|
|
- <Condition Property="IsMouseOver" Value="True" />
|
|
|
- <Condition Property="SortDirection" Value="{x:Null}" />
|
|
|
- </MultiTrigger.Conditions>
|
|
|
- <Setter Property="Background" Value="{DynamicResource DataGrid_Header_BG_MouseOver}"/>
|
|
|
- </MultiTrigger>
|
|
|
- </ControlTemplate.Triggers>
|
|
|
- </ControlTemplate>
|
|
|
- </Setter.Value>
|
|
|
- </Setter>
|
|
|
- </Style>
|
|
|
- </UserControl.Resources>
|
|
|
<Grid>
|
|
|
<Grid.RowDefinitions>
|
|
|
<RowDefinition Height="Auto"></RowDefinition>
|
|
@@ -159,14 +106,14 @@
|
|
|
<DataGridTemplateColumn Header="Lot ID" Width="320">
|
|
|
<DataGridTemplateColumn.CellTemplate>
|
|
|
<DataTemplate>
|
|
|
- <TextBlock Text="{Binding LotID}" Margin="5,0" FontFamily="Arial" FontSize="14" Background="White" Foreground="White" HorizontalAlignment="Left" VerticalAlignment="Center" />
|
|
|
+ <TextBlock Text="{Binding LotID}" Margin="5,0" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
|
|
</DataTemplate>
|
|
|
</DataGridTemplateColumn.CellTemplate>
|
|
|
</DataGridTemplateColumn>
|
|
|
<DataGridTemplateColumn Header="Slot ID" Width="320">
|
|
|
<DataGridTemplateColumn.CellTemplate>
|
|
|
<DataTemplate>
|
|
|
- <TextBlock Text="{Binding SlotID}" Margin="5,0" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Left" VerticalAlignment="Center" />
|
|
|
+ <TextBlock Text="{Binding SlotID}" Margin="5,0" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
|
|
</DataTemplate>
|
|
|
</DataGridTemplateColumn.CellTemplate>
|
|
|
</DataGridTemplateColumn>
|
|
@@ -174,21 +121,21 @@
|
|
|
<DataGridTemplateColumn Header="Start" Width="200">
|
|
|
<DataGridTemplateColumn.CellTemplate>
|
|
|
<DataTemplate>
|
|
|
- <TextBlock Text="{Binding StartTime}" Margin="5,0" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Left" VerticalAlignment="Center" />
|
|
|
+ <TextBlock Text="{Binding StartTime}" Margin="5,0" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
|
|
</DataTemplate>
|
|
|
</DataGridTemplateColumn.CellTemplate>
|
|
|
</DataGridTemplateColumn>
|
|
|
<DataGridTemplateColumn Header="End" Width="200">
|
|
|
<DataGridTemplateColumn.CellTemplate>
|
|
|
<DataTemplate>
|
|
|
- <TextBlock Text="{Binding EndTime}" Margin="5,0" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Left" VerticalAlignment="Center" />
|
|
|
+ <TextBlock Text="{Binding EndTime}" Margin="5,0" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
|
|
</DataTemplate>
|
|
|
</DataGridTemplateColumn.CellTemplate>
|
|
|
</DataGridTemplateColumn>
|
|
|
<DataGridTemplateColumn Header="Chamber" Width="80">
|
|
|
<DataGridTemplateColumn.CellTemplate>
|
|
|
<DataTemplate>
|
|
|
- <TextBlock Text="{Binding Chamber}" Margin="5,0" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Left" VerticalAlignment="Center" />
|
|
|
+ <TextBlock Text="{Binding Chamber}" Margin="5,0" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
|
|
</DataTemplate>
|
|
|
</DataGridTemplateColumn.CellTemplate>
|
|
|
</DataGridTemplateColumn>
|
|
@@ -202,14 +149,14 @@
|
|
|
<DataGridTemplateColumn Header="Recipe" Width="300">
|
|
|
<DataGridTemplateColumn.CellTemplate>
|
|
|
<DataTemplate>
|
|
|
- <TextBlock Text="{Binding Recipe}" Margin="5,0" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Left" VerticalAlignment="Center" />
|
|
|
+ <TextBlock Text="{Binding Recipe}" Margin="5,0" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
|
|
</DataTemplate>
|
|
|
</DataGridTemplateColumn.CellTemplate>
|
|
|
</DataGridTemplateColumn>
|
|
|
<DataGridTemplateColumn Header="Status" Width="*">
|
|
|
<DataGridTemplateColumn.CellTemplate>
|
|
|
<DataTemplate>
|
|
|
- <TextBlock Text="{Binding Status}" Margin="5,0" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Left" VerticalAlignment="Center" />
|
|
|
+ <TextBlock Text="{Binding Status}" Margin="5,0" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Center" VerticalAlignment="Center" />
|
|
|
</DataTemplate>
|
|
|
</DataGridTemplateColumn.CellTemplate>
|
|
|
</DataGridTemplateColumn>
|