MFCVerificationView.xaml 137 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708
  1. <UserControl x:Class="MECF.Framework.UI.Client.CenterViews.Maitenances.MFCVerification.MFCVerificationView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:MECF.Framework.UI.Client.CenterViews.Maitenances.MFCVerification"
  7. xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  8. xmlns:wf ="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
  9. xmlns:cal="clr-namespace:Caliburn.Micro"
  10. xmlns:wfi ="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration"
  11. xmlns:sciChart="http://schemas.abtsoftware.co.uk/scichart"
  12. mc:Ignorable="d" >
  13. <Grid>
  14. <Grid HorizontalAlignment="Left" Margin="0,0,0,0">
  15. <Grid.RowDefinitions>
  16. <RowDefinition Height="395"/>
  17. <RowDefinition Height="Auto"/>
  18. <RowDefinition Height="Auto"/>
  19. <RowDefinition Height="Auto"/>
  20. </Grid.RowDefinitions>
  21. <TabControl>
  22. <TabItem Header="MFC1" x:Name="tabMFC1" Visibility="{Binding MFC1Visibility}">
  23. <StackPanel Height="478" Width="1500" HorizontalAlignment="Left" IsEnabled="{Binding MFC1IsEnable}">
  24. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="1350" HorizontalAlignment="Left">
  25. <StackPanel Orientation="Horizontal" Height="30">
  26. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  27. <TextBlock Text="Gas Name" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" Background="{Binding MFC1Background}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  28. </Border>
  29. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{Binding MFC1BackGround}" Padding="5,1">
  30. <TextBlock Text="{Binding MFC1DeviceData.DisplayName}" Width="200" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  31. </Border>
  32. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  33. <TextBlock Text="Setpoint(sccm)" Width="100" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  34. </Border>
  35. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  36. <ComboBox x:Name="cbMFC1Setpoint" IsEditable="True" Height="25" Width="150" ItemsSource="{Binding MFC1VerificationPoints}" SelectedIndex="0" VerticalAlignment="Center" >
  37. <ComboBox.Resources>
  38. <Style TargetType="ComboBoxItem">
  39. <Setter Property="Width" Value="150" />
  40. </Style>
  41. </ComboBox.Resources>
  42. </ComboBox>
  43. </Border>
  44. <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  45. <StackPanel Orientation="Horizontal">
  46. <Button Content="Start One Point" Width="150" Height="25" FontSize="14" Margin="20,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
  47. <i:Interaction.Triggers>
  48. <i:EventTrigger EventName="Click">
  49. <cal:ActionMessage MethodName="StartVerification">
  50. <cal:Parameter Value="{Binding ElementName=tabMFC1, Path=Header}" />
  51. <cal:Parameter Value="{Binding ElementName=cbMFC1Setpoint, Path=Text}" />
  52. <cal:Parameter Value="1" />
  53. </cal:ActionMessage>
  54. </i:EventTrigger>
  55. </i:Interaction.Triggers>
  56. </Button>
  57. <Button Content="Start Ten Points" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
  58. <i:Interaction.Triggers>
  59. <i:EventTrigger EventName="Click">
  60. <cal:ActionMessage MethodName="StartVerification">
  61. <cal:Parameter Value="{Binding ElementName=tabMFC1, Path=Header}" />
  62. <cal:Parameter Value="{Binding ElementName=cbMFC1Setpoint, Path=SelectedItem}" />
  63. <cal:Parameter Value="10" />
  64. </cal:ActionMessage>
  65. </i:EventTrigger>
  66. </i:Interaction.Triggers>
  67. </Button>
  68. <Button Content="Abort" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" >
  69. <i:Interaction.Triggers>
  70. <i:EventTrigger EventName="Click">
  71. <cal:ActionMessage MethodName="Abort">
  72. </cal:ActionMessage>
  73. </i:EventTrigger>
  74. </i:Interaction.Triggers>
  75. </Button>
  76. </StackPanel>
  77. </Border>
  78. </StackPanel>
  79. </Border>
  80. <Label Content="Verification Data:" Foreground="Black" Height="25" VerticalAlignment="Center"/>
  81. <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
  82. VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" HorizontalContentAlignment="Center"
  83. ItemsSource="{Binding MFC1VerificationData}" x:Name="verificationDataGridMFC1" Height="308">
  84. <DataGrid.Columns>
  85. <DataGridTemplateColumn Header="Setpoint (sccm)" Width="400">
  86. <DataGridTemplateColumn.CellTemplate>
  87. <DataTemplate>
  88. <TextBlock Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
  89. </DataTemplate>
  90. </DataGridTemplateColumn.CellTemplate>
  91. </DataGridTemplateColumn>
  92. <DataGridTemplateColumn Header="Calculate Flow (sccm)" Width="400">
  93. <DataGridTemplateColumn.CellTemplate>
  94. <DataTemplate>
  95. <TextBlock Text="{Binding Path=CalculateValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
  96. </DataTemplate>
  97. </DataGridTemplateColumn.CellTemplate>
  98. </DataGridTemplateColumn>
  99. </DataGrid.Columns>
  100. </DataGrid>
  101. </StackPanel>
  102. </TabItem>
  103. <TabItem Header="MFC2" x:Name="tabMFC2" Visibility="{Binding MFC2Visibility}">
  104. <StackPanel Height="478" Width="1500" HorizontalAlignment="Left" IsEnabled="{Binding MFC2IsEnable}">
  105. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="1200" HorizontalAlignment="Left">
  106. <StackPanel Orientation="Horizontal" Height="30">
  107. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  108. <TextBlock Text="Gas Name" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" Background="{Binding MFC2Background}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  109. </Border>
  110. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{Binding MFC2BackGround}" Padding="5,1">
  111. <TextBlock Text="{Binding MFC2DeviceData.DisplayName}" Width="200" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  112. </Border>
  113. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  114. <TextBlock Text="Setpoint(sccm)" Width="100" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  115. </Border>
  116. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  117. <ComboBox x:Name="cbMFC2Setpoint" IsEditable="True" Height="25" Width="150" ItemsSource="{Binding MFC2VerificationPoints}" SelectedIndex="0" VerticalAlignment="Center" >
  118. <ComboBox.Resources>
  119. <Style TargetType="ComboBoxItem">
  120. <Setter Property="Width" Value="150" />
  121. </Style>
  122. </ComboBox.Resources>
  123. </ComboBox>
  124. </Border>
  125. <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  126. <StackPanel Orientation="Horizontal">
  127. <Button Content="Start One Point" Width="150" Height="25" FontSize="14" Margin="20,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
  128. <i:Interaction.Triggers>
  129. <i:EventTrigger EventName="Click">
  130. <cal:ActionMessage MethodName="StartVerification">
  131. <cal:Parameter Value="{Binding ElementName=tabMFC2, Path=Header}" />
  132. <cal:Parameter Value="{Binding ElementName=cbMFC2Setpoint, Path=SelectedValue}" />
  133. <cal:Parameter Value="1" />
  134. </cal:ActionMessage>
  135. </i:EventTrigger>
  136. </i:Interaction.Triggers>
  137. </Button>
  138. <Button Content="Start Ten Points" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
  139. <i:Interaction.Triggers>
  140. <i:EventTrigger EventName="Click">
  141. <cal:ActionMessage MethodName="StartVerification">
  142. <cal:Parameter Value="{Binding ElementName=tabMFC2, Path=Header}" />
  143. <cal:Parameter Value="{Binding ElementName=cbMFC2Setpoint, Path=SelectedValue}" />
  144. <cal:Parameter Value="10" />
  145. </cal:ActionMessage>
  146. </i:EventTrigger>
  147. </i:Interaction.Triggers>
  148. </Button>
  149. <Button Content="Abort" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" >
  150. <i:Interaction.Triggers>
  151. <i:EventTrigger EventName="Click">
  152. <cal:ActionMessage MethodName="Abort">
  153. </cal:ActionMessage>
  154. </i:EventTrigger>
  155. </i:Interaction.Triggers>
  156. </Button>
  157. </StackPanel>
  158. </Border>
  159. </StackPanel>
  160. </Border>
  161. <Label Content="Verification Data:" Foreground="Black" Height="25" VerticalAlignment="Center"/>
  162. <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
  163. VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" HorizontalContentAlignment="Center"
  164. ItemsSource="{Binding MFC2VerificationData}" x:Name="verificationDataGridMFC2" Height="308">
  165. <DataGrid.Columns>
  166. <DataGridTemplateColumn Header="Setpoint (sccm)" Width="400">
  167. <DataGridTemplateColumn.CellTemplate>
  168. <DataTemplate>
  169. <TextBlock Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
  170. </DataTemplate>
  171. </DataGridTemplateColumn.CellTemplate>
  172. </DataGridTemplateColumn>
  173. <DataGridTemplateColumn Header="Calculate Flow (sccm)" Width="400">
  174. <DataGridTemplateColumn.CellTemplate>
  175. <DataTemplate>
  176. <TextBlock Text="{Binding Path=CalculateValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
  177. </DataTemplate>
  178. </DataGridTemplateColumn.CellTemplate>
  179. </DataGridTemplateColumn>
  180. </DataGrid.Columns>
  181. </DataGrid>
  182. </StackPanel>
  183. </TabItem>
  184. <TabItem Header="MFC3" x:Name="tabMFC3" Visibility="{Binding MFC3Visibility}">
  185. <StackPanel Height="478" Width="1500" HorizontalAlignment="Left" IsEnabled="{Binding MFC3IsEnable}">
  186. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="1200" HorizontalAlignment="Left">
  187. <StackPanel Orientation="Horizontal" Height="30">
  188. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  189. <TextBlock Text="Gas Name" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" Background="{Binding MFC3Background}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  190. </Border>
  191. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{Binding MFC3BackGround}" Padding="5,1">
  192. <TextBlock Text="{Binding MFC3DeviceData.DisplayName}" Width="200" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  193. </Border>
  194. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  195. <TextBlock Text="Setpoint(sccm)" Width="100" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  196. </Border>
  197. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  198. <ComboBox x:Name="cbMFC3Setpoint" IsEditable="True" Height="25" Width="150" ItemsSource="{Binding MFC3VerificationPoints}" SelectedIndex="0" VerticalAlignment="Center" >
  199. <ComboBox.Resources>
  200. <Style TargetType="ComboBoxItem">
  201. <Setter Property="Width" Value="150" />
  202. </Style>
  203. </ComboBox.Resources>
  204. </ComboBox>
  205. </Border>
  206. <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  207. <StackPanel Orientation="Horizontal">
  208. <Button Content="Start One Point" Width="150" Height="25" FontSize="14" Margin="20,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
  209. <i:Interaction.Triggers>
  210. <i:EventTrigger EventName="Click">
  211. <cal:ActionMessage MethodName="StartVerification">
  212. <cal:Parameter Value="{Binding ElementName=tabMFC3, Path=Header}" />
  213. <cal:Parameter Value="{Binding ElementName=cbMFC3Setpoint, Path=SelectedValue}" />
  214. <cal:Parameter Value="1" />
  215. </cal:ActionMessage>
  216. </i:EventTrigger>
  217. </i:Interaction.Triggers>
  218. </Button>
  219. <Button Content="Start Ten Points" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
  220. <i:Interaction.Triggers>
  221. <i:EventTrigger EventName="Click">
  222. <cal:ActionMessage MethodName="StartVerification">
  223. <cal:Parameter Value="{Binding ElementName=tabMFC3, Path=Header}" />
  224. <cal:Parameter Value="{Binding ElementName=cbMFC3Setpoint, Path=SelectedValue}" />
  225. <cal:Parameter Value="10" />
  226. </cal:ActionMessage>
  227. </i:EventTrigger>
  228. </i:Interaction.Triggers>
  229. </Button>
  230. <Button Content="Abort" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" >
  231. <i:Interaction.Triggers>
  232. <i:EventTrigger EventName="Click">
  233. <cal:ActionMessage MethodName="Abort">
  234. </cal:ActionMessage>
  235. </i:EventTrigger>
  236. </i:Interaction.Triggers>
  237. </Button>
  238. </StackPanel>
  239. </Border>
  240. </StackPanel>
  241. </Border>
  242. <Label Content="Verification Data:" Foreground="Black" Height="25" VerticalAlignment="Center"/>
  243. <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
  244. VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" HorizontalContentAlignment="Center"
  245. ItemsSource="{Binding MFC3VerificationData}" x:Name="verificationDataGridMFC3" Height="308">
  246. <DataGrid.Columns>
  247. <DataGridTemplateColumn Header="Setpoint (sccm)" Width="400">
  248. <DataGridTemplateColumn.CellTemplate>
  249. <DataTemplate>
  250. <TextBlock Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
  251. </DataTemplate>
  252. </DataGridTemplateColumn.CellTemplate>
  253. </DataGridTemplateColumn>
  254. <DataGridTemplateColumn Header="Calculate Flow (sccm)" Width="400">
  255. <DataGridTemplateColumn.CellTemplate>
  256. <DataTemplate>
  257. <TextBlock Text="{Binding Path=CalculateValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
  258. </DataTemplate>
  259. </DataGridTemplateColumn.CellTemplate>
  260. </DataGridTemplateColumn>
  261. </DataGrid.Columns>
  262. </DataGrid>
  263. </StackPanel>
  264. </TabItem>
  265. <TabItem Header="MFC4" x:Name="tabMFC4" Visibility="{Binding MFC4Visibility}">
  266. <StackPanel Height="478" Width="1500" HorizontalAlignment="Left" IsEnabled="{Binding MFC4IsEnable}">
  267. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="1200" HorizontalAlignment="Left">
  268. <StackPanel Orientation="Horizontal" Height="30">
  269. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  270. <TextBlock Text="Gas Name" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" Background="{Binding MFC4Background}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  271. </Border>
  272. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{Binding MFC4BackGround}" Padding="5,1">
  273. <TextBlock Text="{Binding MFC4DeviceData.DisplayName}" Width="200" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  274. </Border>
  275. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  276. <TextBlock Text="Setpoint(sccm)" Width="100" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  277. </Border>
  278. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  279. <ComboBox x:Name="cbMFC4Setpoint" IsEditable="True" Height="25" Width="150" ItemsSource="{Binding MFC4VerificationPoints}" SelectedIndex="0" VerticalAlignment="Center" >
  280. <ComboBox.Resources>
  281. <Style TargetType="ComboBoxItem">
  282. <Setter Property="Width" Value="150" />
  283. </Style>
  284. </ComboBox.Resources>
  285. </ComboBox>
  286. </Border>
  287. <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  288. <StackPanel Orientation="Horizontal">
  289. <Button Content="Start One Point" Width="150" Height="25" FontSize="14" Margin="20,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
  290. <i:Interaction.Triggers>
  291. <i:EventTrigger EventName="Click">
  292. <cal:ActionMessage MethodName="StartVerification">
  293. <cal:Parameter Value="{Binding ElementName=tabMFC4, Path=Header}" />
  294. <cal:Parameter Value="{Binding ElementName=cbMFC4Setpoint, Path=SelectedValue}" />
  295. <cal:Parameter Value="1" />
  296. </cal:ActionMessage>
  297. </i:EventTrigger>
  298. </i:Interaction.Triggers>
  299. </Button>
  300. <Button Content="Start Ten Points" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
  301. <i:Interaction.Triggers>
  302. <i:EventTrigger EventName="Click">
  303. <cal:ActionMessage MethodName="StartVerification">
  304. <cal:Parameter Value="{Binding ElementName=tabMFC4, Path=Header}" />
  305. <cal:Parameter Value="{Binding ElementName=cbMFC4Setpoint, Path=SelectedValue}" />
  306. <cal:Parameter Value="10" />
  307. </cal:ActionMessage>
  308. </i:EventTrigger>
  309. </i:Interaction.Triggers>
  310. </Button>
  311. <Button Content="Abort" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" >
  312. <i:Interaction.Triggers>
  313. <i:EventTrigger EventName="Click">
  314. <cal:ActionMessage MethodName="Abort">
  315. </cal:ActionMessage>
  316. </i:EventTrigger>
  317. </i:Interaction.Triggers>
  318. </Button>
  319. </StackPanel>
  320. </Border>
  321. </StackPanel>
  322. </Border>
  323. <Label Content="Verification Data:" Foreground="Black" Height="25" VerticalAlignment="Center"/>
  324. <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
  325. VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" HorizontalContentAlignment="Center"
  326. ItemsSource="{Binding MFC4VerificationData}" x:Name="verificationDataGridMFC4" Height="308">
  327. <DataGrid.Columns>
  328. <DataGridTemplateColumn Header="Setpoint (sccm)" Width="400">
  329. <DataGridTemplateColumn.CellTemplate>
  330. <DataTemplate>
  331. <TextBlock Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
  332. </DataTemplate>
  333. </DataGridTemplateColumn.CellTemplate>
  334. </DataGridTemplateColumn>
  335. <DataGridTemplateColumn Header="Calculate Flow (sccm)" Width="400">
  336. <DataGridTemplateColumn.CellTemplate>
  337. <DataTemplate>
  338. <TextBlock Text="{Binding Path=CalculateValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
  339. </DataTemplate>
  340. </DataGridTemplateColumn.CellTemplate>
  341. </DataGridTemplateColumn>
  342. </DataGrid.Columns>
  343. </DataGrid>
  344. </StackPanel>
  345. </TabItem>
  346. <TabItem Header="MFC5" x:Name="tabMFC5" Visibility="{Binding MFC5Visibility}">
  347. <StackPanel Height="478" Width="1500" HorizontalAlignment="Left" IsEnabled="{Binding MFC5IsEnable}">
  348. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="1200" HorizontalAlignment="Left">
  349. <StackPanel Orientation="Horizontal" Height="30">
  350. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  351. <TextBlock Text="Gas Name" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" Background="{Binding MFC5Background}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  352. </Border>
  353. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{Binding MFC5BackGround}" Padding="5,1">
  354. <TextBlock Text="{Binding MFC5DeviceData.DisplayName}" Width="200" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  355. </Border>
  356. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  357. <TextBlock Text="Setpoint(sccm)" Width="100" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  358. </Border>
  359. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  360. <ComboBox x:Name="cbMFC5Setpoint" IsEditable="True" Height="25" Width="150" ItemsSource="{Binding MFC5VerificationPoints}" SelectedIndex="0" VerticalAlignment="Center" >
  361. <ComboBox.Resources>
  362. <Style TargetType="ComboBoxItem">
  363. <Setter Property="Width" Value="150" />
  364. </Style>
  365. </ComboBox.Resources>
  366. </ComboBox>
  367. </Border>
  368. <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  369. <StackPanel Orientation="Horizontal">
  370. <Button Content="Start One Point" Width="150" Height="25" FontSize="14" Margin="20,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
  371. <i:Interaction.Triggers>
  372. <i:EventTrigger EventName="Click">
  373. <cal:ActionMessage MethodName="StartVerification">
  374. <cal:Parameter Value="{Binding ElementName=tabMFC5, Path=Header}" />
  375. <cal:Parameter Value="{Binding ElementName=cbMFC5Setpoint, Path=SelectedValue}" />
  376. <cal:Parameter Value="1" />
  377. </cal:ActionMessage>
  378. </i:EventTrigger>
  379. </i:Interaction.Triggers>
  380. </Button>
  381. <Button Content="Start Ten Points" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
  382. <i:Interaction.Triggers>
  383. <i:EventTrigger EventName="Click">
  384. <cal:ActionMessage MethodName="StartVerification">
  385. <cal:Parameter Value="{Binding ElementName=tabMFC5, Path=Header}" />
  386. <cal:Parameter Value="{Binding ElementName=cbMFC5Setpoint, Path=SelectedValue}" />
  387. <cal:Parameter Value="10" />
  388. </cal:ActionMessage>
  389. </i:EventTrigger>
  390. </i:Interaction.Triggers>
  391. </Button>
  392. <Button Content="Abort" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" >
  393. <i:Interaction.Triggers>
  394. <i:EventTrigger EventName="Click">
  395. <cal:ActionMessage MethodName="Abort">
  396. </cal:ActionMessage>
  397. </i:EventTrigger>
  398. </i:Interaction.Triggers>
  399. </Button>
  400. </StackPanel>
  401. </Border>
  402. </StackPanel>
  403. </Border>
  404. <Label Content="Verification Data:" Foreground="Black" Height="25" VerticalAlignment="Center"/>
  405. <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
  406. VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" HorizontalContentAlignment="Center"
  407. ItemsSource="{Binding MFC5VerificationData}" x:Name="verificationDataGridMFC5" Height="308">
  408. <DataGrid.Columns>
  409. <DataGridTemplateColumn Header="Setpoint (sccm)" Width="400">
  410. <DataGridTemplateColumn.CellTemplate>
  411. <DataTemplate>
  412. <TextBlock Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
  413. </DataTemplate>
  414. </DataGridTemplateColumn.CellTemplate>
  415. </DataGridTemplateColumn>
  416. <DataGridTemplateColumn Header="Calculate Flow (sccm)" Width="400">
  417. <DataGridTemplateColumn.CellTemplate>
  418. <DataTemplate>
  419. <TextBlock Text="{Binding Path=CalculateValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
  420. </DataTemplate>
  421. </DataGridTemplateColumn.CellTemplate>
  422. </DataGridTemplateColumn>
  423. </DataGrid.Columns>
  424. </DataGrid>
  425. </StackPanel>
  426. </TabItem>
  427. <TabItem Header="MFC6" x:Name="tabMFC6" Visibility="{Binding MFC6Visibility}">
  428. <StackPanel Height="478" Width="1500" HorizontalAlignment="Left" IsEnabled="{Binding MFC6IsEnable}">
  429. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="1200" HorizontalAlignment="Left">
  430. <StackPanel Orientation="Horizontal" Height="30">
  431. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  432. <TextBlock Text="Gas Name" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" Background="{Binding MFC6Background}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  433. </Border>
  434. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{Binding MFC6BackGround}" Padding="5,1">
  435. <TextBlock Text="{Binding MFC6DeviceData.DisplayName}" Width="200" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  436. </Border>
  437. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  438. <TextBlock Text="Setpoint(sccm)" Width="100" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  439. </Border>
  440. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  441. <ComboBox x:Name="cbMFC6Setpoint" IsEditable="True" Height="25" Width="150" ItemsSource="{Binding MFC6VerificationPoints}" SelectedIndex="0" VerticalAlignment="Center" >
  442. <ComboBox.Resources>
  443. <Style TargetType="ComboBoxItem">
  444. <Setter Property="Width" Value="150" />
  445. </Style>
  446. </ComboBox.Resources>
  447. </ComboBox>
  448. </Border>
  449. <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  450. <StackPanel Orientation="Horizontal">
  451. <Button Content="Start One Point" Width="150" Height="25" FontSize="14" Margin="20,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
  452. <i:Interaction.Triggers>
  453. <i:EventTrigger EventName="Click">
  454. <cal:ActionMessage MethodName="StartVerification">
  455. <cal:Parameter Value="{Binding ElementName=tabMFC6, Path=Header}" />
  456. <cal:Parameter Value="{Binding ElementName=cbMFC6Setpoint, Path=SelectedValue}" />
  457. <cal:Parameter Value="1" />
  458. </cal:ActionMessage>
  459. </i:EventTrigger>
  460. </i:Interaction.Triggers>
  461. </Button>
  462. <Button Content="Start Ten Points" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
  463. <i:Interaction.Triggers>
  464. <i:EventTrigger EventName="Click">
  465. <cal:ActionMessage MethodName="StartVerification">
  466. <cal:Parameter Value="{Binding ElementName=tabMFC6, Path=Header}" />
  467. <cal:Parameter Value="{Binding ElementName=cbMFC6Setpoint, Path=SelectedValue}" />
  468. <cal:Parameter Value="10" />
  469. </cal:ActionMessage>
  470. </i:EventTrigger>
  471. </i:Interaction.Triggers>
  472. </Button>
  473. <Button Content="Abort" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" >
  474. <i:Interaction.Triggers>
  475. <i:EventTrigger EventName="Click">
  476. <cal:ActionMessage MethodName="Abort">
  477. </cal:ActionMessage>
  478. </i:EventTrigger>
  479. </i:Interaction.Triggers>
  480. </Button>
  481. </StackPanel>
  482. </Border>
  483. </StackPanel>
  484. </Border>
  485. <Label Content="Verification Data:" Foreground="Black" Height="25" VerticalAlignment="Center"/>
  486. <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
  487. VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" HorizontalContentAlignment="Center"
  488. ItemsSource="{Binding MFC6VerificationData}" x:Name="verificationDataGridMFC6" Height="308">
  489. <DataGrid.Columns>
  490. <DataGridTemplateColumn Header="Setpoint (sccm)" Width="400">
  491. <DataGridTemplateColumn.CellTemplate>
  492. <DataTemplate>
  493. <TextBlock Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
  494. </DataTemplate>
  495. </DataGridTemplateColumn.CellTemplate>
  496. </DataGridTemplateColumn>
  497. <DataGridTemplateColumn Header="Calculate Flow (sccm)" Width="400">
  498. <DataGridTemplateColumn.CellTemplate>
  499. <DataTemplate>
  500. <TextBlock Text="{Binding Path=CalculateValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
  501. </DataTemplate>
  502. </DataGridTemplateColumn.CellTemplate>
  503. </DataGridTemplateColumn>
  504. </DataGrid.Columns>
  505. </DataGrid>
  506. </StackPanel>
  507. </TabItem>
  508. <TabItem Header="MFC7" x:Name="tabMFC7" Visibility="{Binding MFC7Visibility}">
  509. <StackPanel Height="478" Width="1500" HorizontalAlignment="Left" IsEnabled="{Binding MFC7IsEnable}">
  510. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="1200" HorizontalAlignment="Left">
  511. <StackPanel Orientation="Horizontal" Height="30">
  512. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  513. <TextBlock Text="Gas Name" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" Background="{Binding MFC7Background}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  514. </Border>
  515. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{Binding MFC7BackGround}" Padding="5,1">
  516. <TextBlock Text="{Binding MFC7DeviceData.DisplayName}" Width="200" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  517. </Border>
  518. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  519. <TextBlock Text="Setpoint(sccm)" Width="100" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  520. </Border>
  521. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  522. <ComboBox x:Name="cbMFC7Setpoint" IsEditable="True" Height="25" Width="150" ItemsSource="{Binding MFC7VerificationPoints}" SelectedIndex="0" VerticalAlignment="Center" >
  523. <ComboBox.Resources>
  524. <Style TargetType="ComboBoxItem">
  525. <Setter Property="Width" Value="150" />
  526. </Style>
  527. </ComboBox.Resources>
  528. </ComboBox>
  529. </Border>
  530. <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  531. <StackPanel Orientation="Horizontal">
  532. <Button Content="Start One Point" Width="150" Height="25" FontSize="14" Margin="20,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
  533. <i:Interaction.Triggers>
  534. <i:EventTrigger EventName="Click">
  535. <cal:ActionMessage MethodName="StartVerification">
  536. <cal:Parameter Value="{Binding ElementName=tabMFC7, Path=Header}" />
  537. <cal:Parameter Value="{Binding ElementName=cbMFC7Setpoint, Path=SelectedValue}" />
  538. <cal:Parameter Value="1" />
  539. </cal:ActionMessage>
  540. </i:EventTrigger>
  541. </i:Interaction.Triggers>
  542. </Button>
  543. <Button Content="Start Ten Points" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
  544. <i:Interaction.Triggers>
  545. <i:EventTrigger EventName="Click">
  546. <cal:ActionMessage MethodName="StartVerification">
  547. <cal:Parameter Value="{Binding ElementName=tabMFC7, Path=Header}" />
  548. <cal:Parameter Value="{Binding ElementName=cbMFC7Setpoint, Path=SelectedValue}" />
  549. <cal:Parameter Value="10" />
  550. </cal:ActionMessage>
  551. </i:EventTrigger>
  552. </i:Interaction.Triggers>
  553. </Button>
  554. <Button Content="Abort" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" >
  555. <i:Interaction.Triggers>
  556. <i:EventTrigger EventName="Click">
  557. <cal:ActionMessage MethodName="Abort">
  558. </cal:ActionMessage>
  559. </i:EventTrigger>
  560. </i:Interaction.Triggers>
  561. </Button>
  562. </StackPanel>
  563. </Border>
  564. </StackPanel>
  565. </Border>
  566. <Label Content="Verification Data:" Foreground="Black" Height="25" VerticalAlignment="Center"/>
  567. <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
  568. VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" HorizontalContentAlignment="Center"
  569. ItemsSource="{Binding MFC7VerificationData}" x:Name="verificationDataGridMFC7" Height="308">
  570. <DataGrid.Columns>
  571. <DataGridTemplateColumn Header="Setpoint (sccm)" Width="400">
  572. <DataGridTemplateColumn.CellTemplate>
  573. <DataTemplate>
  574. <TextBlock Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
  575. </DataTemplate>
  576. </DataGridTemplateColumn.CellTemplate>
  577. </DataGridTemplateColumn>
  578. <DataGridTemplateColumn Header="Calculate Flow (sccm)" Width="400">
  579. <DataGridTemplateColumn.CellTemplate>
  580. <DataTemplate>
  581. <TextBlock Text="{Binding Path=CalculateValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
  582. </DataTemplate>
  583. </DataGridTemplateColumn.CellTemplate>
  584. </DataGridTemplateColumn>
  585. </DataGrid.Columns>
  586. </DataGrid>
  587. </StackPanel>
  588. </TabItem>
  589. <TabItem Header="MFC8" x:Name="tabMFC8" Visibility="{Binding MFC8Visibility}">
  590. <StackPanel Height="478" Width="1500" HorizontalAlignment="Left" IsEnabled="{Binding MFC8IsEnable}">
  591. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="1200" HorizontalAlignment="Left">
  592. <StackPanel Orientation="Horizontal" Height="30">
  593. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  594. <TextBlock Text="Gas Name" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" Background="{Binding MFC8Background}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  595. </Border>
  596. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{Binding MFC8BackGround}" Padding="5,1">
  597. <TextBlock Text="{Binding MFC8DeviceData.DisplayName}" Width="200" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  598. </Border>
  599. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  600. <TextBlock Text="Setpoint(sccm)" Width="100" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  601. </Border>
  602. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  603. <ComboBox x:Name="cbMFC8Setpoint" IsEditable="True" Height="25" Width="150" ItemsSource="{Binding MFC8VerificationPoints}" SelectedIndex="0" VerticalAlignment="Center" >
  604. <ComboBox.Resources>
  605. <Style TargetType="ComboBoxItem">
  606. <Setter Property="Width" Value="150" />
  607. </Style>
  608. </ComboBox.Resources>
  609. </ComboBox>
  610. </Border>
  611. <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  612. <StackPanel Orientation="Horizontal">
  613. <Button Content="Start One Point" Width="150" Height="25" FontSize="14" Margin="20,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
  614. <i:Interaction.Triggers>
  615. <i:EventTrigger EventName="Click">
  616. <cal:ActionMessage MethodName="StartVerification">
  617. <cal:Parameter Value="{Binding ElementName=tabMFC8, Path=Header}" />
  618. <cal:Parameter Value="{Binding ElementName=cbMFC8Setpoint, Path=SelectedValue}" />
  619. <cal:Parameter Value="1" />
  620. </cal:ActionMessage>
  621. </i:EventTrigger>
  622. </i:Interaction.Triggers>
  623. </Button>
  624. <Button Content="Start Ten Points" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
  625. <i:Interaction.Triggers>
  626. <i:EventTrigger EventName="Click">
  627. <cal:ActionMessage MethodName="StartVerification">
  628. <cal:Parameter Value="{Binding ElementName=tabMFC8, Path=Header}" />
  629. <cal:Parameter Value="{Binding ElementName=cbMFC8Setpoint, Path=SelectedValue}" />
  630. <cal:Parameter Value="10" />
  631. </cal:ActionMessage>
  632. </i:EventTrigger>
  633. </i:Interaction.Triggers>
  634. </Button>
  635. <Button Content="Abort" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" >
  636. <i:Interaction.Triggers>
  637. <i:EventTrigger EventName="Click">
  638. <cal:ActionMessage MethodName="Abort">
  639. </cal:ActionMessage>
  640. </i:EventTrigger>
  641. </i:Interaction.Triggers>
  642. </Button>
  643. </StackPanel>
  644. </Border>
  645. </StackPanel>
  646. </Border>
  647. <Label Content="Verification Data:" Foreground="Black" Height="25" VerticalAlignment="Center"/>
  648. <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
  649. VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" HorizontalContentAlignment="Center"
  650. ItemsSource="{Binding MFC8VerificationData}" x:Name="verificationDataGridMFC8" Height="308">
  651. <DataGrid.Columns>
  652. <DataGridTemplateColumn Header="Setpoint (sccm)" Width="400">
  653. <DataGridTemplateColumn.CellTemplate>
  654. <DataTemplate>
  655. <TextBlock Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
  656. </DataTemplate>
  657. </DataGridTemplateColumn.CellTemplate>
  658. </DataGridTemplateColumn>
  659. <DataGridTemplateColumn Header="Calculate Flow (sccm)" Width="400">
  660. <DataGridTemplateColumn.CellTemplate>
  661. <DataTemplate>
  662. <TextBlock Text="{Binding Path=CalculateValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
  663. </DataTemplate>
  664. </DataGridTemplateColumn.CellTemplate>
  665. </DataGridTemplateColumn>
  666. </DataGrid.Columns>
  667. </DataGrid>
  668. </StackPanel>
  669. </TabItem>
  670. <TabItem Header="MFC9" x:Name="tabMFC9" Visibility="{Binding MFC9Visibility}">
  671. <StackPanel Height="478" Width="1500" HorizontalAlignment="Left" IsEnabled="{Binding MFC9IsEnable}">
  672. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="1200" HorizontalAlignment="Left">
  673. <StackPanel Orientation="Horizontal" Height="30">
  674. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  675. <TextBlock Text="Gas Name" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" Background="{Binding MFC9Background}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  676. </Border>
  677. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{Binding MFC9BackGround}" Padding="5,1">
  678. <TextBlock Text="{Binding MFC9DeviceData.DisplayName}" Width="200" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  679. </Border>
  680. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  681. <TextBlock Text="Setpoint(sccm)" Width="100" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  682. </Border>
  683. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  684. <ComboBox x:Name="cbMFC9Setpoint" IsEditable="True" Height="25" Width="150" ItemsSource="{Binding MFC9VerificationPoints}" SelectedIndex="0" VerticalAlignment="Center" >
  685. <ComboBox.Resources>
  686. <Style TargetType="ComboBoxItem">
  687. <Setter Property="Width" Value="150" />
  688. </Style>
  689. </ComboBox.Resources>
  690. </ComboBox>
  691. </Border>
  692. <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  693. <StackPanel Orientation="Horizontal">
  694. <Button Content="Start One Point" Width="150" Height="25" FontSize="14" Margin="20,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
  695. <i:Interaction.Triggers>
  696. <i:EventTrigger EventName="Click">
  697. <cal:ActionMessage MethodName="StartVerification">
  698. <cal:Parameter Value="{Binding ElementName=tabMFC9, Path=Header}" />
  699. <cal:Parameter Value="{Binding ElementName=cbMFC9Setpoint, Path=SelectedValue}" />
  700. <cal:Parameter Value="1" />
  701. </cal:ActionMessage>
  702. </i:EventTrigger>
  703. </i:Interaction.Triggers>
  704. </Button>
  705. <Button Content="Start Ten Points" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
  706. <i:Interaction.Triggers>
  707. <i:EventTrigger EventName="Click">
  708. <cal:ActionMessage MethodName="StartVerification">
  709. <cal:Parameter Value="{Binding ElementName=tabMFC9, Path=Header}" />
  710. <cal:Parameter Value="{Binding ElementName=cbMFC9Setpoint, Path=SelectedValue}" />
  711. <cal:Parameter Value="10" />
  712. </cal:ActionMessage>
  713. </i:EventTrigger>
  714. </i:Interaction.Triggers>
  715. </Button>
  716. <Button Content="Abort" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" >
  717. <i:Interaction.Triggers>
  718. <i:EventTrigger EventName="Click">
  719. <cal:ActionMessage MethodName="Abort">
  720. </cal:ActionMessage>
  721. </i:EventTrigger>
  722. </i:Interaction.Triggers>
  723. </Button>
  724. </StackPanel>
  725. </Border>
  726. </StackPanel>
  727. </Border>
  728. <Label Content="Verification Data:" Foreground="Black" Height="25" VerticalAlignment="Center"/>
  729. <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
  730. VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" HorizontalContentAlignment="Center"
  731. ItemsSource="{Binding MFC9VerificationData}" x:Name="verificationDataGridMFC9" Height="308">
  732. <DataGrid.Columns>
  733. <DataGridTemplateColumn Header="Setpoint (sccm)" Width="400">
  734. <DataGridTemplateColumn.CellTemplate>
  735. <DataTemplate>
  736. <TextBlock Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
  737. </DataTemplate>
  738. </DataGridTemplateColumn.CellTemplate>
  739. </DataGridTemplateColumn>
  740. <DataGridTemplateColumn Header="Calculate Flow (sccm)" Width="400">
  741. <DataGridTemplateColumn.CellTemplate>
  742. <DataTemplate>
  743. <TextBlock Text="{Binding Path=CalculateValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
  744. </DataTemplate>
  745. </DataGridTemplateColumn.CellTemplate>
  746. </DataGridTemplateColumn>
  747. </DataGrid.Columns>
  748. </DataGrid>
  749. </StackPanel>
  750. </TabItem>
  751. <TabItem Header="MFC10" x:Name="tabMFC10" Visibility="{Binding MFC10Visibility}">
  752. <StackPanel Height="478" Width="1500" HorizontalAlignment="Left" IsEnabled="{Binding MFC10IsEnable}">
  753. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="1200" HorizontalAlignment="Left">
  754. <StackPanel Orientation="Horizontal" Height="30">
  755. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  756. <TextBlock Text="Gas Name" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" Background="{Binding MFC10Background}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  757. </Border>
  758. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{Binding MFC10BackGround}" Padding="5,1">
  759. <TextBlock Text="{Binding MFC10DeviceData.DisplayName}" Width="200" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  760. </Border>
  761. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  762. <TextBlock Text="Setpoint(sccm)" Width="100" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  763. </Border>
  764. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  765. <ComboBox x:Name="cbMFC10Setpoint" IsEditable="True" Height="25" Width="150" ItemsSource="{Binding MFC10VerificationPoints}" SelectedIndex="0" VerticalAlignment="Center" >
  766. <ComboBox.Resources>
  767. <Style TargetType="ComboBoxItem">
  768. <Setter Property="Width" Value="150" />
  769. </Style>
  770. </ComboBox.Resources>
  771. </ComboBox>
  772. </Border>
  773. <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  774. <StackPanel Orientation="Horizontal">
  775. <Button Content="Start One Point" Width="150" Height="25" FontSize="14" Margin="20,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
  776. <i:Interaction.Triggers>
  777. <i:EventTrigger EventName="Click">
  778. <cal:ActionMessage MethodName="StartVerification">
  779. <cal:Parameter Value="{Binding ElementName=tabMFC10, Path=Header}" />
  780. <cal:Parameter Value="{Binding ElementName=cbMFC10Setpoint, Path=SelectedValue}" />
  781. <cal:Parameter Value="1" />
  782. </cal:ActionMessage>
  783. </i:EventTrigger>
  784. </i:Interaction.Triggers>
  785. </Button>
  786. <Button Content="Start Ten Points" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
  787. <i:Interaction.Triggers>
  788. <i:EventTrigger EventName="Click">
  789. <cal:ActionMessage MethodName="StartVerification">
  790. <cal:Parameter Value="{Binding ElementName=tabMFC10, Path=Header}" />
  791. <cal:Parameter Value="{Binding ElementName=cbMFC10Setpoint, Path=SelectedValue}" />
  792. <cal:Parameter Value="10" />
  793. </cal:ActionMessage>
  794. </i:EventTrigger>
  795. </i:Interaction.Triggers>
  796. </Button>
  797. <Button Content="Abort" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" >
  798. <i:Interaction.Triggers>
  799. <i:EventTrigger EventName="Click">
  800. <cal:ActionMessage MethodName="Abort">
  801. </cal:ActionMessage>
  802. </i:EventTrigger>
  803. </i:Interaction.Triggers>
  804. </Button>
  805. </StackPanel>
  806. </Border>
  807. </StackPanel>
  808. </Border>
  809. <Label Content="Verification Data:" Foreground="Black" Height="25" VerticalAlignment="Center"/>
  810. <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
  811. VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" HorizontalContentAlignment="Center"
  812. ItemsSource="{Binding MFC10VerificationData}" x:Name="verificationDataGridMFC10" Height="308">
  813. <DataGrid.Columns>
  814. <DataGridTemplateColumn Header="Setpoint (sccm)" Width="400">
  815. <DataGridTemplateColumn.CellTemplate>
  816. <DataTemplate>
  817. <TextBlock Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
  818. </DataTemplate>
  819. </DataGridTemplateColumn.CellTemplate>
  820. </DataGridTemplateColumn>
  821. <DataGridTemplateColumn Header="Calculate Flow (sccm)" Width="400">
  822. <DataGridTemplateColumn.CellTemplate>
  823. <DataTemplate>
  824. <TextBlock Text="{Binding Path=CalculateValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
  825. </DataTemplate>
  826. </DataGridTemplateColumn.CellTemplate>
  827. </DataGridTemplateColumn>
  828. </DataGrid.Columns>
  829. </DataGrid>
  830. </StackPanel>
  831. </TabItem>
  832. <TabItem Header="MFC11" x:Name="tabMFC11" Visibility="{Binding MFC11Visibility}">
  833. <StackPanel Height="478" Width="1500" HorizontalAlignment="Left" IsEnabled="{Binding MFC11IsEnable}">
  834. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="1200" HorizontalAlignment="Left">
  835. <StackPanel Orientation="Horizontal" Height="30">
  836. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  837. <TextBlock Text="Gas Name" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" Background="{Binding MFC11Background}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  838. </Border>
  839. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{Binding MFC11BackGround}" Padding="5,1">
  840. <TextBlock Text="{Binding MFC11DeviceData.DisplayName}" Width="200" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  841. </Border>
  842. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  843. <TextBlock Text="Setpoint(sccm)" Width="100" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  844. </Border>
  845. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  846. <ComboBox x:Name="cbMFC11Setpoint" IsEditable="True" Height="25" Width="150" ItemsSource="{Binding MFC11VerificationPoints}" SelectedIndex="0" VerticalAlignment="Center" >
  847. <ComboBox.Resources>
  848. <Style TargetType="ComboBoxItem">
  849. <Setter Property="Width" Value="150" />
  850. </Style>
  851. </ComboBox.Resources>
  852. </ComboBox>
  853. </Border>
  854. <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  855. <StackPanel Orientation="Horizontal">
  856. <Button Content="Start One Point" Width="150" Height="25" FontSize="14" Margin="20,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
  857. <i:Interaction.Triggers>
  858. <i:EventTrigger EventName="Click">
  859. <cal:ActionMessage MethodName="StartVerification">
  860. <cal:Parameter Value="{Binding ElementName=tabMFC11, Path=Header}" />
  861. <cal:Parameter Value="{Binding ElementName=cbMFC11Setpoint, Path=SelectedValue}" />
  862. <cal:Parameter Value="1" />
  863. </cal:ActionMessage>
  864. </i:EventTrigger>
  865. </i:Interaction.Triggers>
  866. </Button>
  867. <Button Content="Start Ten Points" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
  868. <i:Interaction.Triggers>
  869. <i:EventTrigger EventName="Click">
  870. <cal:ActionMessage MethodName="StartVerification">
  871. <cal:Parameter Value="{Binding ElementName=tabMFC11, Path=Header}" />
  872. <cal:Parameter Value="{Binding ElementName=cbMFC11Setpoint, Path=SelectedValue}" />
  873. <cal:Parameter Value="10" />
  874. </cal:ActionMessage>
  875. </i:EventTrigger>
  876. </i:Interaction.Triggers>
  877. </Button>
  878. <Button Content="Abort" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" >
  879. <i:Interaction.Triggers>
  880. <i:EventTrigger EventName="Click">
  881. <cal:ActionMessage MethodName="Abort">
  882. </cal:ActionMessage>
  883. </i:EventTrigger>
  884. </i:Interaction.Triggers>
  885. </Button>
  886. </StackPanel>
  887. </Border>
  888. </StackPanel>
  889. </Border>
  890. <Label Content="Verification Data:" Foreground="Black" Height="25" VerticalAlignment="Center"/>
  891. <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
  892. VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" HorizontalContentAlignment="Center"
  893. ItemsSource="{Binding MFC11VerificationData}" x:Name="verificationDataGridMFC11" Height="308">
  894. <DataGrid.Columns>
  895. <DataGridTemplateColumn Header="Setpoint (sccm)" Width="400">
  896. <DataGridTemplateColumn.CellTemplate>
  897. <DataTemplate>
  898. <TextBlock Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
  899. </DataTemplate>
  900. </DataGridTemplateColumn.CellTemplate>
  901. </DataGridTemplateColumn>
  902. <DataGridTemplateColumn Header="Calculate Flow (sccm)" Width="400">
  903. <DataGridTemplateColumn.CellTemplate>
  904. <DataTemplate>
  905. <TextBlock Text="{Binding Path=CalculateValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
  906. </DataTemplate>
  907. </DataGridTemplateColumn.CellTemplate>
  908. </DataGridTemplateColumn>
  909. </DataGrid.Columns>
  910. </DataGrid>
  911. </StackPanel>
  912. </TabItem>
  913. <TabItem Header="MFC12" x:Name="tabMFC12" Visibility="{Binding MFC12Visibility}">
  914. <StackPanel Height="478" Width="1500" HorizontalAlignment="Left" IsEnabled="{Binding MFC12IsEnable}">
  915. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="1200" HorizontalAlignment="Left">
  916. <StackPanel Orientation="Horizontal" Height="30">
  917. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  918. <TextBlock Text="Gas Name" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" Background="{Binding MFC12Background}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  919. </Border>
  920. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{Binding MFC12BackGround}" Padding="5,1">
  921. <TextBlock Text="{Binding MFC12DeviceData.DisplayName}" Width="200" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  922. </Border>
  923. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  924. <TextBlock Text="Setpoint(sccm)" Width="100" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  925. </Border>
  926. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  927. <ComboBox x:Name="cbMFC12Setpoint" IsEditable="True" Height="25" Width="150" ItemsSource="{Binding MFC12VerificationPoints}" SelectedIndex="0" VerticalAlignment="Center" >
  928. <ComboBox.Resources>
  929. <Style TargetType="ComboBoxItem">
  930. <Setter Property="Width" Value="150" />
  931. </Style>
  932. </ComboBox.Resources>
  933. </ComboBox>
  934. </Border>
  935. <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  936. <StackPanel Orientation="Horizontal">
  937. <Button Content="Start One Point" Width="150" Height="25" FontSize="14" Margin="20,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
  938. <i:Interaction.Triggers>
  939. <i:EventTrigger EventName="Click">
  940. <cal:ActionMessage MethodName="StartVerification">
  941. <cal:Parameter Value="{Binding ElementName=tabMFC12, Path=Header}" />
  942. <cal:Parameter Value="{Binding ElementName=cbMFC12Setpoint, Path=SelectedValue}" />
  943. <cal:Parameter Value="1" />
  944. </cal:ActionMessage>
  945. </i:EventTrigger>
  946. </i:Interaction.Triggers>
  947. </Button>
  948. <Button Content="Start Ten Points" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" IsEnabled="{Binding IsVerificationButtonEnable}">
  949. <i:Interaction.Triggers>
  950. <i:EventTrigger EventName="Click">
  951. <cal:ActionMessage MethodName="StartVerification">
  952. <cal:Parameter Value="{Binding ElementName=tabMFC12, Path=Header}" />
  953. <cal:Parameter Value="{Binding ElementName=cbMFC12Setpoint, Path=SelectedValue}" />
  954. <cal:Parameter Value="10" />
  955. </cal:ActionMessage>
  956. </i:EventTrigger>
  957. </i:Interaction.Triggers>
  958. </Button>
  959. <Button Content="Abort" Width="150" Height="25" FontSize="14" Margin="30,0,0,0" >
  960. <i:Interaction.Triggers>
  961. <i:EventTrigger EventName="Click">
  962. <cal:ActionMessage MethodName="Abort">
  963. </cal:ActionMessage>
  964. </i:EventTrigger>
  965. </i:Interaction.Triggers>
  966. </Button>
  967. </StackPanel>
  968. </Border>
  969. </StackPanel>
  970. </Border>
  971. <Label Content="Verification Data:" Foreground="Black" Height="25" VerticalAlignment="Center"/>
  972. <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
  973. VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling" HorizontalContentAlignment="Center"
  974. ItemsSource="{Binding MFC12VerificationData}" x:Name="verificationDataGridMFC12" Height="308">
  975. <DataGrid.Columns>
  976. <DataGridTemplateColumn Header="Setpoint (sccm)" Width="400">
  977. <DataGridTemplateColumn.CellTemplate>
  978. <DataTemplate>
  979. <TextBlock Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
  980. </DataTemplate>
  981. </DataGridTemplateColumn.CellTemplate>
  982. </DataGridTemplateColumn>
  983. <DataGridTemplateColumn Header="Calculate Flow (sccm)" Width="400">
  984. <DataGridTemplateColumn.CellTemplate>
  985. <DataTemplate>
  986. <TextBlock Text="{Binding Path=CalculateValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Height="25" HorizontalAlignment="Center" TextAlignment="Center"/>
  987. </DataTemplate>
  988. </DataGridTemplateColumn.CellTemplate>
  989. </DataGridTemplateColumn>
  990. </DataGrid.Columns>
  991. </DataGrid>
  992. </StackPanel>
  993. </TabItem>
  994. </TabControl>
  995. <!--<Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="800" HorizontalAlignment="Left">
  996. <StackPanel Orientation="Horizontal" Height="30">
  997. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  998. <ComboBox x:Name="cbMFC" Height="25" Width="100" ItemsSource="{Binding MFCs}" SelectedItem="{Binding SelectedMFC}" VerticalAlignment="Center" />
  999. </Border>
  1000. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  1001. <TextBlock Text="{Binding SelectedGasName}" Width="80" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  1002. </Border>
  1003. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  1004. <TextBlock Text="Setpoint(sccm)" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  1005. </Border>
  1006. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  1007. <ComboBox x:Name="cbSetpoint" Height="25" Width="100" ItemsSource="{Binding CalibrationPoints}" SelectedItem="{Binding Setpoint}" VerticalAlignment="Center" />
  1008. </Border>
  1009. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  1010. <TextBlock Text="Flow Time(S)" Width="85" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  1011. </Border>
  1012. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  1013. <TextBox x:Name="tbTime" Width="80" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  1014. </Border>
  1015. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  1016. <Button Content="Start" Width="80" Height="25" FontSize="12">
  1017. <i:Interaction.Triggers>
  1018. <i:EventTrigger EventName="Click">
  1019. <cal:ActionMessage MethodName="StartVerification">
  1020. <cal:Parameter Value="{Binding ElementName=cbMFC, Path=SelectedValue}" />
  1021. <cal:Parameter Value="{Binding ElementName=cbSetpoint, Path=SelectedValue}" />
  1022. <cal:Parameter Value="{Binding ElementName=tbTime, Path=Text}" />
  1023. </cal:ActionMessage>
  1024. </i:EventTrigger>
  1025. </i:Interaction.Triggers>
  1026. </Button>
  1027. </Border>
  1028. </StackPanel>
  1029. </Border>
  1030. <Border Grid.Row="1" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Width="800" HorizontalAlignment="Left">
  1031. <StackPanel Orientation="Horizontal" Height="30">
  1032. <Button Content="Reset" Width="120" Height="25" FontSize="12">
  1033. <i:Interaction.Triggers>
  1034. <i:EventTrigger EventName="Click">
  1035. <cal:ActionMessage MethodName="Reset">
  1036. <cal:Parameter Value="{Binding ElementName=calibrationDataGrid, Path=SelectedIndex}" />
  1037. </cal:ActionMessage>
  1038. </i:EventTrigger>
  1039. </i:Interaction.Triggers>
  1040. </Button>
  1041. <Button Content="Reset All" Width="120" Height="25" FontSize="12" Margin="10,0,0,0">
  1042. <i:Interaction.Triggers>
  1043. <i:EventTrigger EventName="Click">
  1044. <cal:ActionMessage MethodName="ResetAll"/>
  1045. </i:EventTrigger>
  1046. </i:Interaction.Triggers>
  1047. </Button>
  1048. <Button Content="Save All" Width="120" Height="25" FontSize="12" Margin="10,0,0,0" IsEnabled="{Binding IsAcceptButtonEnable}">
  1049. <i:Interaction.Triggers>
  1050. <i:EventTrigger EventName="Click">
  1051. <cal:ActionMessage MethodName="AcceptAll"/>
  1052. </i:EventTrigger>
  1053. </i:Interaction.Triggers>
  1054. </Button>
  1055. </StackPanel>
  1056. </Border>
  1057. <TextBlock Text="Calibration Data:" Grid.Row="2"/>
  1058. <DataGrid Grid.Row="3" AlternationCount="2" HorizontalAlignment="Left" CanUserAddRows="False" AutoGenerateColumns="False" RowHeaderWidth="0"
  1059. VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.VirtualizationMode="Recycling"
  1060. ItemsSource="{Binding CalibrationData}" x:Name="calibrationDataGrid" Height="220">
  1061. <DataGrid.Columns>
  1062. <DataGridTemplateColumn Header="Setpoint(W)" Width="267">
  1063. <DataGridTemplateColumn.CellTemplate>
  1064. <DataTemplate>
  1065. <ctrl:TextBoxEx Text="{Binding Path=Setpoint, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Width="200" Height="25"/>
  1066. </DataTemplate>
  1067. </DataGridTemplateColumn.CellTemplate>
  1068. </DataGridTemplateColumn>
  1069. <DataGridTemplateColumn Header="Monitor Power(W)" Width="267">
  1070. <DataGridTemplateColumn.CellTemplate>
  1071. <DataTemplate>
  1072. <ctrl:TextBoxEx Text="{Binding Path=MonitorValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Width="200" Height="25"/>
  1073. </DataTemplate>
  1074. </DataGridTemplateColumn.CellTemplate>
  1075. </DataGridTemplateColumn>
  1076. <DataGridTemplateColumn Header="Meter Power(W)" Width="266">
  1077. <DataGridTemplateColumn.CellTemplate>
  1078. <DataTemplate>
  1079. <ctrl:TextBoxEx Text="{Binding Path=MeterValue, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat={}{0:F1}}" Width="200" Height="25"/>
  1080. </DataTemplate>
  1081. </DataGridTemplateColumn.CellTemplate>
  1082. </DataGridTemplateColumn>
  1083. </DataGrid.Columns>
  1084. </DataGrid>-->
  1085. <Border Grid.Row="1" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Width="800" HorizontalAlignment="Left">
  1086. <StackPanel Orientation="Horizontal">
  1087. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  1088. <TextBlock Text="Start Time" Width="70" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  1089. </Border>
  1090. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  1091. <wfi:WindowsFormsHost Margin="5,0,0,0" FontSize="14" FontFamily="Arial" Width="170" Height="22" VerticalAlignment="Center">
  1092. <wf:DateTimePicker x:Name="wfTimeFrom" Value="2011-8-1" CustomFormat="yyyy/MM/dd HH:mm:ss" Format="Custom"></wf:DateTimePicker>
  1093. </wfi:WindowsFormsHost>
  1094. <!--<xctk:DateTimePicker x:Name="wfTimeFrom" Format="Custom" FontSize="13"
  1095. FormatString="yyyy/MM/dd HH:mm:ss"
  1096. TimeFormat="Custom"
  1097. AutoCloseCalendar="True"
  1098. TimeFormatString="HH:mm:ss"
  1099. Grid.Row="0" VerticalAlignment="Top"
  1100. Value="2011-8-1" Height="22" Width="170" Margin="2,2,0,0" />-->
  1101. </Border>
  1102. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  1103. <TextBlock Text="End Time" Width="70" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
  1104. </Border>
  1105. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  1106. <wfi:WindowsFormsHost Margin="5,0,0,0" FontSize="14" FontFamily="Arial" Width="170" Height="22" VerticalAlignment="Center">
  1107. <wf:DateTimePicker x:Name="wfTimeTo" Value="2013-8-1" CustomFormat="yyyy/MM/dd HH:mm:ss" Format="Custom"></wf:DateTimePicker>
  1108. </wfi:WindowsFormsHost>
  1109. <!--<xctk:DateTimePicker x:Name="wfTimeTo" Format="Custom" FontSize="13"
  1110. FormatString="yyyy/MM/dd HH:mm:ss"
  1111. TimeFormat="Custom"
  1112. AutoCloseCalendar="True"
  1113. TimeFormatString="HH:mm:ss"
  1114. Grid.Row="0" VerticalAlignment="Top"
  1115. Value="2013-8-1" Height="22" Width="170" Margin="2,2,0,0" />-->
  1116. </Border>
  1117. <Border BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  1118. <StackPanel Orientation="Horizontal" IsEnabled="{Binding IsPermission}">
  1119. <Button Content="Query" Width="120" Height="25" FontSize="14" Margin="5,0,0,0">
  1120. <i:Interaction.Triggers>
  1121. <i:EventTrigger EventName="Click">
  1122. <cal:ActionMessage MethodName="Query"/>
  1123. </i:EventTrigger>
  1124. </i:Interaction.Triggers>
  1125. </Button>
  1126. <!--<Button Content="Set As Current" Width="120" Height="25" FontSize="14" Margin="10,0,0,0" IsEnabled="{Binding IsSetAsCurrentButtonEnable}">
  1127. <i:Interaction.Triggers>
  1128. <i:EventTrigger EventName="Click">
  1129. <cal:ActionMessage MethodName="SetAsCurrent">
  1130. <cal:Parameter Value="{Binding ElementName=dataGrid_CalibrationHistory, Path=SelectedIndex}" />
  1131. </cal:ActionMessage>
  1132. </i:EventTrigger>
  1133. </i:Interaction.Triggers>
  1134. </Button>-->
  1135. </StackPanel>
  1136. </Border>
  1137. </StackPanel>
  1138. </Border>
  1139. <Label Content="Verification History:" Grid.Row="2" Height="25"/>
  1140. <ScrollViewer Grid.Row="3" Grid.ColumnSpan="2" HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Auto">
  1141. <DataGrid AutoGenerateColumns="False" Name="dataGrid_VerificationHistory" CanUserAddRows="False" IsEnabled="{Binding IsPermission}"
  1142. ItemsSource="{Binding VerificationDataRecords}" SelectedItem="{Binding SelectedCalibrationData,Mode=TwoWay}" HorizontalScrollBarVisibility="Auto"
  1143. FontFamily="Arial" FontSize="14" Height="305" MouseDoubleClick="VerificationHistoryDataGrid_MouseDoubleClick" LostFocus="VerificationHistoryDataGrid_LoseFocus">
  1144. <DataGrid.Columns>
  1145. <DataGridTextColumn Width="60" Binding="{Binding Module,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False" >
  1146. <DataGridTextColumn.HeaderTemplate >
  1147. <DataTemplate>
  1148. <TextBlock Text="Module" />
  1149. </DataTemplate>
  1150. </DataGridTextColumn.HeaderTemplate>
  1151. <DataGridTextColumn.CellStyle>
  1152. <Style TargetType="DataGridCell">
  1153. <Setter Property="ToolTip" Value="{Binding Module}" />
  1154. </Style>
  1155. </DataGridTextColumn.CellStyle>
  1156. </DataGridTextColumn>
  1157. <DataGridTextColumn Width="80" Binding="{Binding Name,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False" >
  1158. <DataGridTextColumn.HeaderTemplate >
  1159. <DataTemplate>
  1160. <TextBlock Text="Name" />
  1161. </DataTemplate>
  1162. </DataGridTextColumn.HeaderTemplate>
  1163. <DataGridTextColumn.CellStyle>
  1164. <Style TargetType="DataGridCell">
  1165. <Setter Property="ToolTip" Value="{Binding Name}" />
  1166. </Style>
  1167. </DataGridTextColumn.CellStyle>
  1168. </DataGridTextColumn>
  1169. <DataGridTextColumn Width="155" Binding="{Binding Time,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False" >
  1170. <DataGridTextColumn.HeaderTemplate >
  1171. <DataTemplate>
  1172. <TextBlock Text="StartTime" />
  1173. </DataTemplate>
  1174. </DataGridTextColumn.HeaderTemplate>
  1175. <DataGridTextColumn.CellStyle>
  1176. <Style TargetType="DataGridCell">
  1177. <Setter Property="ToolTip" Value="{Binding Time}" />
  1178. </Style>
  1179. </DataGridTextColumn.CellStyle>
  1180. </DataGridTextColumn>
  1181. <DataGridTextColumn Width="100" Binding="{Binding Setpoint,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
  1182. <DataGridTextColumn.HeaderTemplate >
  1183. <DataTemplate>
  1184. <TextBlock Text="Setpoint" />
  1185. </DataTemplate>
  1186. </DataGridTextColumn.HeaderTemplate>
  1187. <DataGridTextColumn.CellStyle>
  1188. <Style TargetType="DataGridCell">
  1189. <Setter Property="ToolTip" Value="{Binding Setpoint}" />
  1190. </Style>
  1191. </DataGridTextColumn.CellStyle>
  1192. </DataGridTextColumn>
  1193. <DataGridTextColumn Width="100" Binding="{Binding Calculate,Mode=OneWay, StringFormat={}{0:F1}}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
  1194. <DataGridTextColumn.HeaderTemplate >
  1195. <DataTemplate>
  1196. <TextBlock Text="Calculate" />
  1197. </DataTemplate>
  1198. </DataGridTextColumn.HeaderTemplate>
  1199. <DataGridTextColumn.CellStyle>
  1200. <Style TargetType="DataGridCell">
  1201. <Setter Property="ToolTip" Value="{Binding Calculate, StringFormat={}{0:F1}}" />
  1202. </Style>
  1203. </DataGridTextColumn.CellStyle>
  1204. </DataGridTextColumn>
  1205. <DataGridTextColumn Width="100" Binding="{Binding Percent10Setpoint,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
  1206. <DataGridTextColumn.HeaderTemplate >
  1207. <DataTemplate>
  1208. <TextBlock Text="10%Setpoint" />
  1209. </DataTemplate>
  1210. </DataGridTextColumn.HeaderTemplate>
  1211. <DataGridTextColumn.CellStyle>
  1212. <Style TargetType="DataGridCell">
  1213. <Setter Property="ToolTip" Value="{Binding Percent10Setpoint}" />
  1214. </Style>
  1215. </DataGridTextColumn.CellStyle>
  1216. </DataGridTextColumn>
  1217. <DataGridTextColumn Width="100" Binding="{Binding Percent10Calculate,Mode=OneWay, StringFormat={}{0:F1}}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
  1218. <DataGridTextColumn.HeaderTemplate >
  1219. <DataTemplate>
  1220. <TextBlock Text="10%Calculate" />
  1221. </DataTemplate>
  1222. </DataGridTextColumn.HeaderTemplate>
  1223. <DataGridTextColumn.CellStyle>
  1224. <Style TargetType="DataGridCell">
  1225. <Setter Property="ToolTip" Value="{Binding Percent10Calculate, StringFormat={}{0:F1}}" />
  1226. </Style>
  1227. </DataGridTextColumn.CellStyle>
  1228. </DataGridTextColumn>
  1229. <DataGridTextColumn Width="100" Binding="{Binding Percent20Setpoint,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
  1230. <DataGridTextColumn.HeaderTemplate >
  1231. <DataTemplate>
  1232. <TextBlock Text="20%Setpoint" />
  1233. </DataTemplate>
  1234. </DataGridTextColumn.HeaderTemplate>
  1235. <DataGridTextColumn.CellStyle>
  1236. <Style TargetType="DataGridCell">
  1237. <Setter Property="ToolTip" Value="{Binding Percent20Setpoint}" />
  1238. </Style>
  1239. </DataGridTextColumn.CellStyle>
  1240. </DataGridTextColumn>
  1241. <DataGridTextColumn Width="100" Binding="{Binding Percent20Calculate,Mode=OneWay, StringFormat={}{0:F1}}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
  1242. <DataGridTextColumn.HeaderTemplate >
  1243. <DataTemplate>
  1244. <TextBlock Text="20%Calculate" />
  1245. </DataTemplate>
  1246. </DataGridTextColumn.HeaderTemplate>
  1247. <DataGridTextColumn.CellStyle>
  1248. <Style TargetType="DataGridCell">
  1249. <Setter Property="ToolTip" Value="{Binding Percent20Calculate, StringFormat={}{0:F1}}" />
  1250. </Style>
  1251. </DataGridTextColumn.CellStyle>
  1252. </DataGridTextColumn>
  1253. <DataGridTextColumn Width="100" Binding="{Binding Percent30Setpoint,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
  1254. <DataGridTextColumn.HeaderTemplate >
  1255. <DataTemplate>
  1256. <TextBlock Text="30%Setpoint" />
  1257. </DataTemplate>
  1258. </DataGridTextColumn.HeaderTemplate>
  1259. <DataGridTextColumn.CellStyle>
  1260. <Style TargetType="DataGridCell">
  1261. <Setter Property="ToolTip" Value="{Binding Percent30Setpoint}" />
  1262. </Style>
  1263. </DataGridTextColumn.CellStyle>
  1264. </DataGridTextColumn>
  1265. <DataGridTextColumn Width="100" Binding="{Binding Percent30Calculate,Mode=OneWay, StringFormat={}{0:F1}}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
  1266. <DataGridTextColumn.HeaderTemplate >
  1267. <DataTemplate>
  1268. <TextBlock Text="30%Calculate" />
  1269. </DataTemplate>
  1270. </DataGridTextColumn.HeaderTemplate>
  1271. <DataGridTextColumn.CellStyle>
  1272. <Style TargetType="DataGridCell">
  1273. <Setter Property="ToolTip" Value="{Binding Percent30Calculate, StringFormat={}{0:F1}}" />
  1274. </Style>
  1275. </DataGridTextColumn.CellStyle>
  1276. </DataGridTextColumn>
  1277. <DataGridTextColumn Width="100" Binding="{Binding Percent40Setpoint,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
  1278. <DataGridTextColumn.HeaderTemplate >
  1279. <DataTemplate>
  1280. <TextBlock Text="40%Setpoint" />
  1281. </DataTemplate>
  1282. </DataGridTextColumn.HeaderTemplate>
  1283. <DataGridTextColumn.CellStyle>
  1284. <Style TargetType="DataGridCell">
  1285. <Setter Property="ToolTip" Value="{Binding Percent40Setpoint}" />
  1286. </Style>
  1287. </DataGridTextColumn.CellStyle>
  1288. </DataGridTextColumn>
  1289. <DataGridTextColumn Width="100" Binding="{Binding Percent40Calculate,Mode=OneWay, StringFormat={}{0:F1}}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
  1290. <DataGridTextColumn.HeaderTemplate >
  1291. <DataTemplate>
  1292. <TextBlock Text="40%Calculate" />
  1293. </DataTemplate>
  1294. </DataGridTextColumn.HeaderTemplate>
  1295. <DataGridTextColumn.CellStyle>
  1296. <Style TargetType="DataGridCell">
  1297. <Setter Property="ToolTip" Value="{Binding Percent40Calculate, StringFormat={}{0:F1}}" />
  1298. </Style>
  1299. </DataGridTextColumn.CellStyle>
  1300. </DataGridTextColumn>
  1301. <DataGridTextColumn Width="100" Binding="{Binding Percent50Setpoint,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
  1302. <DataGridTextColumn.HeaderTemplate >
  1303. <DataTemplate>
  1304. <TextBlock Text="50%Setpoint" />
  1305. </DataTemplate>
  1306. </DataGridTextColumn.HeaderTemplate>
  1307. <DataGridTextColumn.CellStyle>
  1308. <Style TargetType="DataGridCell">
  1309. <Setter Property="ToolTip" Value="{Binding Percent50Setpoint}" />
  1310. </Style>
  1311. </DataGridTextColumn.CellStyle>
  1312. </DataGridTextColumn>
  1313. <DataGridTextColumn Width="100" Binding="{Binding Percent50Calculate,Mode=OneWay, StringFormat={}{0:F1}}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
  1314. <DataGridTextColumn.HeaderTemplate >
  1315. <DataTemplate>
  1316. <TextBlock Text="50%Calculate" />
  1317. </DataTemplate>
  1318. </DataGridTextColumn.HeaderTemplate>
  1319. <DataGridTextColumn.CellStyle>
  1320. <Style TargetType="DataGridCell">
  1321. <Setter Property="ToolTip" Value="{Binding Percent50Calculate, StringFormat={}{0:F1}}" />
  1322. </Style>
  1323. </DataGridTextColumn.CellStyle>
  1324. </DataGridTextColumn>
  1325. <DataGridTextColumn Width="100" Binding="{Binding Percent60Setpoint,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
  1326. <DataGridTextColumn.HeaderTemplate >
  1327. <DataTemplate>
  1328. <TextBlock Text="60%Setpoint" />
  1329. </DataTemplate>
  1330. </DataGridTextColumn.HeaderTemplate>
  1331. <DataGridTextColumn.CellStyle>
  1332. <Style TargetType="DataGridCell">
  1333. <Setter Property="ToolTip" Value="{Binding Percent60Setpoint}" />
  1334. </Style>
  1335. </DataGridTextColumn.CellStyle>
  1336. </DataGridTextColumn>
  1337. <DataGridTextColumn Width="100" Binding="{Binding Percent60Calculate,Mode=OneWay, StringFormat={}{0:F1}}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
  1338. <DataGridTextColumn.HeaderTemplate >
  1339. <DataTemplate>
  1340. <TextBlock Text="60%Calculate" />
  1341. </DataTemplate>
  1342. </DataGridTextColumn.HeaderTemplate>
  1343. <DataGridTextColumn.CellStyle>
  1344. <Style TargetType="DataGridCell">
  1345. <Setter Property="ToolTip" Value="{Binding Percent60Calculate, StringFormat={}{0:F1}}" />
  1346. </Style>
  1347. </DataGridTextColumn.CellStyle>
  1348. </DataGridTextColumn>
  1349. <DataGridTextColumn Width="100" Binding="{Binding Percent70Setpoint,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
  1350. <DataGridTextColumn.HeaderTemplate >
  1351. <DataTemplate>
  1352. <TextBlock Text="70%Setpoint" />
  1353. </DataTemplate>
  1354. </DataGridTextColumn.HeaderTemplate>
  1355. <DataGridTextColumn.CellStyle>
  1356. <Style TargetType="DataGridCell">
  1357. <Setter Property="ToolTip" Value="{Binding Percent70Setpoint}" />
  1358. </Style>
  1359. </DataGridTextColumn.CellStyle>
  1360. </DataGridTextColumn>
  1361. <DataGridTextColumn Width="100" Binding="{Binding Percent70Calculate,Mode=OneWay, StringFormat={}{0:F1}}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
  1362. <DataGridTextColumn.HeaderTemplate >
  1363. <DataTemplate>
  1364. <TextBlock Text="70%Calculate" />
  1365. </DataTemplate>
  1366. </DataGridTextColumn.HeaderTemplate>
  1367. <DataGridTextColumn.CellStyle>
  1368. <Style TargetType="DataGridCell">
  1369. <Setter Property="ToolTip" Value="{Binding Percent70Calculate, StringFormat={}{0:F1}}" />
  1370. </Style>
  1371. </DataGridTextColumn.CellStyle>
  1372. </DataGridTextColumn>
  1373. <DataGridTextColumn Width="100" Binding="{Binding Percent80Setpoint,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
  1374. <DataGridTextColumn.HeaderTemplate >
  1375. <DataTemplate>
  1376. <TextBlock Text="80%Setpoint" />
  1377. </DataTemplate>
  1378. </DataGridTextColumn.HeaderTemplate>
  1379. <DataGridTextColumn.CellStyle>
  1380. <Style TargetType="DataGridCell">
  1381. <Setter Property="ToolTip" Value="{Binding Percent80Setpoint}" />
  1382. </Style>
  1383. </DataGridTextColumn.CellStyle>
  1384. </DataGridTextColumn>
  1385. <DataGridTextColumn Width="100" Binding="{Binding Percent80Calculate,Mode=OneWay, StringFormat={}{0:F1}}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
  1386. <DataGridTextColumn.HeaderTemplate >
  1387. <DataTemplate>
  1388. <TextBlock Text="80%Calculate" />
  1389. </DataTemplate>
  1390. </DataGridTextColumn.HeaderTemplate>
  1391. <DataGridTextColumn.CellStyle>
  1392. <Style TargetType="DataGridCell">
  1393. <Setter Property="ToolTip" Value="{Binding Percent80Calculate, StringFormat={}{0:F1}}" />
  1394. </Style>
  1395. </DataGridTextColumn.CellStyle>
  1396. </DataGridTextColumn>
  1397. <DataGridTextColumn Width="100" Binding="{Binding Percent90Setpoint,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
  1398. <DataGridTextColumn.HeaderTemplate >
  1399. <DataTemplate>
  1400. <TextBlock Text="90%Setpoint" />
  1401. </DataTemplate>
  1402. </DataGridTextColumn.HeaderTemplate>
  1403. <DataGridTextColumn.CellStyle>
  1404. <Style TargetType="DataGridCell">
  1405. <Setter Property="ToolTip" Value="{Binding Percent90Setpoint}" />
  1406. </Style>
  1407. </DataGridTextColumn.CellStyle>
  1408. </DataGridTextColumn>
  1409. <DataGridTextColumn Width="100" Binding="{Binding Percent90Calculate,Mode=OneWay, StringFormat={}{0:F1}}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
  1410. <DataGridTextColumn.HeaderTemplate >
  1411. <DataTemplate>
  1412. <TextBlock Text="90%Calculate" />
  1413. </DataTemplate>
  1414. </DataGridTextColumn.HeaderTemplate>
  1415. <DataGridTextColumn.CellStyle>
  1416. <Style TargetType="DataGridCell">
  1417. <Setter Property="ToolTip" Value="{Binding Percent90Calculate, StringFormat={}{0:F1}}" />
  1418. </Style>
  1419. </DataGridTextColumn.CellStyle>
  1420. </DataGridTextColumn>
  1421. <DataGridTextColumn Width="100" Binding="{Binding Percent100Setpoint,Mode=OneWay}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
  1422. <DataGridTextColumn.HeaderTemplate >
  1423. <DataTemplate>
  1424. <TextBlock Text="100%Setpoint" />
  1425. </DataTemplate>
  1426. </DataGridTextColumn.HeaderTemplate>
  1427. <DataGridTextColumn.CellStyle>
  1428. <Style TargetType="DataGridCell">
  1429. <Setter Property="ToolTip" Value="{Binding Percent100Setpoint}" />
  1430. </Style>
  1431. </DataGridTextColumn.CellStyle>
  1432. </DataGridTextColumn>
  1433. <DataGridTextColumn Width="100" Binding="{Binding Percent100Calculate,Mode=OneWay, StringFormat={}{0:F1}}" CanUserSort="True" CanUserReorder="False" IsReadOnly="True" CanUserResize="False">
  1434. <DataGridTextColumn.HeaderTemplate >
  1435. <DataTemplate>
  1436. <TextBlock Text="100%Calculate" />
  1437. </DataTemplate>
  1438. </DataGridTextColumn.HeaderTemplate>
  1439. <DataGridTextColumn.CellStyle>
  1440. <Style TargetType="DataGridCell">
  1441. <Setter Property="ToolTip" Value="{Binding Percent100Calculate, StringFormat={}{0:F1}}" />
  1442. </Style>
  1443. </DataGridTextColumn.CellStyle>
  1444. </DataGridTextColumn>
  1445. </DataGrid.Columns>
  1446. </DataGrid>
  1447. </ScrollViewer>
  1448. </Grid>
  1449. <Grid Visibility="{Binding MFCQueryVisibility}" Margin="0,10,0,0">
  1450. <Grid.RowDefinitions>
  1451. <RowDefinition></RowDefinition>
  1452. <RowDefinition Height="30"></RowDefinition>
  1453. </Grid.RowDefinitions>
  1454. <Grid.ColumnDefinitions>
  1455. <ColumnDefinition Width="Auto"></ColumnDefinition>
  1456. <ColumnDefinition Width="364"></ColumnDefinition>
  1457. </Grid.ColumnDefinitions>
  1458. <Grid Width="1545" Grid.Column="0">
  1459. <sciChart:SciChartSurface Name="sciChart" RenderableSeries="{Binding SelectedData}"
  1460. sciChart:ThemeManager.Theme="ExpressionLight"
  1461. Padding="0,0,0,0"
  1462. DebugWhyDoesntSciChartRender="False" BorderBrush="Gray" Focusable="False" IsTabStop="False" Margin="5,0,0,0" Visibility="Hidden">
  1463. <sciChart:SciChartSurface.Resources>
  1464. <!-- This is the style for the control that hosts the Axis Label -->
  1465. <Style x:Key="CursorModAxisLabelStyle" TargetType="sciChart:AxisLabelControl">
  1466. <Setter Property="Background" Value="#AAFF6600" />
  1467. <Setter Property="BorderBrush" Value="#FFFF6600" />
  1468. <Setter Property="BorderThickness" Value="1" />
  1469. <Setter Property="Foreground" Value="White" />
  1470. <Setter Property="FontSize" Value="25" />
  1471. </Style>
  1472. <Style x:Key="CursorTooltipStyle" TargetType="sciChart:CursorLabelControl">
  1473. <Setter Property="Template">
  1474. <Setter.Value>
  1475. <ControlTemplate TargetType="sciChart:CursorLabelControl">
  1476. <Border Background="#AAFF6600"
  1477. BorderBrush="#FFFF6600"
  1478. BorderThickness="2"
  1479. Opacity="0.7"
  1480. Padding="2.5">
  1481. <!--<ItemsControl ItemsSource="{Binding DataContext.SeriesData.SeriesInfo, RelativeSource={RelativeSource TemplatedParent}}">
  1482. <ItemsControl.ItemTemplate>
  1483. <DataTemplate DataType="s:SeriesInfo">
  1484. <ContentControl Content="{Binding}" ContentTemplate="{Binding Path=RenderableSeries.(s:CursorModifier.TooltipTemplate)}" />
  1485. </DataTemplate>
  1486. </ItemsControl.ItemTemplate>
  1487. </ItemsControl>-->
  1488. </Border>
  1489. </ControlTemplate>
  1490. </Setter.Value>
  1491. </Setter>
  1492. </Style>
  1493. </sciChart:SciChartSurface.Resources>
  1494. <sciChart:SciChartSurface.XAxis>
  1495. <sciChart:NumericAxis DrawMinorTicks="True"
  1496. DrawMinorGridLines="True"
  1497. sciChart:CursorModifier.AxisLabelContainerStyle="{StaticResource CursorModAxisLabelStyle}"
  1498. AxisAlignment="Bottom"
  1499. AutoRange="{Binding AutoRangeX}"
  1500. VisibleRange="{Binding XValueRange, Mode=TwoWay}"
  1501. Id="DefaultAxisId">
  1502. <sciChart:NumericAxis.GrowBy>
  1503. <sciChart:DoubleRange Min="0.1" Max="0.1"/>
  1504. </sciChart:NumericAxis.GrowBy>
  1505. </sciChart:NumericAxis>
  1506. </sciChart:SciChartSurface.XAxis>
  1507. <!-- Create a Y Axis -->
  1508. <sciChart:SciChartSurface.YAxis>
  1509. <sciChart:NumericAxis DrawMinorTicks="True"
  1510. DrawMinorGridLines="True"
  1511. AxisAlignment="Left"
  1512. AutoRange="{Binding AutoRangeY}"
  1513. VisibleRange="{Binding YValueRange, Mode=TwoWay}"
  1514. Id="DefaultAxisId">
  1515. <sciChart:NumericAxis.GrowBy>
  1516. <sciChart:DoubleRange Min="0.1" Max="0.1"/>
  1517. </sciChart:NumericAxis.GrowBy>
  1518. </sciChart:NumericAxis>
  1519. </sciChart:SciChartSurface.YAxis>
  1520. <sciChart:SciChartSurface.ChartModifier>
  1521. <sciChart:ModifierGroup ExecuteOn="MouseDoubleClick">
  1522. <sciChart:RubberBandXyZoomModifier x:Name="rubberBandZoomModifier" IsEnabled="True"
  1523. IsXAxisOnly="False"
  1524. ZoomExtentsY="False"
  1525. IsAnimated="True" ExecuteOn="MouseLeftButton" ReceiveHandledEvents="True" />
  1526. <sciChart:SeriesSelectionModifier ExecuteOn="MouseLeftButton" ReceiveHandledEvents="True">
  1527. <sciChart:SeriesSelectionModifier.SelectedSeriesStyle>
  1528. <Style TargetType="sciChart:BaseRenderableSeries">
  1529. <Setter Property="Stroke" Value="Red"/>
  1530. <Setter Property="StrokeThickness" Value="3"/>
  1531. <Setter Property="PointMarkerTemplate">
  1532. <Setter.Value>
  1533. <ControlTemplate>
  1534. <sciChart:EllipsePointMarker Width="7" Height="7" Fill="#FF00DC" Stroke="White"/>
  1535. </ControlTemplate>
  1536. </Setter.Value>
  1537. </Setter>
  1538. </Style>
  1539. </sciChart:SeriesSelectionModifier.SelectedSeriesStyle>
  1540. </sciChart:SeriesSelectionModifier>
  1541. <sciChart:ZoomExtentsModifier x:Name="zoomExtentsModifier" XyDirection="XYDirection" ReceiveHandledEvents="True" ExecuteOn="MouseDoubleClick"/>
  1542. <sciChart:CursorModifier IsEnabled="True" ShowTooltipOn="MouseOver"
  1543. ShowAxisLabels="True" SourceMode="AllSeries"
  1544. ShowTooltip="False" />
  1545. <!--自由平移-->
  1546. <sciChart:ZoomPanModifier x:Name="zoomPanModifier" ReceiveHandledEvents="True" IsEnabled="True" ClipModeX="None" XyDirection="XYDirection" ExecuteOn="MouseRightButton" ZoomExtentsY="False" />
  1547. <sciChart:LegendModifier ShowLegend="False" Orientation="Horizontal" Margin="10" HorizontalAlignment="Right"
  1548. LegendPlacement="Inside" GetLegendDataFor="AllSeries"
  1549. ShowVisibilityCheckboxes="False"/>
  1550. <sciChart:RolloverModifier x:Name="rolloverModifier"
  1551. UseInterpolation="False" FontSize="9" IsEnabled="True"
  1552. DrawVerticalLine="False" FontFamily="Arial,SimSun"
  1553. SnapsToDevicePixels="False"
  1554. ShowAxisLabels="False" />
  1555. <sciChart:MouseWheelZoomModifier x:Name="mouseWheelZoomModifier" XyDirection="XDirection"/>
  1556. </sciChart:ModifierGroup>
  1557. </sciChart:SciChartSurface.ChartModifier>
  1558. </sciChart:SciChartSurface>
  1559. </Grid>
  1560. <DataGrid Grid.Column="1" Margin="1,0,0,0"
  1561. AlternationCount="2" ColumnHeaderHeight="30"
  1562. ItemsSource="{Binding CalibrationErrorRate}" AutoGenerateColumns="False"
  1563. CanUserAddRows="False" CanUserResizeRows="False" CanUserResizeColumns="True" FontFamily="Arial" FontSize="12">
  1564. <DataGrid.Columns>
  1565. <DataGridTemplateColumn Header="Setpoint(sccm)" MinWidth="120">
  1566. <DataGridTemplateColumn.CellTemplate>
  1567. <DataTemplate>
  1568. <TextBlock Text="{Binding Setpoint}" Margin="5,0" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Left" VerticalAlignment="Center" />
  1569. </DataTemplate>
  1570. </DataGridTemplateColumn.CellTemplate>
  1571. </DataGridTemplateColumn>
  1572. <DataGridTemplateColumn Header="Calc Flow(sccm)" MinWidth="120">
  1573. <DataGridTemplateColumn.CellTemplate>
  1574. <DataTemplate>
  1575. <TextBlock Text="{Binding CalculateValue}" Margin="5,0" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Left" VerticalAlignment="Center" />
  1576. </DataTemplate>
  1577. </DataGridTemplateColumn.CellTemplate>
  1578. </DataGridTemplateColumn>
  1579. <DataGridTemplateColumn Header="Error Rate(%)" MinWidth="120">
  1580. <DataGridTemplateColumn.CellTemplate>
  1581. <DataTemplate>
  1582. <TextBlock Text="{Binding ErrorRate}" Margin="5,0" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Left" VerticalAlignment="Center" />
  1583. </DataTemplate>
  1584. </DataGridTemplateColumn.CellTemplate>
  1585. </DataGridTemplateColumn>
  1586. </DataGrid.Columns>
  1587. </DataGrid>
  1588. <Button Content="Back" Grid.Row="1" Width="50" Margin="477,5,214,3" Visibility="Hidden">
  1589. <i:Interaction.Triggers>
  1590. <i:EventTrigger EventName="Click">
  1591. <cal:ActionMessage MethodName="Back"/>
  1592. </i:EventTrigger>
  1593. </i:Interaction.Triggers>
  1594. </Button>
  1595. </Grid>
  1596. </Grid>
  1597. </UserControl>