1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708 |
- <UserControl x:Class="MECF.Framework.UI.Client.CenterViews.Maitenances.MFCVerification.MFCVerificationView"
- 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:local="clr-namespace:MECF.Framework.UI.Client.CenterViews.Maitenances.MFCVerification"
- xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
- xmlns:wf ="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
- xmlns:cal="clr-namespace:Caliburn.Micro"
- xmlns:wfi ="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration"
- xmlns:sciChart="http://schemas.abtsoftware.co.uk/scichart"
- mc:Ignorable="d" >
- <Grid>
- <Grid HorizontalAlignment="Left" Margin="0,0,0,0">
- <Grid.RowDefinitions>
- <RowDefinition Height="395"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- </Grid.RowDefinitions>
- <TabControl>
- <TabItem Header="MFC1" x:Name="tabMFC1" Visibility="{Binding MFC1Visibility}">
- <StackPanel Height="478" Width="1500" HorizontalAlignment="Left" IsEnabled="{Binding MFC1IsEnable}">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="1350" HorizontalAlignment="Left">
- <StackPanel Orientation="Horizontal" Height="30">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Gas Name" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" Background="{Binding MFC1Background}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{Binding MFC1BackGround}" Padding="5,1">
- <TextBlock Text="{Binding MFC1DeviceData.DisplayName}" Width="200" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Setpoint(sccm)" Width="100" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <ComboBox x:Name="cbMFC1Setpoint" IsEditable="True" Height="25" Width="150" ItemsSource="{Binding MFC1VerificationPoints}" SelectedIndex="0" VerticalAlignment="Center" >
- <ComboBox.Resources>
- <Style TargetType="ComboBoxItem">
- <Setter Property="Width" Value="150" />
- </Style>
- </ComboBox.Resources>
- </ComboBox>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <StackPanel Orientation="Horizontal">
- <Button Content="Start One Point" Width="150" Height="25" FontSize="14" Margin="20,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=tabMFC1, Path=Header}" />
- <cal:Parameter Value="{Binding ElementName=cbMFC1Setpoint, Path=Text}" />
- <cal:Parameter Value="1" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Start Ten Points" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=tabMFC1, Path=Header}" />
- <cal:Parameter Value="{Binding ElementName=cbMFC1Setpoint, Path=SelectedItem}" />
- <cal:Parameter Value="10" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Abort" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" >
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="Abort">
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </StackPanel>
- </Border>
- </StackPanel>
- </Border>
- <Label Content="Verification Data:" Foreground="Black" Height="25" VerticalAlignment="Center"/>
- <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
- VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" HorizontalContentAlignment="Center"
- ItemsSource="{Binding MFC1VerificationData}" x:Name="verificationDataGridMFC1" Height="308">
- <DataGrid.Columns>
- <DataGridTemplateColumn Header="Setpoint (sccm)" Width="400">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- <DataGridTemplateColumn Header="Calculate Flow (sccm)" Width="400">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Path=CalculateValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- </DataGrid.Columns>
- </DataGrid>
- </StackPanel>
- </TabItem>
- <TabItem Header="MFC2" x:Name="tabMFC2" Visibility="{Binding MFC2Visibility}">
- <StackPanel Height="478" Width="1500" HorizontalAlignment="Left" IsEnabled="{Binding MFC2IsEnable}">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="1200" HorizontalAlignment="Left">
- <StackPanel Orientation="Horizontal" Height="30">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Gas Name" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" Background="{Binding MFC2Background}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{Binding MFC2BackGround}" Padding="5,1">
- <TextBlock Text="{Binding MFC2DeviceData.DisplayName}" Width="200" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Setpoint(sccm)" Width="100" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <ComboBox x:Name="cbMFC2Setpoint" IsEditable="True" Height="25" Width="150" ItemsSource="{Binding MFC2VerificationPoints}" SelectedIndex="0" VerticalAlignment="Center" >
- <ComboBox.Resources>
- <Style TargetType="ComboBoxItem">
- <Setter Property="Width" Value="150" />
- </Style>
- </ComboBox.Resources>
- </ComboBox>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <StackPanel Orientation="Horizontal">
- <Button Content="Start One Point" Width="150" Height="25" FontSize="14" Margin="20,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=tabMFC2, Path=Header}" />
- <cal:Parameter Value="{Binding ElementName=cbMFC2Setpoint, Path=SelectedValue}" />
- <cal:Parameter Value="1" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Start Ten Points" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=tabMFC2, Path=Header}" />
- <cal:Parameter Value="{Binding ElementName=cbMFC2Setpoint, Path=SelectedValue}" />
- <cal:Parameter Value="10" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Abort" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" >
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="Abort">
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </StackPanel>
- </Border>
- </StackPanel>
- </Border>
- <Label Content="Verification Data:" Foreground="Black" Height="25" VerticalAlignment="Center"/>
- <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
- VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" HorizontalContentAlignment="Center"
- ItemsSource="{Binding MFC2VerificationData}" x:Name="verificationDataGridMFC2" Height="308">
- <DataGrid.Columns>
- <DataGridTemplateColumn Header="Setpoint (sccm)" Width="400">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- <DataGridTemplateColumn Header="Calculate Flow (sccm)" Width="400">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Path=CalculateValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- </DataGrid.Columns>
- </DataGrid>
- </StackPanel>
- </TabItem>
- <TabItem Header="MFC3" x:Name="tabMFC3" Visibility="{Binding MFC3Visibility}">
- <StackPanel Height="478" Width="1500" HorizontalAlignment="Left" IsEnabled="{Binding MFC3IsEnable}">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="1200" HorizontalAlignment="Left">
- <StackPanel Orientation="Horizontal" Height="30">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Gas Name" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" Background="{Binding MFC3Background}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{Binding MFC3BackGround}" Padding="5,1">
- <TextBlock Text="{Binding MFC3DeviceData.DisplayName}" Width="200" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Setpoint(sccm)" Width="100" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <ComboBox x:Name="cbMFC3Setpoint" IsEditable="True" Height="25" Width="150" ItemsSource="{Binding MFC3VerificationPoints}" SelectedIndex="0" VerticalAlignment="Center" >
- <ComboBox.Resources>
- <Style TargetType="ComboBoxItem">
- <Setter Property="Width" Value="150" />
- </Style>
- </ComboBox.Resources>
- </ComboBox>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <StackPanel Orientation="Horizontal">
- <Button Content="Start One Point" Width="150" Height="25" FontSize="14" Margin="20,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=tabMFC3, Path=Header}" />
- <cal:Parameter Value="{Binding ElementName=cbMFC3Setpoint, Path=SelectedValue}" />
- <cal:Parameter Value="1" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Start Ten Points" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=tabMFC3, Path=Header}" />
- <cal:Parameter Value="{Binding ElementName=cbMFC3Setpoint, Path=SelectedValue}" />
- <cal:Parameter Value="10" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Abort" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" >
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="Abort">
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </StackPanel>
- </Border>
- </StackPanel>
- </Border>
- <Label Content="Verification Data:" Foreground="Black" Height="25" VerticalAlignment="Center"/>
- <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
- VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" HorizontalContentAlignment="Center"
- ItemsSource="{Binding MFC3VerificationData}" x:Name="verificationDataGridMFC3" Height="308">
- <DataGrid.Columns>
- <DataGridTemplateColumn Header="Setpoint (sccm)" Width="400">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- <DataGridTemplateColumn Header="Calculate Flow (sccm)" Width="400">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Path=CalculateValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- </DataGrid.Columns>
- </DataGrid>
- </StackPanel>
- </TabItem>
- <TabItem Header="MFC4" x:Name="tabMFC4" Visibility="{Binding MFC4Visibility}">
- <StackPanel Height="478" Width="1500" HorizontalAlignment="Left" IsEnabled="{Binding MFC4IsEnable}">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="1200" HorizontalAlignment="Left">
- <StackPanel Orientation="Horizontal" Height="30">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Gas Name" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" Background="{Binding MFC4Background}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{Binding MFC4BackGround}" Padding="5,1">
- <TextBlock Text="{Binding MFC4DeviceData.DisplayName}" Width="200" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Setpoint(sccm)" Width="100" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <ComboBox x:Name="cbMFC4Setpoint" IsEditable="True" Height="25" Width="150" ItemsSource="{Binding MFC4VerificationPoints}" SelectedIndex="0" VerticalAlignment="Center" >
- <ComboBox.Resources>
- <Style TargetType="ComboBoxItem">
- <Setter Property="Width" Value="150" />
- </Style>
- </ComboBox.Resources>
- </ComboBox>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <StackPanel Orientation="Horizontal">
- <Button Content="Start One Point" Width="150" Height="25" FontSize="14" Margin="20,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=tabMFC4, Path=Header}" />
- <cal:Parameter Value="{Binding ElementName=cbMFC4Setpoint, Path=SelectedValue}" />
- <cal:Parameter Value="1" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Start Ten Points" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=tabMFC4, Path=Header}" />
- <cal:Parameter Value="{Binding ElementName=cbMFC4Setpoint, Path=SelectedValue}" />
- <cal:Parameter Value="10" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Abort" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" >
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="Abort">
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </StackPanel>
- </Border>
- </StackPanel>
- </Border>
- <Label Content="Verification Data:" Foreground="Black" Height="25" VerticalAlignment="Center"/>
- <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
- VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" HorizontalContentAlignment="Center"
- ItemsSource="{Binding MFC4VerificationData}" x:Name="verificationDataGridMFC4" Height="308">
- <DataGrid.Columns>
- <DataGridTemplateColumn Header="Setpoint (sccm)" Width="400">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- <DataGridTemplateColumn Header="Calculate Flow (sccm)" Width="400">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Path=CalculateValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- </DataGrid.Columns>
- </DataGrid>
- </StackPanel>
- </TabItem>
- <TabItem Header="MFC5" x:Name="tabMFC5" Visibility="{Binding MFC5Visibility}">
- <StackPanel Height="478" Width="1500" HorizontalAlignment="Left" IsEnabled="{Binding MFC5IsEnable}">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="1200" HorizontalAlignment="Left">
- <StackPanel Orientation="Horizontal" Height="30">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Gas Name" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" Background="{Binding MFC5Background}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{Binding MFC5BackGround}" Padding="5,1">
- <TextBlock Text="{Binding MFC5DeviceData.DisplayName}" Width="200" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Setpoint(sccm)" Width="100" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <ComboBox x:Name="cbMFC5Setpoint" IsEditable="True" Height="25" Width="150" ItemsSource="{Binding MFC5VerificationPoints}" SelectedIndex="0" VerticalAlignment="Center" >
- <ComboBox.Resources>
- <Style TargetType="ComboBoxItem">
- <Setter Property="Width" Value="150" />
- </Style>
- </ComboBox.Resources>
- </ComboBox>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <StackPanel Orientation="Horizontal">
- <Button Content="Start One Point" Width="150" Height="25" FontSize="14" Margin="20,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=tabMFC5, Path=Header}" />
- <cal:Parameter Value="{Binding ElementName=cbMFC5Setpoint, Path=SelectedValue}" />
- <cal:Parameter Value="1" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Start Ten Points" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=tabMFC5, Path=Header}" />
- <cal:Parameter Value="{Binding ElementName=cbMFC5Setpoint, Path=SelectedValue}" />
- <cal:Parameter Value="10" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Abort" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" >
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="Abort">
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </StackPanel>
- </Border>
- </StackPanel>
- </Border>
- <Label Content="Verification Data:" Foreground="Black" Height="25" VerticalAlignment="Center"/>
- <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
- VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" HorizontalContentAlignment="Center"
- ItemsSource="{Binding MFC5VerificationData}" x:Name="verificationDataGridMFC5" Height="308">
- <DataGrid.Columns>
- <DataGridTemplateColumn Header="Setpoint (sccm)" Width="400">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- <DataGridTemplateColumn Header="Calculate Flow (sccm)" Width="400">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Path=CalculateValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- </DataGrid.Columns>
- </DataGrid>
- </StackPanel>
- </TabItem>
- <TabItem Header="MFC6" x:Name="tabMFC6" Visibility="{Binding MFC6Visibility}">
- <StackPanel Height="478" Width="1500" HorizontalAlignment="Left" IsEnabled="{Binding MFC6IsEnable}">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="1200" HorizontalAlignment="Left">
- <StackPanel Orientation="Horizontal" Height="30">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Gas Name" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" Background="{Binding MFC6Background}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{Binding MFC6BackGround}" Padding="5,1">
- <TextBlock Text="{Binding MFC6DeviceData.DisplayName}" Width="200" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Setpoint(sccm)" Width="100" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <ComboBox x:Name="cbMFC6Setpoint" IsEditable="True" Height="25" Width="150" ItemsSource="{Binding MFC6VerificationPoints}" SelectedIndex="0" VerticalAlignment="Center" >
- <ComboBox.Resources>
- <Style TargetType="ComboBoxItem">
- <Setter Property="Width" Value="150" />
- </Style>
- </ComboBox.Resources>
- </ComboBox>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <StackPanel Orientation="Horizontal">
- <Button Content="Start One Point" Width="150" Height="25" FontSize="14" Margin="20,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=tabMFC6, Path=Header}" />
- <cal:Parameter Value="{Binding ElementName=cbMFC6Setpoint, Path=SelectedValue}" />
- <cal:Parameter Value="1" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Start Ten Points" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=tabMFC6, Path=Header}" />
- <cal:Parameter Value="{Binding ElementName=cbMFC6Setpoint, Path=SelectedValue}" />
- <cal:Parameter Value="10" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Abort" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" >
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="Abort">
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </StackPanel>
- </Border>
- </StackPanel>
- </Border>
- <Label Content="Verification Data:" Foreground="Black" Height="25" VerticalAlignment="Center"/>
- <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
- VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" HorizontalContentAlignment="Center"
- ItemsSource="{Binding MFC6VerificationData}" x:Name="verificationDataGridMFC6" Height="308">
- <DataGrid.Columns>
- <DataGridTemplateColumn Header="Setpoint (sccm)" Width="400">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- <DataGridTemplateColumn Header="Calculate Flow (sccm)" Width="400">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Path=CalculateValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- </DataGrid.Columns>
- </DataGrid>
- </StackPanel>
- </TabItem>
- <TabItem Header="MFC7" x:Name="tabMFC7" Visibility="{Binding MFC7Visibility}">
- <StackPanel Height="478" Width="1500" HorizontalAlignment="Left" IsEnabled="{Binding MFC7IsEnable}">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="1200" HorizontalAlignment="Left">
- <StackPanel Orientation="Horizontal" Height="30">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Gas Name" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" Background="{Binding MFC7Background}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{Binding MFC7BackGround}" Padding="5,1">
- <TextBlock Text="{Binding MFC7DeviceData.DisplayName}" Width="200" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Setpoint(sccm)" Width="100" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <ComboBox x:Name="cbMFC7Setpoint" IsEditable="True" Height="25" Width="150" ItemsSource="{Binding MFC7VerificationPoints}" SelectedIndex="0" VerticalAlignment="Center" >
- <ComboBox.Resources>
- <Style TargetType="ComboBoxItem">
- <Setter Property="Width" Value="150" />
- </Style>
- </ComboBox.Resources>
- </ComboBox>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <StackPanel Orientation="Horizontal">
- <Button Content="Start One Point" Width="150" Height="25" FontSize="14" Margin="20,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=tabMFC7, Path=Header}" />
- <cal:Parameter Value="{Binding ElementName=cbMFC7Setpoint, Path=SelectedValue}" />
- <cal:Parameter Value="1" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Start Ten Points" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=tabMFC7, Path=Header}" />
- <cal:Parameter Value="{Binding ElementName=cbMFC7Setpoint, Path=SelectedValue}" />
- <cal:Parameter Value="10" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Abort" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" >
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="Abort">
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </StackPanel>
- </Border>
- </StackPanel>
- </Border>
- <Label Content="Verification Data:" Foreground="Black" Height="25" VerticalAlignment="Center"/>
- <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
- VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" HorizontalContentAlignment="Center"
- ItemsSource="{Binding MFC7VerificationData}" x:Name="verificationDataGridMFC7" Height="308">
- <DataGrid.Columns>
- <DataGridTemplateColumn Header="Setpoint (sccm)" Width="400">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- <DataGridTemplateColumn Header="Calculate Flow (sccm)" Width="400">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Path=CalculateValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- </DataGrid.Columns>
- </DataGrid>
- </StackPanel>
- </TabItem>
- <TabItem Header="MFC8" x:Name="tabMFC8" Visibility="{Binding MFC8Visibility}">
- <StackPanel Height="478" Width="1500" HorizontalAlignment="Left" IsEnabled="{Binding MFC8IsEnable}">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="1200" HorizontalAlignment="Left">
- <StackPanel Orientation="Horizontal" Height="30">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Gas Name" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" Background="{Binding MFC8Background}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{Binding MFC8BackGround}" Padding="5,1">
- <TextBlock Text="{Binding MFC8DeviceData.DisplayName}" Width="200" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Setpoint(sccm)" Width="100" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <ComboBox x:Name="cbMFC8Setpoint" IsEditable="True" Height="25" Width="150" ItemsSource="{Binding MFC8VerificationPoints}" SelectedIndex="0" VerticalAlignment="Center" >
- <ComboBox.Resources>
- <Style TargetType="ComboBoxItem">
- <Setter Property="Width" Value="150" />
- </Style>
- </ComboBox.Resources>
- </ComboBox>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <StackPanel Orientation="Horizontal">
- <Button Content="Start One Point" Width="150" Height="25" FontSize="14" Margin="20,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=tabMFC8, Path=Header}" />
- <cal:Parameter Value="{Binding ElementName=cbMFC8Setpoint, Path=SelectedValue}" />
- <cal:Parameter Value="1" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Start Ten Points" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=tabMFC8, Path=Header}" />
- <cal:Parameter Value="{Binding ElementName=cbMFC8Setpoint, Path=SelectedValue}" />
- <cal:Parameter Value="10" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Abort" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" >
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="Abort">
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </StackPanel>
- </Border>
- </StackPanel>
- </Border>
- <Label Content="Verification Data:" Foreground="Black" Height="25" VerticalAlignment="Center"/>
- <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
- VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" HorizontalContentAlignment="Center"
- ItemsSource="{Binding MFC8VerificationData}" x:Name="verificationDataGridMFC8" Height="308">
- <DataGrid.Columns>
- <DataGridTemplateColumn Header="Setpoint (sccm)" Width="400">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- <DataGridTemplateColumn Header="Calculate Flow (sccm)" Width="400">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Path=CalculateValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- </DataGrid.Columns>
- </DataGrid>
- </StackPanel>
- </TabItem>
- <TabItem Header="MFC9" x:Name="tabMFC9" Visibility="{Binding MFC9Visibility}">
- <StackPanel Height="478" Width="1500" HorizontalAlignment="Left" IsEnabled="{Binding MFC9IsEnable}">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="1200" HorizontalAlignment="Left">
- <StackPanel Orientation="Horizontal" Height="30">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Gas Name" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" Background="{Binding MFC9Background}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{Binding MFC9BackGround}" Padding="5,1">
- <TextBlock Text="{Binding MFC9DeviceData.DisplayName}" Width="200" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Setpoint(sccm)" Width="100" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <ComboBox x:Name="cbMFC9Setpoint" IsEditable="True" Height="25" Width="150" ItemsSource="{Binding MFC9VerificationPoints}" SelectedIndex="0" VerticalAlignment="Center" >
- <ComboBox.Resources>
- <Style TargetType="ComboBoxItem">
- <Setter Property="Width" Value="150" />
- </Style>
- </ComboBox.Resources>
- </ComboBox>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <StackPanel Orientation="Horizontal">
- <Button Content="Start One Point" Width="150" Height="25" FontSize="14" Margin="20,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=tabMFC9, Path=Header}" />
- <cal:Parameter Value="{Binding ElementName=cbMFC9Setpoint, Path=SelectedValue}" />
- <cal:Parameter Value="1" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Start Ten Points" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=tabMFC9, Path=Header}" />
- <cal:Parameter Value="{Binding ElementName=cbMFC9Setpoint, Path=SelectedValue}" />
- <cal:Parameter Value="10" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Abort" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" >
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="Abort">
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </StackPanel>
- </Border>
- </StackPanel>
- </Border>
- <Label Content="Verification Data:" Foreground="Black" Height="25" VerticalAlignment="Center"/>
- <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
- VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" HorizontalContentAlignment="Center"
- ItemsSource="{Binding MFC9VerificationData}" x:Name="verificationDataGridMFC9" Height="308">
- <DataGrid.Columns>
- <DataGridTemplateColumn Header="Setpoint (sccm)" Width="400">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- <DataGridTemplateColumn Header="Calculate Flow (sccm)" Width="400">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Path=CalculateValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- </DataGrid.Columns>
- </DataGrid>
- </StackPanel>
- </TabItem>
- <TabItem Header="MFC10" x:Name="tabMFC10" Visibility="{Binding MFC10Visibility}">
- <StackPanel Height="478" Width="1500" HorizontalAlignment="Left" IsEnabled="{Binding MFC10IsEnable}">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="1200" HorizontalAlignment="Left">
- <StackPanel Orientation="Horizontal" Height="30">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Gas Name" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" Background="{Binding MFC10Background}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{Binding MFC10BackGround}" Padding="5,1">
- <TextBlock Text="{Binding MFC10DeviceData.DisplayName}" Width="200" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Setpoint(sccm)" Width="100" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <ComboBox x:Name="cbMFC10Setpoint" IsEditable="True" Height="25" Width="150" ItemsSource="{Binding MFC10VerificationPoints}" SelectedIndex="0" VerticalAlignment="Center" >
- <ComboBox.Resources>
- <Style TargetType="ComboBoxItem">
- <Setter Property="Width" Value="150" />
- </Style>
- </ComboBox.Resources>
- </ComboBox>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <StackPanel Orientation="Horizontal">
- <Button Content="Start One Point" Width="150" Height="25" FontSize="14" Margin="20,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=tabMFC10, Path=Header}" />
- <cal:Parameter Value="{Binding ElementName=cbMFC10Setpoint, Path=SelectedValue}" />
- <cal:Parameter Value="1" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Start Ten Points" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=tabMFC10, Path=Header}" />
- <cal:Parameter Value="{Binding ElementName=cbMFC10Setpoint, Path=SelectedValue}" />
- <cal:Parameter Value="10" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Abort" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" >
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="Abort">
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </StackPanel>
- </Border>
- </StackPanel>
- </Border>
- <Label Content="Verification Data:" Foreground="Black" Height="25" VerticalAlignment="Center"/>
- <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
- VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" HorizontalContentAlignment="Center"
- ItemsSource="{Binding MFC10VerificationData}" x:Name="verificationDataGridMFC10" Height="308">
- <DataGrid.Columns>
- <DataGridTemplateColumn Header="Setpoint (sccm)" Width="400">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- <DataGridTemplateColumn Header="Calculate Flow (sccm)" Width="400">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Path=CalculateValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- </DataGrid.Columns>
- </DataGrid>
- </StackPanel>
- </TabItem>
- <TabItem Header="MFC11" x:Name="tabMFC11" Visibility="{Binding MFC11Visibility}">
- <StackPanel Height="478" Width="1500" HorizontalAlignment="Left" IsEnabled="{Binding MFC11IsEnable}">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="1200" HorizontalAlignment="Left">
- <StackPanel Orientation="Horizontal" Height="30">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Gas Name" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" Background="{Binding MFC11Background}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{Binding MFC11BackGround}" Padding="5,1">
- <TextBlock Text="{Binding MFC11DeviceData.DisplayName}" Width="200" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Setpoint(sccm)" Width="100" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <ComboBox x:Name="cbMFC11Setpoint" IsEditable="True" Height="25" Width="150" ItemsSource="{Binding MFC11VerificationPoints}" SelectedIndex="0" VerticalAlignment="Center" >
- <ComboBox.Resources>
- <Style TargetType="ComboBoxItem">
- <Setter Property="Width" Value="150" />
- </Style>
- </ComboBox.Resources>
- </ComboBox>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <StackPanel Orientation="Horizontal">
- <Button Content="Start One Point" Width="150" Height="25" FontSize="14" Margin="20,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=tabMFC11, Path=Header}" />
- <cal:Parameter Value="{Binding ElementName=cbMFC11Setpoint, Path=SelectedValue}" />
- <cal:Parameter Value="1" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Start Ten Points" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=tabMFC11, Path=Header}" />
- <cal:Parameter Value="{Binding ElementName=cbMFC11Setpoint, Path=SelectedValue}" />
- <cal:Parameter Value="10" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Abort" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" >
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="Abort">
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </StackPanel>
- </Border>
- </StackPanel>
- </Border>
- <Label Content="Verification Data:" Foreground="Black" Height="25" VerticalAlignment="Center"/>
- <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
- VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" HorizontalContentAlignment="Center"
- ItemsSource="{Binding MFC11VerificationData}" x:Name="verificationDataGridMFC11" Height="308">
- <DataGrid.Columns>
- <DataGridTemplateColumn Header="Setpoint (sccm)" Width="400">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- <DataGridTemplateColumn Header="Calculate Flow (sccm)" Width="400">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Path=CalculateValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- </DataGrid.Columns>
- </DataGrid>
- </StackPanel>
- </TabItem>
- <TabItem Header="MFC12" x:Name="tabMFC12" Visibility="{Binding MFC12Visibility}">
- <StackPanel Height="478" Width="1500" HorizontalAlignment="Left" IsEnabled="{Binding MFC12IsEnable}">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="1200" HorizontalAlignment="Left">
- <StackPanel Orientation="Horizontal" Height="30">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Gas Name" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" Background="{Binding MFC12Background}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{Binding MFC12BackGround}" Padding="5,1">
- <TextBlock Text="{Binding MFC12DeviceData.DisplayName}" Width="200" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Setpoint(sccm)" Width="100" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <ComboBox x:Name="cbMFC12Setpoint" IsEditable="True" Height="25" Width="150" ItemsSource="{Binding MFC12VerificationPoints}" SelectedIndex="0" VerticalAlignment="Center" >
- <ComboBox.Resources>
- <Style TargetType="ComboBoxItem">
- <Setter Property="Width" Value="150" />
- </Style>
- </ComboBox.Resources>
- </ComboBox>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <StackPanel Orientation="Horizontal">
- <Button Content="Start One Point" Width="150" Height="25" FontSize="14" Margin="20,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=tabMFC12, Path=Header}" />
- <cal:Parameter Value="{Binding ElementName=cbMFC12Setpoint, Path=SelectedValue}" />
- <cal:Parameter Value="1" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Start Ten Points" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=tabMFC12, Path=Header}" />
- <cal:Parameter Value="{Binding ElementName=cbMFC12Setpoint, Path=SelectedValue}" />
- <cal:Parameter Value="10" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Abort" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" >
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="Abort">
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </StackPanel>
- </Border>
- </StackPanel>
- </Border>
- <Label Content="Verification Data:" Foreground="Black" Height="25" VerticalAlignment="Center"/>
- <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
- VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" HorizontalContentAlignment="Center"
- ItemsSource="{Binding MFC12VerificationData}" x:Name="verificationDataGridMFC12" Height="308">
- <DataGrid.Columns>
- <DataGridTemplateColumn Header="Setpoint (sccm)" Width="400">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- <DataGridTemplateColumn Header="Calculate Flow (sccm)" Width="400">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Path=CalculateValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- </DataGrid.Columns>
- </DataGrid>
- </StackPanel>
- </TabItem>
- </TabControl>
- <!--<Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="800" HorizontalAlignment="Left">
- <StackPanel Orientation="Horizontal" Height="30">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <ComboBox x:Name="cbMFC" Height="25" Width="100" ItemsSource="{Binding MFCs}" SelectedItem="{Binding SelectedMFC}" VerticalAlignment="Center" />
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <TextBlock Text="{Binding SelectedGasName}" Width="80" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Setpoint(sccm)" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <ComboBox x:Name="cbSetpoint" Height="25" Width="100" ItemsSource="{Binding CalibrationPoints}" SelectedItem="{Binding Setpoint}" VerticalAlignment="Center" />
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Flow Time(S)" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <TextBox x:Name="tbTime" Width="80" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <Button Content="Start" Width="80" Height="25" FontSize="12">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StartVerification">
- <cal:Parameter Value="{Binding ElementName=cbMFC, Path=SelectedValue}" />
- <cal:Parameter Value="{Binding ElementName=cbSetpoint, Path=SelectedValue}" />
- <cal:Parameter Value="{Binding ElementName=tbTime, Path=Text}" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </Border>
- </StackPanel>
- </Border>
-
- <Border Grid.Row="1" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Width="800" HorizontalAlignment="Left">
- <StackPanel Orientation="Horizontal" Height="30">
- <Button Content="Reset" Width="120" Height="25" FontSize="12">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="Reset">
- <cal:Parameter Value="{Binding ElementName=calibrationDataGrid, Path=SelectedIndex}" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Reset All" Width="120" Height="25" FontSize="12" Margin="10,0,0,0">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="ResetAll"/>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Save All" Width="120" Height="25" FontSize="12" Margin="10,0,0,0" IsEnabled="{Binding IsAcceptButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="AcceptAll"/>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </StackPanel>
- </Border>
- <TextBlock Text="Calibration Data:" Grid.Row="2"/>
- <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
- VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling"
- ItemsSource="{Binding CalibrationData}" x:Name="calibrationDataGrid" Height="220">
- <DataGrid.Columns>
- <DataGridTemplateColumn Header="Setpoint(W)" Width="267">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <ctrl:TextBoxEx Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Width="200" Height="25"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- <DataGridTemplateColumn Header="Monitor Power(W)" Width="267">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <ctrl:TextBoxEx Text="{Binding Path=MonitorValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Width="200" Height="25"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- <DataGridTemplateColumn Header="Meter Power(W)" Width="266">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <ctrl:TextBoxEx Text="{Binding Path=MeterValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Width="200" Height="25"/>
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- </DataGrid.Columns>
- </DataGrid>-->
- <Border Grid.Row="1" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="800" HorizontalAlignment="Left">
- <StackPanel Orientation="Horizontal">
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="Start Time" Width="70" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <wfi:WindowsFormsHost Margin="5,0,0,0" FontSize="14" FontFamily="Arial" Width="170" Height="22" VerticalAlignment="Center">
- <wf:DateTimePicker x:Name="wfTimeFrom" Value="2011-8-1" CustomFormat="yyyy/MM/dd HH:mm:ss" Format="Custom"></wf:DateTimePicker>
- </wfi:WindowsFormsHost>
- <!--<xctk:DateTimePicker x:Name="wfTimeFrom" Format="Custom" FontSize="13"
- FormatString="yyyy/MM/dd HH:mm:ss"
- TimeFormat="Custom"
- AutoCloseCalendar="True"
- TimeFormatString="HH:mm:ss"
- Grid.Row="0" VerticalAlignment="Top"
- Value="2011-8-1" Height="22" Width="170" Margin="2,2,0,0" />-->
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
- <TextBlock Text="End Time" Width="70" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <wfi:WindowsFormsHost Margin="5,0,0,0" FontSize="14" FontFamily="Arial" Width="170" Height="22" VerticalAlignment="Center">
- <wf:DateTimePicker x:Name="wfTimeTo" Value="2013-8-1" CustomFormat="yyyy/MM/dd HH:mm:ss" Format="Custom"></wf:DateTimePicker>
- </wfi:WindowsFormsHost>
- <!--<xctk:DateTimePicker x:Name="wfTimeTo" Format="Custom" FontSize="13"
- FormatString="yyyy/MM/dd HH:mm:ss"
- TimeFormat="Custom"
- AutoCloseCalendar="True"
- TimeFormatString="HH:mm:ss"
- Grid.Row="0" VerticalAlignment="Top"
- Value="2013-8-1" Height="22" Width="170" Margin="2,2,0,0" />-->
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
- <StackPanel Orientation="Horizontal" IsEnabled="{Binding IsPermission}">
- <Button Content="Query" Width="120" Height="25" FontSize="14" Margin="5,0,0,0">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="Query"/>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <!--<Button Content="Set As Current" Width="120" Height="25" FontSize="14" Margin="10,0,0,0" IsEnabled="{Binding IsSetAsCurrentButtonEnable}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="SetAsCurrent">
- <cal:Parameter Value="{Binding ElementName=dataGrid_CalibrationHistory, Path=SelectedIndex}" />
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>-->
- </StackPanel>
- </Border>
- </StackPanel>
- </Border>
- <Label Content="Verification History:" Grid.Row="2" Height="25"/>
- <ScrollViewer Grid.Row="3" Grid.ColumnSpan="2" HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Auto">
- <DataGrid AutoGenerateColumns="False" Name="dataGrid_VerificationHistory" CanUserAddRows="False" IsEnabled="{Binding IsPermission}"
- ItemsSource="{Binding VerificationDataRecords}" SelectedItem="{Binding SelectedCalibrationData,Mode=TwoWay}" HorizontalScrollBarVisibility="Auto"
- FontFamily="Arial" FontSize="14" Height="305" MouseDoubleClick="VerificationHistoryDataGrid_MouseDoubleClick" LostFocus="VerificationHistoryDataGrid_LoseFocus">
- <DataGrid.Columns>
- <DataGridTextColumn Width="60" Binding="{Binding Module,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False" >
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="Module" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Module}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="80" Binding="{Binding Name,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False" >
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="Name" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Name}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="155" Binding="{Binding Time,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False" >
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="StartTime" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Time}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="100" Binding="{Binding Setpoint,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="Setpoint" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Setpoint}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="100" Binding="{Binding Calculate,Mode=OneWay, StringFormat={}{0:F1}}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="Calculate" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Calculate, StringFormat={}{0:F1}}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="100" Binding="{Binding Percent10Setpoint,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="10%Setpoint" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Percent10Setpoint}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="100" Binding="{Binding Percent10Calculate,Mode=OneWay, StringFormat={}{0:F1}}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="10%Calculate" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Percent10Calculate, StringFormat={}{0:F1}}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="100" Binding="{Binding Percent20Setpoint,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="20%Setpoint" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Percent20Setpoint}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="100" Binding="{Binding Percent20Calculate,Mode=OneWay, StringFormat={}{0:F1}}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="20%Calculate" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Percent20Calculate, StringFormat={}{0:F1}}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="100" Binding="{Binding Percent30Setpoint,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="30%Setpoint" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Percent30Setpoint}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="100" Binding="{Binding Percent30Calculate,Mode=OneWay, StringFormat={}{0:F1}}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="30%Calculate" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Percent30Calculate, StringFormat={}{0:F1}}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="100" Binding="{Binding Percent40Setpoint,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="40%Setpoint" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Percent40Setpoint}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="100" Binding="{Binding Percent40Calculate,Mode=OneWay, StringFormat={}{0:F1}}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="40%Calculate" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Percent40Calculate, StringFormat={}{0:F1}}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="100" Binding="{Binding Percent50Setpoint,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="50%Setpoint" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Percent50Setpoint}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="100" Binding="{Binding Percent50Calculate,Mode=OneWay, StringFormat={}{0:F1}}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="50%Calculate" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Percent50Calculate, StringFormat={}{0:F1}}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="100" Binding="{Binding Percent60Setpoint,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="60%Setpoint" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Percent60Setpoint}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="100" Binding="{Binding Percent60Calculate,Mode=OneWay, StringFormat={}{0:F1}}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="60%Calculate" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Percent60Calculate, StringFormat={}{0:F1}}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="100" Binding="{Binding Percent70Setpoint,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="70%Setpoint" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Percent70Setpoint}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="100" Binding="{Binding Percent70Calculate,Mode=OneWay, StringFormat={}{0:F1}}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="70%Calculate" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Percent70Calculate, StringFormat={}{0:F1}}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="100" Binding="{Binding Percent80Setpoint,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="80%Setpoint" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Percent80Setpoint}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="100" Binding="{Binding Percent80Calculate,Mode=OneWay, StringFormat={}{0:F1}}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="80%Calculate" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Percent80Calculate, StringFormat={}{0:F1}}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="100" Binding="{Binding Percent90Setpoint,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="90%Setpoint" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Percent90Setpoint}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="100" Binding="{Binding Percent90Calculate,Mode=OneWay, StringFormat={}{0:F1}}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="90%Calculate" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Percent90Calculate, StringFormat={}{0:F1}}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="100" Binding="{Binding Percent100Setpoint,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="100%Setpoint" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Percent100Setpoint}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Width="100" Binding="{Binding Percent100Calculate,Mode=OneWay, StringFormat={}{0:F1}}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
- <DataGridTextColumn.HeaderTemplate >
- <DataTemplate>
- <TextBlock Text="100%Calculate" />
- </DataTemplate>
- </DataGridTextColumn.HeaderTemplate>
- <DataGridTextColumn.CellStyle>
- <Style TargetType="DataGridCell">
- <Setter Property="ToolTip" Value="{Binding Percent100Calculate, StringFormat={}{0:F1}}" />
- </Style>
- </DataGridTextColumn.CellStyle>
- </DataGridTextColumn>
- </DataGrid.Columns>
- </DataGrid>
- </ScrollViewer>
- </Grid>
- <Grid Visibility="{Binding MFCQueryVisibility}" Margin="0,10,0,0">
- <Grid.RowDefinitions>
- <RowDefinition></RowDefinition>
- <RowDefinition Height="30"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="Auto"></ColumnDefinition>
- <ColumnDefinition Width="364"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Grid Width="1545" Grid.Column="0">
- <sciChart:SciChartSurface Name="sciChart" RenderableSeries="{Binding SelectedData}"
- sciChart:ThemeManager.Theme="ExpressionLight"
- Padding="0,0,0,0"
- DebugWhyDoesntSciChartRender="False" BorderBrush="Gray" Focusable="False" IsTabStop="False" Margin="5,0,0,0" Visibility="Hidden">
- <sciChart:SciChartSurface.Resources>
- <!-- This is the style for the control that hosts the Axis Label -->
- <Style x:Key="CursorModAxisLabelStyle" TargetType="sciChart:AxisLabelControl">
- <Setter Property="Background" Value="#AAFF6600" />
- <Setter Property="BorderBrush" Value="#FFFF6600" />
- <Setter Property="BorderThickness" Value="1" />
- <Setter Property="Foreground" Value="White" />
- <Setter Property="FontSize" Value="25" />
- </Style>
- <Style x:Key="CursorTooltipStyle" TargetType="sciChart:CursorLabelControl">
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="sciChart:CursorLabelControl">
- <Border Background="#AAFF6600"
- BorderBrush="#FFFF6600"
- BorderThickness="2"
- Opacity="0.7"
- Padding="2.5">
- <!--<ItemsControl ItemsSource="{Binding DataContext.SeriesData.SeriesInfo, RelativeSource={RelativeSource TemplatedParent}}">
- <ItemsControl.ItemTemplate>
- <DataTemplate DataType="s:SeriesInfo">
- <ContentControl Content="{Binding}" ContentTemplate="{Binding Path=RenderableSeries.(s:CursorModifier.TooltipTemplate)}" />
- </DataTemplate>
- </ItemsControl.ItemTemplate>
- </ItemsControl>-->
- </Border>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- </sciChart:SciChartSurface.Resources>
- <sciChart:SciChartSurface.XAxis>
- <sciChart:NumericAxis DrawMinorTicks="True"
- DrawMinorGridLines="True"
- sciChart:CursorModifier.AxisLabelContainerStyle="{StaticResource CursorModAxisLabelStyle}"
- AxisAlignment="Bottom"
- AutoRange="{Binding AutoRangeX}"
- VisibleRange="{Binding XValueRange, Mode=TwoWay}"
- Id="DefaultAxisId">
- <sciChart:NumericAxis.GrowBy>
- <sciChart:DoubleRange Min="0.1" Max="0.1"/>
- </sciChart:NumericAxis.GrowBy>
- </sciChart:NumericAxis>
- </sciChart:SciChartSurface.XAxis>
- <!-- Create a Y Axis -->
- <sciChart:SciChartSurface.YAxis>
- <sciChart:NumericAxis DrawMinorTicks="True"
- DrawMinorGridLines="True"
- AxisAlignment="Left"
- AutoRange="{Binding AutoRangeY}"
- VisibleRange="{Binding YValueRange, Mode=TwoWay}"
- Id="DefaultAxisId">
- <sciChart:NumericAxis.GrowBy>
- <sciChart:DoubleRange Min="0.1" Max="0.1"/>
- </sciChart:NumericAxis.GrowBy>
- </sciChart:NumericAxis>
- </sciChart:SciChartSurface.YAxis>
- <sciChart:SciChartSurface.ChartModifier>
- <sciChart:ModifierGroup ExecuteOn="MouseDoubleClick">
- <sciChart:RubberBandXyZoomModifier x:Name="rubberBandZoomModifier" IsEnabled="True"
- IsXAxisOnly="False"
- ZoomExtentsY="False"
- IsAnimated="True" ExecuteOn="MouseLeftButton" ReceiveHandledEvents="True" />
- <sciChart:SeriesSelectionModifier ExecuteOn="MouseLeftButton" ReceiveHandledEvents="True">
- <sciChart:SeriesSelectionModifier.SelectedSeriesStyle>
- <Style TargetType="sciChart:BaseRenderableSeries">
- <Setter Property="Stroke" Value="Red"/>
- <Setter Property="StrokeThickness" Value="3"/>
- <Setter Property="PointMarkerTemplate">
- <Setter.Value>
- <ControlTemplate>
- <sciChart:EllipsePointMarker Width="7" Height="7" Fill="#FF00DC" Stroke="White"/>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- </sciChart:SeriesSelectionModifier.SelectedSeriesStyle>
- </sciChart:SeriesSelectionModifier>
- <sciChart:ZoomExtentsModifier x:Name="zoomExtentsModifier" XyDirection="XYDirection" ReceiveHandledEvents="True" ExecuteOn="MouseDoubleClick"/>
- <sciChart:CursorModifier IsEnabled="True" ShowTooltipOn="MouseOver"
- ShowAxisLabels="True" SourceMode="AllSeries"
- ShowTooltip="False" />
- <!--自由平移-->
- <sciChart:ZoomPanModifier x:Name="zoomPanModifier" ReceiveHandledEvents="True" IsEnabled="True" ClipModeX="None" XyDirection="XYDirection" ExecuteOn="MouseRightButton" ZoomExtentsY="False" />
- <sciChart:LegendModifier ShowLegend="False" Orientation="Horizontal" Margin="10" HorizontalAlignment="Right"
- LegendPlacement="Inside" GetLegendDataFor="AllSeries"
- ShowVisibilityCheckboxes="False"/>
- <sciChart:RolloverModifier x:Name="rolloverModifier"
- UseInterpolation="False" FontSize="9" IsEnabled="True"
- DrawVerticalLine="False" FontFamily="Arial,SimSun"
- SnapsToDevicePixels="False"
- ShowAxisLabels="False" />
- <sciChart:MouseWheelZoomModifier x:Name="mouseWheelZoomModifier" XyDirection="XDirection"/>
- </sciChart:ModifierGroup>
- </sciChart:SciChartSurface.ChartModifier>
- </sciChart:SciChartSurface>
- </Grid>
- <DataGrid Grid.Column="1" Margin="1,0,0,0"
- AlternationCount="2" ColumnHeaderHeight="30"
- ItemsSource="{Binding CalibrationErrorRate}" AutoGenerateColumns="False"
- CanUserAddRows="False" CanUserResizeRows="False" CanUserResizeColumns="True" FontFamily="Arial" FontSize="12">
- <DataGrid.Columns>
- <DataGridTemplateColumn Header="Setpoint(sccm)" MinWidth="120">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Setpoint}" Margin="5,0" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Left" VerticalAlignment="Center" />
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- <DataGridTemplateColumn Header="Calc Flow(sccm)" MinWidth="120">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding CalculateValue}" Margin="5,0" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Left" VerticalAlignment="Center" />
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- <DataGridTemplateColumn Header="Error Rate(%)" MinWidth="120">
- <DataGridTemplateColumn.CellTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding ErrorRate}" Margin="5,0" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Left" VerticalAlignment="Center" />
- </DataTemplate>
- </DataGridTemplateColumn.CellTemplate>
- </DataGridTemplateColumn>
- </DataGrid.Columns>
- </DataGrid>
- <Button Content="Back" Grid.Row="1" Width="50" Margin="477,5,214,3" Visibility="Hidden">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="Back"/>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </Grid>
- </Grid>
- </UserControl>
|