123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <UserControl x:Class="MECF.Framework.UI.Client.CenterViews.DataLogs.ProcessHistory.CassetteDetailView"
- 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:waferhistory="clr-namespace:MECF.Framework.UI.Client.CenterViews.DataLogs.WaferHistory"
- xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
- xmlns:cal="clr-namespace:Caliburn.Micro"
- mc:Ignorable="d"
- Height="450" Width="700" FontFamily="Segoe" >
- <Grid>
- <Grid.Resources>
- <waferhistory:HideMinTimeConverters x:Key="HideMinTimeConvert"/>
- <DataTemplate x:Key="CassetteName">
- <TextBlock Text="{Binding ModuleName}" Width="160" Height="30" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="0,5,0,0"/>
- </DataTemplate>
- <DataTemplate x:Key="ArriveTime">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,0" Margin="-8,0,-5,0">
- <TextBlock Text="{Binding ArriveTime,Converter={StaticResource HideMinTimeConvert}}" Width="200" Height="30" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="5,5,0,0"/>
- </Border>
- </DataTemplate>
- <DataTemplate x:Key="LotID">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,0" Margin="-8,0,-5,0">
- <TextBlock Text="{Binding LotId}" Width="160" Height="30" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="5,5,0,0"/>
- </Border>
- </DataTemplate>
- <DataTemplate x:Key="Status">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Margin="-8,0,-5,0">
- <TextBlock Text="{Binding Status}" Width="120" Height="30" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="5,5,0,0"/>
- </Border>
- </DataTemplate>
- </Grid.Resources>
- <Grid.RowDefinitions>
- <RowDefinition Height="*"/>
- <RowDefinition Height="60"/>
- </Grid.RowDefinitions>
- <Border Grid.Row="0" Grid.Column="0" HorizontalAlignment="Left" Grid.ColumnSpan="2" Width="690" Margin="5,5">
- <ListView ItemsSource="{Binding CassetteDetailItems}" Margin="3,0">
- <ListView.View>
- <GridView>
- <GridViewColumn Header="Module Name" CellTemplate="{StaticResource ResourceKey=CassetteName}" Width="160"/>
- <GridViewColumn Header="Arrive Time" CellTemplate="{StaticResource ResourceKey=ArriveTime}" Width="200"/>
- <GridViewColumn Header="LotID" CellTemplate="{StaticResource ResourceKey=LotID}" Width="160"/>
- <GridViewColumn Header="Status" CellTemplate="{StaticResource ResourceKey=Status}" Width="120"/>
- </GridView>
- </ListView.View>
- </ListView>
- </Border>
- <DockPanel Grid.Row="1" IsEnabled="{Binding IsEnable}">
- <Canvas>
- <Button Width="129" Height="45" Content="Close" Canvas.Left="560" Canvas.Top="5" Style="{StaticResource CommandButton}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="CloseCmd">
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </Canvas>
- </DockPanel>
- </Grid>
- </UserControl>
|