<Window x:Class="Aitex.UI.RecipeEditor.View.EndPointDlg" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="http://OpenSEMI.Ctrlib.com/presentation" Title="EndPoint Setting" WindowStartupLocation="CenterOwner" WindowStyle="SingleBorderWindow" ShowInTaskbar="False" Background="LightSkyBlue" SizeToContent="WidthAndHeight" Width="700" Height="520"> <Grid> <Grid.RowDefinitions> <RowDefinition Height="10"></RowDefinition> <RowDefinition Height="35"></RowDefinition> <RowDefinition Height="35"></RowDefinition> <RowDefinition Height="*"></RowDefinition> <RowDefinition Height="40"></RowDefinition> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="362"></ColumnDefinition> <ColumnDefinition Width="330"></ColumnDefinition> </Grid.ColumnDefinitions> <!--<StackPanel Orientation="Horizontal" Margin="0" Width="362" Height="25" Grid.Row="1"> <Border BorderBrush="White" BorderThickness="1" Background="#376092" Margin="10,0,0,0" Height="25" Width="130"> <TextBlock Text="Select EPD Config" HorizontalAlignment="Right" FontSize="12" Margin="0,0,10,0" Foreground="White"/> </Border> <Border BorderBrush="White" BorderThickness="1" Background="#95B3D7" Margin="0" Height="25" Width="190"> <ComboBox SelectedIndex="5" FontSize="13" > <ComboBoxItem>TrigAtPeek</ComboBoxItem> <ComboBoxItem>ValleyDelay15</ComboBoxItem> <ComboBoxItem>RangeIn50</ComboBoxItem> <ComboBoxItem>MonitorEPDDelay15</ComboBoxItem> <ComboBoxItem>ValleyDelay20</ComboBoxItem> <ComboBoxItem>BelowValue3</ComboBoxItem> </ComboBox> </Border> </StackPanel>--> <StackPanel Orientation="Horizontal" Margin="0" Width="362" Height="25" Grid.Row="2"> <Border BorderBrush="White" BorderThickness="1" Background="#376092" Margin="10,0,0,0" Height="25" Width="200"> <TextBlock Text="CCD Exposure Time(ms)" HorizontalAlignment="Right" FontSize="12" Margin="0,0,10,0" Foreground="White"/> </Border> <Border BorderBrush="White" BorderThickness="1" Background="#95B3D7" Margin="0" Height="25" Width="120"> <controls:TextBoxEx HorizontalContentAlignment="Stretch" x:Name="textBoxInput" FontSize="12" Text="{Binding ExposureTime, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Margin="2" Height="20"/> </Border> </StackPanel> <Grid Margin="10,0,0,10" Grid.Row="3"> <Grid.RowDefinitions> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"/> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="80"></ColumnDefinition> <ColumnDefinition Width="120"></ColumnDefinition> <ColumnDefinition Width="120"/> </Grid.ColumnDefinitions> <Border BorderBrush="White" BorderThickness="1" Background="#376092" Margin="0" Height="25" Grid.Row="1"> <TextBlock Grid.Row="1" Text="A" HorizontalAlignment="Center" FontSize="12" Height="14" Margin="0,6" Foreground="White" /> </Border> <Border BorderBrush="White" BorderThickness="1" Background="#376092" Margin="0" Height="25" Grid.Row="2"> <TextBlock Grid.Row="2" Text="B" HorizontalAlignment="Center" FontSize="12" Height="14" Margin="0,6" Foreground="White" /> </Border> <Border BorderBrush="White" BorderThickness="1" Background="#376092" Margin="0" Height="25" Grid.Row="3"> <TextBlock Grid.Row="3" Text="C" HorizontalAlignment="Center" FontSize="12" Height="14" Margin="0,6" Foreground="White" /> </Border> <Border BorderBrush="White" BorderThickness="1" Background="#376092" Margin="0" Height="25" Grid.Row="4"> <TextBlock Grid.Row="4" Text="D" HorizontalAlignment="Center" FontSize="12" Height="14" Margin="0,6" Foreground="White" /> </Border> <Border BorderBrush="White" BorderThickness="1" Background="#376092" Margin="0" Height="25"> </Border> <Border BorderBrush="White" BorderThickness="1" Background="#376092" Margin="0" Height="25" Grid.Column="1"> <TextBlock Grid.Row="0" Text="Wave Length(nm)" HorizontalAlignment="Center" FontSize="12" Height="15" Margin="0" Width="104" Grid.Column="1" Foreground="White" /> </Border> <Border BorderBrush="White" BorderThickness="1" Background="#376092" Margin="0" Height="25" Grid.Column="2"> <TextBlock Grid.Row="0" Grid.Column="2" Text="Binning(nm)" HorizontalAlignment="Center" FontSize="12" Height="15" Margin="0" Width="74" Foreground="White" /> </Border> <Border BorderBrush="White" BorderThickness="1" Background="#95B3D7" Margin="0" Grid.Column="1" Grid.Row="1"> <controls:TextBoxEx HorizontalContentAlignment="Stretch" Text="{Binding WaveLengthA, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Stretch" TextAlignment="Center" FontSize="12" Width="115" Height="20" Margin="2" Foreground="Black"/> </Border> <Border BorderBrush="White" BorderThickness="1" Background="#95B3D7" Margin="0" Grid.Column="1" Grid.Row="2" > <controls:TextBoxEx HorizontalContentAlignment="Stretch" Text="{Binding WaveLengthB, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Stretch" TextAlignment="Center" FontSize="12" Width="115" Height="20" Margin="2" Grid.ColumnSpan="2" Foreground="Black"/> </Border> <Border BorderBrush="White" BorderThickness="1" Background="#95B3D7" Margin="0" Grid.Column="1" Grid.Row="3"> <controls:TextBoxEx HorizontalContentAlignment="Stretch" Text="{Binding WaveLengthC, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Stretch" TextAlignment="Center" FontSize="12" Width="115" Height="20" Margin="2" Grid.ColumnSpan="2" Foreground="Black"/> </Border> <Border BorderBrush="White" BorderThickness="1" Background="#95B3D7" Margin="0" Grid.Column="1" Grid.Row="4"> <controls:TextBoxEx HorizontalContentAlignment="Stretch" Text="{Binding WaveLengthD, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Stretch" TextAlignment="Center" FontSize="12" Width="115" Height="20" Margin="2" Grid.ColumnSpan="2" Foreground="Black"/> </Border> <Border BorderBrush="White" BorderThickness="1" Background="#95B3D7" Grid.Column="2" Margin="0" Grid.Row="1"> <controls:TextBoxEx HorizontalContentAlignment="Stretch" Text="{Binding BinningA, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Stretch" TextAlignment="Center" FontSize="12" Width="115" Height="20" Margin="2" Foreground="Black"/> </Border> <Border BorderBrush="White" BorderThickness="1" Background="#95B3D7" Grid.Column="2" Margin="0" Grid.Row="2"> <controls:TextBoxEx HorizontalContentAlignment="Stretch" Text="{Binding BinningB, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Stretch" TextAlignment="Center" FontSize="12" Width="115" Height="20" Margin="2" Foreground="Black"/> </Border> <Border BorderBrush="White" BorderThickness="1" Background="#95B3D7" Margin="0" Grid.Column="2" Grid.Row="3" > <controls:TextBoxEx HorizontalContentAlignment="Stretch" Text="{Binding BinningC, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Stretch" TextAlignment="Center" FontSize="12" Width="115" Height="20" Margin="2" Foreground="Black"/> </Border> <Border BorderBrush="White" BorderThickness="1" Background="#95B3D7" Margin="0" Grid.Column="2" Grid.Row="4" > <controls:TextBoxEx HorizontalContentAlignment="Stretch" Text="{Binding BinningD, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Stretch" TextAlignment="Center" FontSize="12" Width="115" Height="20" Margin="2" Foreground="Black"/> </Border> </Grid> <Grid Grid.Row="1" Grid.RowSpan="3" Grid.Column="1" Margin="0,0,0,0"> <Grid.RowDefinitions> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="0"></RowDefinition> <RowDefinition Height="0"></RowDefinition> <RowDefinition Height="0"></RowDefinition> <RowDefinition Height="25"></RowDefinition> <RowDefinition Height="25"></RowDefinition> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="200"></ColumnDefinition> <ColumnDefinition Width="120"></ColumnDefinition> </Grid.ColumnDefinitions> <Border Grid.Row="0" BorderBrush="White" BorderThickness="1" Background="#376092" Margin="0"> <TextBlock Text="F(d)" HorizontalAlignment="Right" Margin="0,0,10,0" FontSize="12" Foreground="White" /> </Border> <Border Grid.Row="1" BorderBrush="White" BorderThickness="1" Background="#376092" Margin="0"> <TextBlock Text="Pre-filter time window(ms)" HorizontalAlignment="Right" Margin="0,0,10,0" FontSize="12" Foreground="White"/> </Border> <Border Grid.Row="2" BorderBrush="White" BorderThickness="1" Background="#376092" Margin="0"> <TextBlock Grid.Row="2" Text="Post-filter time window(ms)" HorizontalAlignment="Right" Margin="0,0,10,0" FontSize="12" Foreground="White"/> </Border> <Border Grid.Row="3" BorderBrush="White" BorderThickness="1" Background="#376092" Margin="0"> <TextBlock Grid.Row="3" Text="Algorithm Type" HorizontalAlignment="Right" Margin="0,0,10,0" FontSize="12" Foreground="White"/> </Border> <Border Grid.Row="4" BorderBrush="White" BorderThickness="1" Background="#376092" Margin="0"> <TextBlock Grid.Row="4" Text="Criteria" HorizontalAlignment="Right" Margin="0,0,10,0" FontSize="12" Foreground="White"/> </Border> <Border Grid.Row="5" BorderBrush="White" BorderThickness="1" Background="#376092" Margin="0"> <TextBlock Grid.Row="5" Text="Delay Time(ms)" HorizontalAlignment="Right" Margin="0,0,10,0" FontSize="12" Foreground="White" /> </Border> <Border Grid.Row="6" BorderBrush="White" BorderThickness="1" Background="#376092" Margin="0"> <TextBlock Grid.Row="6" Text="Validation Time(ms)" HorizontalAlignment="Right" Margin="0,0,10,0" FontSize="12" Foreground="White" /> </Border> <Border Grid.Row="7" BorderBrush="White" BorderThickness="1" Background="#376092" Margin="0"> <TextBlock Grid.Row="7" Text="Validation Value" HorizontalAlignment="Right" Margin="0,0,10,0" FontSize="12" Foreground="White" /> </Border> <Border Grid.Row="8" BorderBrush="White" BorderThickness="1" Background="#376092" Margin="0"> <TextBlock Grid.Row="8" Text="Time window(ms)" HorizontalAlignment="Right" Margin="0,0,10,0" FontSize="12" Foreground="White" /> </Border> <Border Grid.Row="9" BorderBrush="White" BorderThickness="1" Background="#376092" Margin="0"> <TextBlock Grid.Row="9" Text="Minimal EP Time(ms)" HorizontalAlignment="Right" Margin="0,0,10,0" FontSize="12" Foreground="White" /> </Border> <Border Grid.Row="10" BorderBrush="White" BorderThickness="1" Background="#376092" Margin="0"> <TextBlock Grid.Row="10" Text="Postpone Time(ms)" HorizontalAlignment="Right" Margin="0,0,10,0" FontSize="12" Foreground="White" /> </Border> <Border Grid.Row="11" BorderBrush="White" BorderThickness="1" Background="#376092" Margin="0"> <TextBlock Grid.Row="11" Text="Control" HorizontalAlignment="Right" Margin="0,0,10,0" FontSize="12" Foreground="White" /> </Border> <Border Grid.Row="12" BorderBrush="White" BorderThickness="1" Background="#376092" Margin="0"> <TextBlock Grid.Row="12" Text="Normalization" HorizontalAlignment="Right" Margin="0,0,10,0" FontSize="12" Foreground="White" /> </Border> <!--<Border Grid.Row="13" BorderBrush="White" BorderThickness="1" Background="#376092" Margin="0"> <TextBlock Grid.Row="13" Text="Postpone Percent" HorizontalAlignment="Right" Margin="0,0,10,0" FontSize="12" Foreground="White" /> </Border> <Border Grid.Row="14" BorderBrush="White" BorderThickness="1" Background="#376092" Margin="0"> <TextBlock Grid.Row="14" Text="Criteria Percent" HorizontalAlignment="Right" Margin="0,0,10,0" FontSize="12" Foreground="White" /> </Border>--> <!--<Border Grid.Row="15" BorderBrush="White" BorderThickness="1" Background="#376092" Margin="0"> <TextBlock Grid.Row="15" Text="Trigger Mode" HorizontalAlignment="Right" Margin="0,0,10,0" FontSize="12" Foreground="White" /> </Border>--> <Border Grid.Row="16" BorderBrush="White" BorderThickness="1" Background="#376092" Margin="0"> <TextBlock Grid.Row="16" Text="Fault if no EP recognized" HorizontalAlignment="Right" Margin="0,0,10,0" FontSize="12" Foreground="White" /> </Border> <Border Grid.Row="0" BorderBrush="White" BorderThickness="1" Background="#95B3D7" Margin="0,0,0,0" Grid.Column="1"> <controls:TextBoxEx HorizontalContentAlignment="Stretch" Text="{Binding Fd, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" TextAlignment="Center" FontSize="12" Width="115" Height="20" Margin="2" Foreground="Black" PreviewMouseLeftButtonUp="TextBoxEx_PreviewMouseLeftButtonUp" TextChanged="TextBoxEx_TextChanged"/> </Border> <Border Grid.Row="1" BorderBrush="White" BorderThickness="1" Background="#95B3D7" Margin="0,0,0,0" Grid.Column="1"> <controls:TextBoxEx HorizontalContentAlignment="Stretch" Text="{Binding PrefilterTime, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" TextAlignment="Center" FontSize="12" Width="115" Height="20" Margin="2" Foreground="Black"/> </Border> <Border Grid.Row="2" BorderBrush="White" BorderThickness="1" Background="#95B3D7" Margin="0,0,0,0" Grid.Column="1"> <controls:TextBoxEx HorizontalContentAlignment="Stretch" Text="{Binding PostfilterTime, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" TextAlignment="Center" FontSize="12" Width="115" Height="20" Margin="2" Foreground="Black"/> </Border> <ComboBox Grid.Column="1" Grid.Row="3" HorizontalAlignment="Left" HorizontalContentAlignment="Left" DisplayMemberPath="AlogarithmName" SelectedValuePath="AlogarithmName" ItemsSource="{Binding AlgorithmTypes, RelativeSource={RelativeSource AncestorType={x:Type Window}}}" SelectedValue="{Binding AlgorithmType, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" FontSize="12" Width="121" Height="25" Margin="0" > </ComboBox> <Border Grid.Row="4" BorderBrush="White" BorderThickness="1" Background="#95B3D7" Margin="0,0,0,0" Grid.Column="1"> <controls:TextBoxEx HorizontalContentAlignment="Stretch" Text="{Binding Criteria, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" TextAlignment="Center" FontSize="12" Width="115" Height="20" Margin="2" Foreground="Black" /> </Border> <Border Grid.Row="5" BorderBrush="White" BorderThickness="1" Background="#95B3D7" Margin="0,0,0,0" Grid.Column="1"> <controls:TextBoxEx HorizontalContentAlignment="Stretch" Text="{Binding DelayTime, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" TextAlignment="Center" FontSize="12" Width="115" Height="20" Margin="2" Foreground="Black"/> </Border> <Border Grid.Row="6" BorderBrush="White" BorderThickness="1" Background="#95B3D7" Margin="0,0,0,0" Grid.Column="1"> <controls:TextBoxEx HorizontalContentAlignment="Stretch" Text="{Binding ValidationTime, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" TextAlignment="Center" FontSize="12" Width="115" Height="20" Margin="2" Foreground="Black"/> </Border> <Border Grid.Row="7" BorderBrush="White" BorderThickness="1" Background="#95B3D7" Margin="0,0,0,0" Grid.Column="1"> <controls:TextBoxEx HorizontalContentAlignment="Stretch" Text="{Binding ValidationValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" TextAlignment="Center" FontSize="12" Width="115" Height="20" Margin="2" Foreground="Black"/> </Border> <Border Grid.Row="8" BorderBrush="White" BorderThickness="1" Background="#95B3D7" Margin="0,0,0,0" Grid.Column="1"> <controls:TextBoxEx HorizontalContentAlignment="Stretch" Text="{Binding TimeWindow, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" TextAlignment="Center" FontSize="12" Width="115" Height="20" Margin="2" Foreground="Black"/> </Border> <Border Grid.Row="9" BorderBrush="White" BorderThickness="1" Background="#95B3D7" Margin="0,0,0,0" Grid.Column="1"> <controls:TextBoxEx HorizontalContentAlignment="Stretch" Text="{Binding MinimalTime, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" TextAlignment="Center" FontSize="12" Width="115" Height="20" Margin="2" Foreground="Black"/> </Border> <Border Grid.Row="10" BorderBrush="White" BorderThickness="1" Background="#95B3D7" Margin="0,0,0,0" Grid.Column="1"> <controls:TextBoxEx HorizontalContentAlignment="Stretch" Text="{Binding PostponeTime, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" TextAlignment="Center" FontSize="12" Width="115" Height="20" Margin="2" Foreground="Black"/> </Border> <Border Grid.Row="11" BorderBrush="White" BorderThickness="1" Background="#95B3D7" Margin="0,0,0,0" Grid.Column="1"> <CheckBox IsChecked="{Binding Control, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" VerticalAlignment="Center" FontSize="12" Height="23" /> </Border> <Border Grid.Row="12" BorderBrush="White" BorderThickness="1" Background="#95B3D7" Margin="0,0,0,0" Grid.Column="1"> <CheckBox IsChecked="{Binding Normalization, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" VerticalAlignment="Center" FontSize="12" Height="23" /> </Border> <!--<Border Grid.Row="13" BorderBrush="White" BorderThickness="1" Background="#95B3D7" Margin="0,0,0,0" Grid.Column="1"> <CheckBox IsChecked="{Binding EnablePostponePercent, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" VerticalAlignment="Center" FontSize="12" Height="23" /> </Border> <Border Grid.Row="14" BorderBrush="White" BorderThickness="1" Background="#95B3D7" Margin="0,0,0,0" Grid.Column="1"> <CheckBox IsChecked="{Binding EnableCriterialPercent, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" VerticalAlignment="Center" FontSize="12" Height="23" /> </Border>--> <!--<Border Grid.Row="15" BorderBrush="White" BorderThickness="1" Background="#95B3D7" Margin="0,0,0,0" Grid.Column="1"> <CheckBox IsChecked="{Binding EnableEventTrigger, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" VerticalAlignment="Center" FontSize="12" Height="23" /> </Border>--> <Border Grid.Row="16" BorderBrush="White" BorderThickness="1" Background="#95B3D7" Margin="0,0,0,0" Grid.Column="1"> <CheckBox IsChecked="{Binding IsFaultIfNoTrigger, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" VerticalAlignment="Center" FontSize="12" Height="23" /> </Border> </Grid> <StackPanel Grid.Row="4" Grid.ColumnSpan="2" Orientation="Horizontal" HorizontalAlignment="Center" Margin="232,0,250,0" Width="210"> <Button Content="{DynamicResource GlobalLableButtonOk}" x:Name="buttonOK" Margin="0,0,5,0" Width="75" Height="30" FontSize="12" IsDefault="True" Click="buttonOK_Click" /> <Button Content="{DynamicResource GlobalLableButtonCancel}" x:Name="buttonCancel" Margin="50,0,5,0" Width="75" Height="30" FontSize="12" IsCancel="True" Click="buttonCancel_Click" /> </StackPanel> </Grid> </Window>