123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- <UserControl x:Class="Aitex.Triton160.UI.Views.DataLogView"
- 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:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
- xmlns:control="clr-namespace:Aitex.Core.UI.Control;assembly=Core"
- xmlns:deviceControl="clr-namespace:Aitex.Core.UI.DeviceControl;assembly=Core"
- mc:Ignorable="d"
- d:DesignHeight="800" d:DesignWidth="1300">
- <Grid>
- <DataGrid AutoGenerateColumns="False" Margin="5,123,7,0" Name="dataGrid_LotList"
- Background="#FFAFD5D5" ItemsSource="{Binding DataLogList}" SelectionUnit="FullRow" Height="184"
- VerticalAlignment="Top" SelectionChanged="dataGrid_DataLogList_SelectionChanged"
- FontFamily="Arial,SimSun" FontSize="12" AlternatingRowBackground="Beige">
- <DataGrid.Style>
- <Style TargetType="ItemsControl">
- <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
- <Style.Resources>
- <!-- Background of selected item when focussed -->
- <SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}" Color="Gray" />
- </Style.Resources>
- </Style>
- </DataGrid.Style>
- <DataGrid.Columns>
- <DataGridTextColumn Width="300" Binding="{Binding LotName,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="{DynamicResource GlobalLableDataLogDataLogLotId}" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding LotName}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="220" Binding="{Binding RecipeName,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False" >
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="{DynamicResource GlobalLableDataLogDataLogRecipeName}" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding RecipeName}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="155" Binding="{Binding ProcessBeginTime,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False" >
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="{DynamicResource GlobalLableDataLogDataLogStartTime}" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding ProcessBeginTime}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="155" Binding="{Binding ProcessEndTime,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="{DynamicResource GlobalLableDataLogDataLogEndTime}" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding ProcessEndTime}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="160*" Binding="{Binding RecipeResult,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False" >
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="{DynamicResource GlobalLableDataLogDataLogRunningResult}" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding RecipeResult}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- </DataGrid.Columns>
- </DataGrid>
- <Label Content="{DynamicResource GlobalLableDataLogDataCharting}" Height="28" HorizontalAlignment="Left" Margin="5,310,0,0" Name="label2" VerticalAlignment="Top" FontSize="13" />
- <Grid Margin="5,331,7,0" >
- <control:PocketProcessDataChart x:Name="chart" DataContext="{Binding ProcessChartData}" />
- </Grid>
-
- <GroupBox Header="{DynamicResource GlobalLableDataLogQueryCondition}" Height="97" Margin="5,4,12,0" Name="groupBox1" VerticalAlignment="Top" FontSize="14">
- <Grid Margin="30,1,-30,-1">
- <Grid.Resources>
- <Style TargetType="Button">
- <Setter Property="VerticalAlignment" Value="Top"/>
- </Style>
- </Grid.Resources>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="84*"/>
- <ColumnDefinition Width="1187*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="*"></RowDefinition>
- <RowDefinition Height="*"></RowDefinition>
- </Grid.RowDefinitions>
- <Button Grid.Row="0" Content="{DynamicResource GlobalLableDataLogButtonQuery}" Height="25" HorizontalAlignment="Left" Margin="889,10,0,0" Name="buttonQuery" VerticalAlignment="Top" Width="101" Click="buttonQuery_Click" IsDefault="True" Grid.Column="1" />
- <xctk:TimePicker Grid.Row="0" Height="25" HorizontalAlignment="Left" Margin="123,11,0,0" Name="timeBegin" VerticalAlignment="Top" Width="73" ValueChanged="timeBegin_ValueChanged" FontSize="13" Grid.Column="1" />
- <DatePicker Grid.Row="0" Height="25" HorizontalAlignment="Left" Margin="4,11,0,0" Name="dateBegin" VerticalAlignment="Top" Width="115" SelectedDateChanged="dateBegin_SelectedDateChanged" FontSize="13" Grid.Column="1" />
- <xctk:TimePicker Grid.Row="0" Height="25" HorizontalAlignment="Left" Margin="334,10,0,0" Name="timeEnd" VerticalAlignment="Top" Width="73" ValueChanged="timeEnd_ValueChanged" FontSize="13" Grid.Column="1" />
- <DatePicker Grid.Row="0" Height="25" HorizontalAlignment="Left" Margin="215,10,0,0" Name="dateEnd" VerticalAlignment="Top" Width="115" SelectedDateChanged="dateEnd_SelectedDateChanged" FontSize="13" Grid.Column="1" />
- <Label Grid.Row="0" Grid.Column="0" Content="{DynamicResource GlobalLableDataLogTimeRange}" Height="28" HorizontalAlignment="Left" Margin="-1,8,0,0" Name="label4" VerticalAlignment="Top" FontSize="13" Width="90" Grid.ColumnSpan="2" />
- <Label Grid.Row="0" Content="{DynamicResource GlobalLableDataLogRecipeRun}" Height="28" HorizontalAlignment="Left" Margin="426,13,0,0" Name="label6" VerticalAlignment="Top" FontSize="13" Grid.Column="1" />
- <ComboBox Grid.Row="0" Height="25" HorizontalAlignment="Left" IsEditable="True" Margin="505,12,0,0" Name="recipeName" VerticalAlignment="Top" Width="345" FontSize="13" Grid.Column="1" ItemsSource="{Binding RecipeList}" />
- <Label Grid.Row="1" Grid.Column="0" Content="{DynamicResource GlobalLableDataLogDataLogLotId}" Height="28" HorizontalAlignment="Left" Margin="-1,8,0,0" VerticalAlignment="Top" FontSize="13" Width="90" Grid.ColumnSpan="2" />
- <deviceControl:AITBarcodeTextBox Grid.Row="1" Grid.Column="1" Width="300" HorizontalAlignment="Left" FontSize="17" Foreground="White" MaxScanCount="5" x:Name="LotTextBox" />
- </Grid>
- </GroupBox>
- <Label Content="{DynamicResource GlobalLableDataLogDataLogHistoryList}" Height="28" HorizontalAlignment="Left" Margin="5,103,0,0" Name="label1" VerticalAlignment="Top" FontSize="13" />
- <Button Content="{DynamicResource GlobalLableExportList}" FontSize="10" Height="18" Margin="0,104,12,0" x:Name="ButtonExportList" VerticalAlignment="Top" IsEnabled="False" HorizontalAlignment="Right" Width="106" Click="buttonLotListExport_Click" />
- <Button Content="{DynamicResource GlobalLableExportData}" FontSize="10" Height="18" Margin="0,312,12,0" x:Name="ButtonExportData" IsEnabled="False" VerticalAlignment="Top" HorizontalAlignment="Right" Width="106" Click="buttonLotDetailsExport_Click" />
- </Grid>
- </UserControl>
|