OverVenusView.xaml 108 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261
  1. <UserControl x:Class="Venus_MainPages.Views.OverVenusView"
  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:Venus_MainPages.Views"
  7. mc:Ignorable="d"
  8. xmlns:prism="http://prismlibrary.com/"
  9. xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  10. prism:ViewModelLocator.AutoWireViewModel="True"
  11. xmlns:unity="clr-namespace:Venus_MainPages.Unity"
  12. xmlns:ctrls="clr-namespace:Venus_Themes.UserControls;assembly=Venus_Themes"
  13. xmlns:customControls="clr-namespace:Venus_Themes.CustomControls;assembly=Venus_Themes"
  14. xmlns:userControls="clr-namespace:Venus_Themes.UserControls;assembly=Venus_Themes"
  15. xmlns:converters="clr-namespace:Venus_Themes.Converters;assembly=Venus_Themes"
  16. xmlns:attach="clr-namespace:Venus_UI.Themes.Attach;assembly=Venus_Themes"
  17. xmlns:converters2="clr-namespace:Venus_MainPages.Converters"
  18. d:DesignHeight="1450" Width="1900"
  19. >
  20. <UserControl.Resources>
  21. <LinearGradientBrush x:Key="buttonBrush" StartPoint="0.5,0" EndPoint="0.5,1">
  22. <GradientStop Color="White" Offset="0.0" />
  23. <GradientStop Color="Gray" Offset="0.1" />
  24. <GradientStop Color="White" Offset="1" />
  25. </LinearGradientBrush>
  26. <converters:ToBoolMultiValueConverter x:Key="toBoolMultiValueConverter"/>
  27. <converters:ToBoolMultiValueConverter2 x:Key="toBoolMultiValueConverter2"/>
  28. <converters:ToBoolMultiValueConverter3 x:Key="toBoolMultiValueConverter3"/>
  29. <converters:ToBoolMultiValueConverter4 x:Key="toBoolMultiValueConverter4"/>
  30. <converters:BoolToColor x:Key="boolToColor"/>
  31. <converters:BoolToColor2 x:Key="boolToColor2"/>
  32. <converters:BoolToColor3 x:Key="boolToColor3"/>
  33. <converters:BoolToColor4 x:Key="boolToColor4"/>
  34. <converters:BoolToColor5 x:Key="boolToColor5"/>
  35. <converters:BoolToBool x:Key="BoolToBool"/>
  36. <converters2:HeaterToStringConverter x:Key="HeaterToStringConverter"/>
  37. <converters:BoolToVisibility2 x:Key="BoolToVisibility2"/>
  38. </UserControl.Resources>
  39. <Canvas>
  40. <Grid Canvas.Left="50" Canvas.Top="62">
  41. <Grid.RowDefinitions>
  42. <RowDefinition/>
  43. </Grid.RowDefinitions>
  44. <Grid.ColumnDefinitions>
  45. <ColumnDefinition Width="Auto"/>
  46. <ColumnDefinition Width="Auto"/>
  47. <ColumnDefinition Width="Auto"/>
  48. <ColumnDefinition Width="Auto"/>
  49. <ColumnDefinition Width="Auto"/>
  50. <ColumnDefinition Width="Auto"/>
  51. <ColumnDefinition Width="Auto"/>
  52. <ColumnDefinition Width="Auto"/>
  53. <ColumnDefinition Width="Auto"/>
  54. <ColumnDefinition Width="Auto"/>
  55. <ColumnDefinition Width="Auto"/>
  56. <ColumnDefinition Width="Auto"/>
  57. <ColumnDefinition Width="Auto"/>
  58. <ColumnDefinition Width="Auto"/>
  59. <ColumnDefinition Width="Auto"/>
  60. <ColumnDefinition Width="Auto"/>
  61. <ColumnDefinition Width="Auto"/>
  62. <ColumnDefinition Width="Auto"/>
  63. <ColumnDefinition Width="Auto"/>
  64. </Grid.ColumnDefinitions>
  65. <TextBlock Text="SRF Fan" Margin="5,0,5,0" Grid.Column="0" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center" />
  66. <Ellipse Grid.Column="1" Width="16" Height="16" Fill="{Binding SourceRFFanInterlock,Converter={StaticResource boolToColor4}}" Stroke="Silver" StrokeThickness="2"></Ellipse>
  67. <TextBlock Text="Wafer Leak" Margin="15,0,5,0" Grid.Column="2" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center" />
  68. <Ellipse Grid.Column="3" Width="16" Height="16" Fill="{Binding IsWLK,Converter={StaticResource boolToColor4}}" Stroke="Silver" StrokeThickness="2"></Ellipse>
  69. <TextBlock Text="Wafer Flow" Margin="15,0,5,0" Grid.Column="4" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center" />
  70. <Ellipse Grid.Column="5" Width="16" Height="16" Fill="{Binding IsWaterFlowOk,Converter={StaticResource boolToColor4}}" Stroke="Silver" StrokeThickness="2"></Ellipse>
  71. <TextBlock Text="TurboPump InterLock" Margin="15,0,5,0" Grid.Column="6" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center" />
  72. <Ellipse Grid.Column="7" Width="16" Height="16" Fill="{Binding IsTurboPumpInterlock,Converter={StaticResource boolToColor4}}" Stroke="Silver" StrokeThickness="2"></Ellipse>
  73. <TextBlock Text="CDA" Margin="15,0,5,0" Grid.Column="8" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center" />
  74. <Ellipse Grid.Column="9" Width="16" Height="16" Fill="{Binding IsCDAOK,Converter={StaticResource boolToColor4}}" Stroke="Silver" StrokeThickness="2" ></Ellipse>
  75. <TextBlock Text="Gas Box Door" Margin="15,0,5,0" Grid.Column="10" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center" />
  76. <Ellipse Grid.Column="11" Width="16" Height="16" Fill="{Binding SensorGasBoxDoor,Converter={StaticResource boolToColor4}}" Stroke="Silver" StrokeThickness="2"></Ellipse>
  77. <TextBlock Text="Gas Box Pressure" Margin="15,0,5,0" Grid.Column="12" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center" />
  78. <Ellipse Grid.Column="13" Width="16" Height="16" Fill="{Binding SensorGasBoxPressure,Converter={StaticResource boolToColor4}}" Stroke="Silver" StrokeThickness="2"></Ellipse>
  79. <TextBlock Text="TurboPump AtSpeed" Margin="15,0,5,0" Grid.Column="14" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center" />
  80. <Ellipse Grid.Column="15" Width="16" Height="16" Fill="{Binding IsTurboPumpAtSpeed,Converter={StaticResource boolToColor4}}" Stroke="Silver" StrokeThickness="2"></Ellipse>
  81. <!--<TextBlock Text="分子泵冷却水信号" Margin="15,0,5,0" Grid.Column="16" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center" />
  82. <Ellipse Grid.Column="17" Width="16" Height="16" Fill="{Binding TurboPumpWaterFlowSwitch,Converter={StaticResource boolToColor4}}" Stroke="Silver" StrokeThickness="2"></Ellipse>-->
  83. </Grid>
  84. <!--</Border>-->
  85. <Canvas Canvas.Top="40" >
  86. <ctrls:Pipe2 Canvas.Left="490" Canvas.Top="615" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="90" />
  87. <!--N2-->
  88. <ctrls:FlowPipe Name="N2Pipe2" Height="8" Width="230" Canvas.Left="255" Canvas.Top="120">
  89. <ctrls:FlowPipe.IsFlowing>
  90. <MultiBinding Converter="{StaticResource toBoolMultiValueConverter}">
  91. <Binding Path="PVN22ValveIsOpen"/>
  92. <Binding Path="N2ValveIsOpen"/>
  93. <Binding Path="GasFinalValveIsOpen"/>
  94. </MultiBinding>
  95. </ctrls:FlowPipe.IsFlowing>
  96. </ctrls:FlowPipe>
  97. <TextBlock Text="Vent Valve" Canvas.Left="416" Canvas.Top="90"/>
  98. <customControls:CommonValveControl Status="{Binding N2ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="436" Canvas.Top="114" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="10" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  99. <ctrls:FlowPipe x:Name="N2Pipe1" Height="8" Width="193" Canvas.Left="64" Canvas.Top="120">
  100. <ctrls:FlowPipe.IsFlowing>
  101. <MultiBinding Converter="{StaticResource toBoolMultiValueConverter3}">
  102. <Binding Path="PVN21ValveIsOpen"/>
  103. <Binding Path="PVN22ValveIsOpen"/>
  104. <Binding Path="N2ValveIsOpen"/>
  105. <Binding Path="GasFinalValveIsOpen"/>
  106. </MultiBinding>
  107. </ctrls:FlowPipe.IsFlowing>
  108. </ctrls:FlowPipe>
  109. <TextBlock Text="VN22" Canvas.Left="280" Canvas.Top="90"/>
  110. <customControls:CommonValveControl Status="{Binding PVN22ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="288" Canvas.Top="114" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="1" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  111. <ctrls:FlowPipe Height="8" Width="308" Canvas.Left="176" Canvas.Top="230" IsFlowing="{Binding MFC1ValveIsOpen}"/>
  112. <TextBlock Text="V1" Canvas.Left="438" Canvas.Top="208"/>
  113. <customControls:CommonValveControl Status="{Binding MFC1ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="436" Canvas.Top="224" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="11" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  114. <ctrls:FlowPipe Height="8" Width="114" Canvas.Left="64" Canvas.Top="230" IsFlowing="{Binding PV11ValveIsOpen}"/>
  115. <ctrls:FlowPipe Height="8" Width="80" Canvas.Left="177" Canvas.Top="266" IsFlowing="{Binding PV12ValveIsOpen}"/>
  116. <!--<ctrls:Pipe2 Canvas.Left="214" Canvas.Top="274" RotateTransformValue="-180"/>-->
  117. <ctrls:FlowPipe Height="8" Width="30" Canvas.Left="178" Canvas.Top="236" RotateTransformValue="90" IsFlowing="{Binding PV12ValveIsOpen}"/>
  118. <ctrls:Pipe2 Canvas.Left="183" Canvas.Top="274" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="-180" />
  119. <ctrls:FlowPipe Height="8" Width="145" Canvas.Left="257" Canvas.Top="126" RotateTransformValue="90" IsReverse="True">
  120. <ctrls:FlowPipe.IsFlowing>
  121. <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
  122. <Binding Path="PV12ValveIsOpen"/>
  123. <Binding Path="PV22ValveIsOpen"/>
  124. <Binding Path="PV32ValveIsOpen"/>
  125. <Binding Path="PV42ValveIsOpen"/>
  126. </MultiBinding>
  127. </ctrls:FlowPipe.IsFlowing>
  128. </ctrls:FlowPipe>
  129. <!--SF6-->
  130. <ctrls:FlowPipe Height="8" Width="310" Canvas.Left="174" Canvas.Top="286" IsFlowing="{Binding MFC2ValveIsOpen}"/>
  131. <TextBlock Text="V2" Canvas.Left="438" Canvas.Top="264"/>
  132. <customControls:CommonValveControl Status="{Binding MFC2ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="436" Canvas.Top="280" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="12" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  133. <ctrls:FlowPipe Height="8" Width="112" Canvas.Left="64" Canvas.Top="286" IsFlowing="{Binding PV21ValveIsOpen}"/>
  134. <ctrls:FlowPipe Height="8" Width="80" Canvas.Left="177" Canvas.Top="322" IsFlowing="{Binding PV22ValveIsOpen}"/>
  135. <ctrls:FlowPipe Height="8" Width="32" Canvas.Left="178" Canvas.Top="290" RotateTransformValue="90" IsFlowing="{Binding PV22ValveIsOpen}"/>
  136. <ctrls:Pipe2 Canvas.Left="183" Canvas.Top="330" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="-180" />
  137. <ctrls:FlowPipe Height="8" Width="55" Canvas.Left="257" Canvas.Top="270" RotateTransformValue="90" IsReverse="True" >
  138. <ctrls:FlowPipe.IsFlowing>
  139. <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
  140. <Binding Path="PV22ValveIsOpen"/>
  141. <Binding Path="PV32ValveIsOpen"/>
  142. <Binding Path="PV42ValveIsOpen"/>
  143. </MultiBinding>
  144. </ctrls:FlowPipe.IsFlowing>
  145. </ctrls:FlowPipe>
  146. <!--Gas3-->
  147. <ctrls:FlowPipe Height="8" Width="310" Canvas.Left="174" Canvas.Top="342" IsFlowing="{Binding MFC3ValveIsOpen}"/>
  148. <TextBlock Text="V3" Canvas.Left="438" Canvas.Top="320"/>
  149. <customControls:CommonValveControl Status="{Binding MFC3ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="436" Canvas.Top="336" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="13" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  150. <ctrls:FlowPipe Height="8" Width="112" Canvas.Left="64" Canvas.Top="342" IsFlowing="{Binding PV31ValveIsOpen}"/>
  151. <ctrls:FlowPipe Height="8" Width="80" Canvas.Left="177" Canvas.Top="378" IsFlowing="{Binding PV32ValveIsOpen}"/>
  152. <ctrls:FlowPipe Height="8" Width="30" Canvas.Left="178" Canvas.Top="348" RotateTransformValue="90" IsFlowing="{Binding PV32ValveIsOpen}"/>
  153. <ctrls:Pipe2 Canvas.Left="183" Canvas.Top="386" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="-180" />
  154. <ctrls:FlowPipe Height="8" Width="57" Canvas.Left="257" Canvas.Top="324" RotateTransformValue="90" IsReverse="True" >
  155. <ctrls:FlowPipe.IsFlowing>
  156. <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
  157. <Binding Path="PV32ValveIsOpen"/>
  158. <Binding Path="PV42ValveIsOpen"/>
  159. </MultiBinding>
  160. </ctrls:FlowPipe.IsFlowing>
  161. </ctrls:FlowPipe>
  162. <!--Gas4-->
  163. <ctrls:FlowPipe Height="8" Width="112" Canvas.Left="64" Canvas.Top="396" IsFlowing="{Binding PV41ValveIsOpen}"/>
  164. <ctrls:FlowPipe Height="8" Width="76" Canvas.Left="175" Canvas.Top="428" IsFlowing="{Binding PV42ValveIsOpen}"/>
  165. <ctrls:FlowPipe Height="8" Width="310" Canvas.Left="174" Canvas.Top="396" IsFlowing="{Binding MFC4ValveIsOpen}"/>
  166. <TextBlock Text="V4" Canvas.Left="438" Canvas.Top="374"/>
  167. <customControls:CommonValveControl Status="{Binding MFC4ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="436" Canvas.Top="390" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="14" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  168. <ctrls:FlowPipe Height="8" Width="50" Canvas.Left="257" Canvas.Top="380" RotateTransformValue="90" IsReverse="True">
  169. <ctrls:FlowPipe.IsFlowing>
  170. <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
  171. <Binding Path="PV42ValveIsOpen"/>
  172. </MultiBinding>
  173. </ctrls:FlowPipe.IsFlowing>
  174. </ctrls:FlowPipe>
  175. <ctrls:Pipe2 Canvas.Left="257" Canvas.Top="423" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="90" />
  176. <ctrls:FlowPipe Height="8" Width="30" Canvas.Left="178" Canvas.Top="401" RotateTransformValue="90" IsFlowing="{Binding PV42ValveIsOpen}"/>
  177. <ctrls:Pipe2 Canvas.Left="183" Canvas.Top="436" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="-180" />
  178. <!--Gas5-->
  179. <ctrls:FlowPipe Height="8" Width="419" Canvas.Left="64" Canvas.Top="452" IsFlowing="{Binding MFC5ValveIsOpen}"/>
  180. <TextBlock Text="V5" Canvas.Left="438" Canvas.Top="430"/>
  181. <customControls:CommonValveControl Status="{Binding MFC5ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="436" Canvas.Top="446" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="15" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  182. <!--O2-->
  183. <ctrls:FlowPipe Height="8" Width="419" Canvas.Left="65" Canvas.Top="507" IsFlowing="{Binding MFC6ValveIsOpen}"/>
  184. <TextBlock Text="V6" Canvas.Left="438" Canvas.Top="485"/>
  185. <customControls:CommonValveControl Status="{Binding MFC6ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="436" Canvas.Top="501" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="16" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  186. <!--Gas7-->
  187. <ctrls:FlowPipe Height="8" Width="418" Canvas.Left="65" Canvas.Top="563" IsFlowing="{Binding MFC7ValveIsOpen}"/>
  188. <TextBlock Text="V7" Canvas.Left="438" Canvas.Top="541"/>
  189. <customControls:CommonValveControl Status="{Binding MFC7ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="436" Canvas.Top="557" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="17" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  190. <!--Gas8-->
  191. <ctrls:FlowPipe Height="8" Width="412" Canvas.Left="68" Canvas.Top="620" IsFlowing="{Binding MFC8ValveIsOpen}"/>
  192. <TextBlock Text="V8" Canvas.Left="438" Canvas.Top="598"/>
  193. <customControls:CommonValveControl Status="{Binding MFC8ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="436" Canvas.Top="614" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="18" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  194. <!--<TextBlock Text="Pressure Alarm" Canvas.Left="68" Canvas.Top="94"/>-->
  195. <Ellipse Width="20" Height="20" Canvas.Left="90" Canvas.Top="114" Fill="{Binding MFCN2Data.IsWarning,Converter={StaticResource boolToColor4}}" Stroke="Silver" StrokeThickness="2" ToolTip="Pressure Alarm"></Ellipse>
  196. <Ellipse Width="20" Height="20" Canvas.Left="90" Canvas.Top="224" Fill="{Binding MFC1Data.IsWarning,Converter={StaticResource boolToColor4}}" Stroke="Silver" StrokeThickness="2" ToolTip="Pressure Alarm"></Ellipse>
  197. <Ellipse Width="20" Height="20" Canvas.Left="90" Canvas.Top="280" Fill="{Binding MFC2Data.IsWarning,Converter={StaticResource boolToColor4}}" Stroke="Silver" StrokeThickness="2" ToolTip="Pressure Alarm"></Ellipse>
  198. <Ellipse Width="20" Height="20" Canvas.Left="90" Canvas.Top="336" Fill="{Binding MFC3Data.IsWarning,Converter={StaticResource boolToColor4}}" Stroke="Silver" StrokeThickness="2" ToolTip="Pressure Alarm"></Ellipse>
  199. <Ellipse Width="20" Height="20" Canvas.Left="90" Canvas.Top="390" Fill="{Binding MFC4Data.IsWarning,Converter={StaticResource boolToColor4}}" Stroke="Silver" StrokeThickness="2" ToolTip="Pressure Alarm"></Ellipse>
  200. <Ellipse Width="20" Height="20" Canvas.Left="90" Canvas.Top="446" Fill="{Binding MFC5Data.IsWarning,Converter={StaticResource boolToColor4}}" Stroke="Silver" StrokeThickness="2" ToolTip="Pressure Alarm"></Ellipse>
  201. <Ellipse Width="20" Height="20" Canvas.Left="90" Canvas.Top="501" Fill="{Binding MFC6Data.IsWarning,Converter={StaticResource boolToColor4}}" Stroke="Silver" StrokeThickness="2" ToolTip="Pressure Alarm"></Ellipse>
  202. <Ellipse Width="20" Height="20" Canvas.Left="90" Canvas.Top="557" Fill="{Binding MFC7Data.IsWarning,Converter={StaticResource boolToColor4}}" Stroke="Silver" StrokeThickness="2" ToolTip="Pressure Alarm"></Ellipse>
  203. <Ellipse Width="20" Height="20" Canvas.Left="90" Canvas.Top="614" Fill="{Binding MFC8Data.IsWarning,Converter={StaticResource boolToColor4}}" Stroke="Silver" StrokeThickness="2" ToolTip="Pressure Alarm"></Ellipse>
  204. <!--与chamber上方连接的管道-->
  205. <ctrls:FlowPipe Height="8" Width="520" Canvas.Left="482" Canvas.Top="120">
  206. <ctrls:FlowPipe.IsFlowing>
  207. <MultiBinding Converter="{StaticResource toBoolMultiValueConverter4}">
  208. <Binding Path="GasFinalValveIsOpen"/>
  209. <Binding Path="N2ValveIsOpen"/>
  210. <Binding Path="PV11ValveIsOpen"/>
  211. <Binding Path="PV21ValveIsOpen"/>
  212. <Binding Path="PV31ValveIsOpen"/>
  213. <Binding Path="PV41ValveIsOpen"/>
  214. <Binding Path="MFC5ValveIsOpen"/>
  215. <Binding Path="MFC6ValveIsOpen"/>
  216. <Binding Path="MFC7ValveIsOpen"/>
  217. <Binding Path="MFC8ValveIsOpen"/>
  218. </MultiBinding>
  219. </ctrls:FlowPipe.IsFlowing>
  220. </ctrls:FlowPipe>
  221. <TextBlock Text="Gas Final" Canvas.Left="900" Canvas.Top="90" FontSize="15"/>
  222. <customControls:CommonValveControl Status="{Binding GasFinalValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="922" Canvas.Top="114" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="21" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  223. <ctrls:Pipe2 Canvas.Left="1000" Canvas.Top="120" HorizontalAlignment="Left" VerticalAlignment="Top" />
  224. <ctrls:FlowPipe Name="l8" Height="8" Width="56" Canvas.Left="490" Canvas.Top="126" RotateTransformValue="90" IsReverse="True">
  225. <ctrls:FlowPipe.IsFlowing>
  226. <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
  227. <Binding Path="MFC1ValveIsOpen"/>
  228. <Binding Path="MFC2ValveIsOpen"/>
  229. <Binding Path="MFC3ValveIsOpen"/>
  230. <Binding Path="MFC4ValveIsOpen"/>
  231. <Binding Path="MFC5ValveIsOpen"/>
  232. <Binding Path="MFC6ValveIsOpen"/>
  233. <Binding Path="MFC7ValveIsOpen"/>
  234. <Binding Path="MFC8ValveIsOpen"/>
  235. </MultiBinding>
  236. </ctrls:FlowPipe.IsFlowing>
  237. </ctrls:FlowPipe>
  238. <ctrls:FlowPipe Height="8" Width="56" Canvas.Left="490" Canvas.Top="180" RotateTransformValue="90" IsReverse="True">
  239. <ctrls:FlowPipe.IsFlowing>
  240. <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
  241. <Binding Path="MFC1ValveIsOpen"/>
  242. <Binding Path="MFC2ValveIsOpen"/>
  243. <Binding Path="MFC3ValveIsOpen"/>
  244. <Binding Path="MFC4ValveIsOpen"/>
  245. <Binding Path="MFC5ValveIsOpen"/>
  246. <Binding Path="MFC6ValveIsOpen"/>
  247. <Binding Path="MFC7ValveIsOpen"/>
  248. <Binding Path="MFC8ValveIsOpen"/>
  249. </MultiBinding>
  250. </ctrls:FlowPipe.IsFlowing>
  251. </ctrls:FlowPipe>
  252. <ctrls:FlowPipe Height="8" Width="58" Canvas.Left="490" Canvas.Top="234" RotateTransformValue="90" IsReverse="True">
  253. <ctrls:FlowPipe.IsFlowing>
  254. <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
  255. <Binding Path="MFC2ValveIsOpen"/>
  256. <Binding Path="MFC3ValveIsOpen"/>
  257. <Binding Path="MFC4ValveIsOpen"/>
  258. <Binding Path="MFC5ValveIsOpen"/>
  259. <Binding Path="MFC6ValveIsOpen"/>
  260. <Binding Path="MFC7ValveIsOpen"/>
  261. <Binding Path="MFC8ValveIsOpen"/>
  262. </MultiBinding>
  263. </ctrls:FlowPipe.IsFlowing>
  264. </ctrls:FlowPipe>
  265. <ctrls:FlowPipe Height="8" Width="56" Canvas.Left="490" Canvas.Top="290" RotateTransformValue="90" IsReverse="True">
  266. <ctrls:FlowPipe.IsFlowing>
  267. <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
  268. <Binding Path="MFC3ValveIsOpen"/>
  269. <Binding Path="MFC4ValveIsOpen"/>
  270. <Binding Path="MFC5ValveIsOpen"/>
  271. <Binding Path="MFC6ValveIsOpen"/>
  272. <Binding Path="MFC7ValveIsOpen"/>
  273. <Binding Path="MFC8ValveIsOpen"/>
  274. </MultiBinding>
  275. </ctrls:FlowPipe.IsFlowing>
  276. </ctrls:FlowPipe>
  277. <ctrls:FlowPipe Height="8" Width="58" Canvas.Left="490" Canvas.Top="344" RotateTransformValue="90" IsReverse="True">
  278. <ctrls:FlowPipe.IsFlowing>
  279. <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
  280. <Binding Path="MFC4ValveIsOpen"/>
  281. <Binding Path="MFC5ValveIsOpen"/>
  282. <Binding Path="MFC6ValveIsOpen"/>
  283. <Binding Path="MFC7ValveIsOpen"/>
  284. <Binding Path="MFC8ValveIsOpen"/>
  285. </MultiBinding>
  286. </ctrls:FlowPipe.IsFlowing>
  287. </ctrls:FlowPipe>
  288. <ctrls:FlowPipe Height="8" Width="58" Canvas.Left="490" Canvas.Top="400" RotateTransformValue="90" IsReverse="True">
  289. <ctrls:FlowPipe.IsFlowing>
  290. <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
  291. <Binding Path="MFC5ValveIsOpen"/>
  292. <Binding Path="MFC6ValveIsOpen"/>
  293. <Binding Path="MFC7ValveIsOpen"/>
  294. <Binding Path="MFC8ValveIsOpen"/>
  295. </MultiBinding>
  296. </ctrls:FlowPipe.IsFlowing>
  297. </ctrls:FlowPipe>
  298. <ctrls:FlowPipe Height="8" Width="58" Canvas.Left="490" Canvas.Top="456" RotateTransformValue="90" IsReverse="True">
  299. <ctrls:FlowPipe.IsFlowing>
  300. <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
  301. <Binding Path="MFC6ValveIsOpen"/>
  302. <Binding Path="MFC7ValveIsOpen"/>
  303. <Binding Path="MFC8ValveIsOpen"/>
  304. </MultiBinding>
  305. </ctrls:FlowPipe.IsFlowing>
  306. </ctrls:FlowPipe>
  307. <ctrls:FlowPipe Height="8" Width="58" Canvas.Left="490" Canvas.Top="512" RotateTransformValue="90" IsReverse="True">
  308. <ctrls:FlowPipe.IsFlowing>
  309. <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
  310. <Binding Path="MFC7ValveIsOpen"/>
  311. <Binding Path="MFC8ValveIsOpen"/>
  312. </MultiBinding>
  313. </ctrls:FlowPipe.IsFlowing>
  314. </ctrls:FlowPipe>
  315. <ctrls:FlowPipe Height="8" Width="48" Canvas.Left="490" Canvas.Top="568" RotateTransformValue="90" IsReverse="True">
  316. <ctrls:FlowPipe.IsFlowing>
  317. <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
  318. <Binding Path="MFC8ValveIsOpen"/>
  319. </MultiBinding>
  320. </ctrls:FlowPipe.IsFlowing>
  321. </ctrls:FlowPipe>
  322. <ctrls:FlowPipe Height="8" Width="120" Canvas.Left="1013" Canvas.Top="129" RotateTransformValue="90">
  323. <ctrls:FlowPipe.IsFlowing>
  324. <MultiBinding Converter="{StaticResource toBoolMultiValueConverter4}">
  325. <Binding Path="GasFinalValveIsOpen"/>
  326. <Binding Path="N2ValveIsOpen"/>
  327. <Binding Path="PV11ValveIsOpen"/>
  328. <Binding Path="PV21ValveIsOpen"/>
  329. <Binding Path="PV31ValveIsOpen"/>
  330. <Binding Path="PV41ValveIsOpen"/>
  331. <Binding Path="MFC5ValveIsOpen"/>
  332. <Binding Path="MFC6ValveIsOpen"/>
  333. <Binding Path="MFC7ValveIsOpen"/>
  334. <Binding Path="MFC8ValveIsOpen"/>
  335. </MultiBinding>
  336. </ctrls:FlowPipe.IsFlowing>
  337. </ctrls:FlowPipe>
  338. <!--阀-->
  339. <TextBlock Text="V41" Canvas.Left="128" Canvas.Top="374"/>
  340. <customControls:CommonValveControl Status="{Binding PV41ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="127" Canvas.Top="390" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="8" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  341. <TextBlock Text="V31" Canvas.Left="128" Canvas.Top="320"/>
  342. <customControls:CommonValveControl Status="{Binding PV31ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="127" Canvas.Top="336" Tag="6" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  343. <TextBlock Text="V21" Canvas.Left="128" Canvas.Top="266"/>
  344. <customControls:CommonValveControl Status="{Binding PV21ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="127" Canvas.Top="280" Tag="4" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  345. <TextBlock Text="V11" Canvas.Left="128" Canvas.Top="208"/>
  346. <customControls:CommonValveControl Status="{Binding PV11ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="127" Canvas.Top="224" Tag="2" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  347. <TextBlock Text="V12" Canvas.Left="200" Canvas.Top="243"/>
  348. <customControls:CommonValveControl Status="{Binding PV12ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="200" Canvas.Top="259" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="3" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  349. <TextBlock Text="V22" Canvas.Left="200" Canvas.Top="300"/>
  350. <customControls:CommonValveControl Status="{Binding PV22ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="200" Canvas.Top="315" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="5" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  351. <TextBlock Text="V32" Canvas.Left="200" Canvas.Top="355"/>
  352. <customControls:CommonValveControl Status="{Binding PV32ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="200" Canvas.Top="371" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="7" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  353. <TextBlock Text="V42" Canvas.Left="200" Canvas.Top="405"/>
  354. <customControls:CommonValveControl Status="{Binding PV42ValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="200" Canvas.Top="421" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="9" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  355. <TextBlock Text="VN21" Canvas.Left="200" Canvas.Top="152"/>
  356. <customControls:CommonValveControl Status="{Binding PVN21ValveIsOpen,Mode=TwoWay}" ValveOrientation="Vertical" Height="20" Width="20" Canvas.Left="243" Canvas.Top="148" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="0" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  357. <!--左侧管道标签-->
  358. <ctrls:TextboxWithLabel TextBoxValue="{Binding MFC1SetPoint,Mode=TwoWay}" IsReadOnly="False" Canvas.Top="205" Canvas.Left="275" LabelValue="MFC1" ToolTip="{Binding MFC1Data.SetPoint,StringFormat='F1'}" TextBoxColor="White" MaxValue="{Binding MFC1Data.Scale}"/>
  359. <!--<TextBox Canvas.Top="205" Canvas.Left="250" Width="100" Text="{Binding MfcGas1Setpoint,Mode=TwoWay}"/>-->
  360. <ctrls:TextboxWithLabel Canvas.Top="205" Canvas.Left="345" LabelValue="Flow" TextBoxValue="{Binding MFC1Data.FeedBack,StringFormat='F1'}" TextBoxColor="#D7E4BD"/>
  361. <ctrls:TextboxWithLabel TextBoxValue="{Binding MFC2SetPoint,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" IsReadOnly="False" Canvas.Top="260" Canvas.Left="275" LabelValue="MFC2" ToolTip="{Binding MFC2Data.SetPoint,StringFormat='F1'}" TextBoxColor="White" MaxValue="{Binding MFC2Data.Scale}"/>
  362. <ctrls:TextboxWithLabel Canvas.Top="260" Canvas.Left="345" LabelValue="Flow" TextBoxValue="{Binding MFC2Data.FeedBack,StringFormat='F1'}" TextBoxColor="#D7E4BD"/>
  363. <ctrls:TextboxWithLabel TextBoxValue="{Binding MFC3SetPoint,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" IsReadOnly="False" Canvas.Top="318" Canvas.Left="275" LabelValue="MFC3" ToolTip="{Binding MFC3Data.SetPoint,StringFormat='F1'}" TextBoxColor="White" MaxValue="{Binding MFC3Data.Scale}"/>
  364. <ctrls:TextboxWithLabel Canvas.Top="318" Canvas.Left="345" LabelValue="Flow" TextBoxValue="{Binding MFC3Data.FeedBack,StringFormat='F1'}" TextBoxColor="#D7E4BD"/>
  365. <ctrls:TextboxWithLabel TextBoxValue="{Binding MFC4SetPoint,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" IsReadOnly="False" Canvas.Top="370" Canvas.Left="275" LabelValue="MFC4" ToolTip="{Binding MFC4Data.SetPoint,StringFormat='F1'}" TextBoxColor="White" MaxValue="{Binding MFC4Data.Scale}"/>
  366. <ctrls:TextboxWithLabel Canvas.Top="370" Canvas.Left="345" LabelValue="Flow" TextBoxValue="{Binding MFC4Data.FeedBack,StringFormat='F1'}" TextBoxColor="#D7E4BD"/>
  367. <ctrls:TextboxWithLabel TextBoxValue="{Binding MFC5SetPoint,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" IsReadOnly="False" Canvas.Top="426" Canvas.Left="275" LabelValue="MFC5" ToolTip="{Binding MFC5Data.SetPoint,StringFormat='F1'}" TextBoxColor="White" MaxValue="{Binding MFC5Data.Scale}"/>
  368. <ctrls:TextboxWithLabel Canvas.Top="426" Canvas.Left="345" LabelValue="Flow" TextBoxValue="{Binding MFC5Data.FeedBack,StringFormat='F1'}" TextBoxColor="#D7E4BD"/>
  369. <ctrls:TextboxWithLabel TextBoxValue="{Binding MFC6SetPoint,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" IsReadOnly="False" Canvas.Top="482" Canvas.Left="275" LabelValue="MFC6" ToolTip="{Binding MFC6Data.SetPoint,StringFormat='F1'}" TextBoxColor="White" MaxValue="{Binding MFC6Data.Scale}"/>
  370. <ctrls:TextboxWithLabel Canvas.Top="482" Canvas.Left="345" LabelValue="Flow" TextBoxValue="{Binding MFC6Data.FeedBack,StringFormat='F1'}" TextBoxColor="#D7E4BD"/>
  371. <ctrls:TextboxWithLabel TextBoxValue="{Binding MFC7SetPoint,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" IsReadOnly="False" Canvas.Top="538" Canvas.Left="275" LabelValue="MFC7" ToolTip="{Binding MFC7Data.SetPoint,StringFormat='F1'}" TextBoxColor="White" MaxValue="{Binding MFC7Data.Scale}"/>
  372. <ctrls:TextboxWithLabel Canvas.Top="538" Canvas.Left="345" LabelValue="Flow" TextBoxValue="{Binding MFC7Data.FeedBack,StringFormat='F1'}" TextBoxColor="#D7E4BD"/>
  373. <ctrls:TextboxWithLabel TextBoxValue="{Binding MFC8SetPoint,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" IsReadOnly="False" Canvas.Top="595" Canvas.Left="275" LabelValue="MFC8" ToolTip="{Binding MFC8Data.SetPoint,StringFormat='F1'}" TextBoxColor="White" MaxValue="{Binding MFC8Data.Scale}"/>
  374. <ctrls:TextboxWithLabel Canvas.Top="595" Canvas.Left="345" LabelValue="Flow" TextBoxValue="{Binding MFC8Data.FeedBack,StringFormat='F1'}" TextBoxColor="#D7E4BD"/>
  375. <Ellipse Width="20" Height="20" Fill="{Binding GasIsFlowing,Converter={StaticResource boolToColor}}" Canvas.Left="360" Canvas.Top="650" Stroke="Silver" StrokeThickness="2"/>
  376. <Button Width="100" Content="Gas ON/OFF" Canvas.Left="390" Canvas.Top="650" Style="{StaticResource SysBtnStyle}" Command="{Binding GasCommand}" IsEnabled="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}"/>
  377. <TextBlock FontSize="13" Text="Vent N2" Canvas.Left="10" Canvas.Top="117" Foreground="Black" Block.TextAlignment="Right" Width="50"/>
  378. <TextBlock FontSize="13" Canvas.Left="-5" Canvas.Top="227" Block.TextAlignment="Right" MaxWidth="65">
  379. <TextBlock.Text>
  380. <MultiBinding StringFormat="{}({0}:{1})">
  381. <Binding Path="MFC1Data.DisplayName"></Binding>
  382. <Binding Path="MFC1Data.Scale"></Binding>
  383. </MultiBinding>
  384. </TextBlock.Text>
  385. </TextBlock>
  386. <TextBlock FontSize="13" Canvas.Left="-5" Canvas.Top="284" Block.TextAlignment="Right" MaxWidth="65">
  387. <TextBlock.Text>
  388. <MultiBinding StringFormat="{}({0}:{1})">
  389. <Binding Path="MFC2Data.DisplayName"></Binding>
  390. <Binding Path="MFC2Data.Scale"></Binding>
  391. </MultiBinding>
  392. </TextBlock.Text>
  393. </TextBlock>
  394. <TextBlock FontSize="13" Canvas.Left="-5" Canvas.Top="338" Block.TextAlignment="Right" MaxWidth="65">
  395. <TextBlock.Text>
  396. <MultiBinding StringFormat="{}({0}:{1})">
  397. <Binding Path="MFC3Data.DisplayName"></Binding>
  398. <Binding Path="MFC3Data.Scale"></Binding>
  399. </MultiBinding>
  400. </TextBlock.Text>
  401. </TextBlock>
  402. <TextBlock FontSize="13" Canvas.Left="-5" Canvas.Top="392" Block.TextAlignment="Right" MaxWidth="65">
  403. <TextBlock.Text>
  404. <MultiBinding StringFormat="{}({0}:{1})">
  405. <Binding Path="MFC4Data.DisplayName"></Binding>
  406. <Binding Path="MFC4Data.Scale"></Binding>
  407. </MultiBinding>
  408. </TextBlock.Text>
  409. </TextBlock>
  410. <TextBlock FontSize="13" Canvas.Left="-5" Canvas.Top="448" Block.TextAlignment="Right" MaxWidth="65">
  411. <TextBlock.Text>
  412. <MultiBinding StringFormat="{}({0}:{1})">
  413. <Binding Path="MFC5Data.DisplayName"></Binding>
  414. <Binding Path="MFC5Data.Scale"></Binding>
  415. </MultiBinding>
  416. </TextBlock.Text>
  417. </TextBlock>
  418. <TextBlock FontSize="13" Canvas.Left="-5" Canvas.Top="503" Block.TextAlignment="Right" MaxWidth="65">
  419. <TextBlock.Text>
  420. <MultiBinding StringFormat="{}({0}:{1})">
  421. <Binding Path="MFC6Data.DisplayName"></Binding>
  422. <Binding Path="MFC6Data.Scale"></Binding>
  423. </MultiBinding>
  424. </TextBlock.Text>
  425. </TextBlock>
  426. <TextBlock FontSize="13" Canvas.Left="-5" Canvas.Top="562" Block.TextAlignment="Right" MaxWidth="65">
  427. <TextBlock.Text>
  428. <MultiBinding StringFormat="{}({0}:{1})">
  429. <Binding Path="MFC7Data.DisplayName"></Binding>
  430. <Binding Path="MFC7Data.Scale"></Binding>
  431. </MultiBinding>
  432. </TextBlock.Text>
  433. </TextBlock>
  434. <TextBlock FontSize="13" Canvas.Left="-5" Canvas.Top="618" Block.TextAlignment="Right" MaxWidth="65">
  435. <TextBlock.Text>
  436. <MultiBinding StringFormat="{}({0}:{1})">
  437. <Binding Path="MFC8Data.DisplayName"></Binding>
  438. <Binding Path="MFC8Data.Scale"></Binding>
  439. </MultiBinding>
  440. </TextBlock.Text>
  441. </TextBlock>
  442. </Canvas >
  443. <Canvas Canvas.Right="2050" Canvas.Top="70">
  444. <Ellipse Width="20" Height="20" Fill="{Binding PVHe1ValveIsOpen,Converter={StaticResource boolToColor}}" Canvas.Left="650" Canvas.Top="682" Stroke="Silver" StrokeThickness="2"/>
  445. <Button Width="100" Content="He ON/OFF" Style="{StaticResource SysBtnStyle}" Command="{Binding HeCommand}" Canvas.Left="680" Canvas.Top="682" IsEnabled="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}"/>
  446. <RadioButton Canvas.Left="790" Canvas.Top="684" Content="Flow Mode" FontSize="15" IsChecked="{Binding HeIsPressureMode,Converter={StaticResource BoolToBool},UpdateSourceTrigger=PropertyChanged}"/>
  447. <RadioButton Canvas.Left="890" Canvas.Top="684" Content="Pressure Mode" FontSize="15" IsChecked="{Binding HeIsPressureMode,UpdateSourceTrigger=PropertyChanged}"/>
  448. <!--与chamber右上角连接的管道-->
  449. <ctrls:FlowPipe Height="8" Width="40" Canvas.Left="1262" Canvas.Top="275" RotateTransformValue="90" />
  450. <ctrls:FlowPipe Height="8" Width="126" Canvas.Left="1250" Canvas.Top="192" RotateTransformValue="90" />
  451. <ctrls:Pipe2 Canvas.Left="1254" Canvas.Top="285" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="-90" />
  452. <ctrls:FlowPipe Height="8" Width="80" Canvas.Left="1252" Canvas.Top="182" />
  453. <ctrls:FlowPipe Height="8" Width="70" Canvas.Left="1264" Canvas.Top="272" />
  454. <TextBlock Text="Guage" Canvas.Left="1272" Canvas.Top="248"/>
  455. <customControls:CommonValveControl ValveOrientation="Horizontal" Status="{Binding GuageValveIsOpen,Mode=TwoWay}" Height="20" Width="20" Canvas.Left="1280" Canvas.Top="265" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="27" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  456. <Border BorderBrush="Gray" BorderThickness="0" Width="18" Height="6" Canvas.Left="1315" Canvas.Top="164" >
  457. <Border.RenderTransform>
  458. <RotateTransform Angle="90"/>
  459. </Border.RenderTransform>
  460. <Border.Background>
  461. <LinearGradientBrush StartPoint="0.5 0" EndPoint="0.5 1">
  462. <GradientStop Color="Gray" Offset="0"/>
  463. <GradientStop Color="White" Offset="0.5"/>
  464. <GradientStop Color="Gray" Offset="1"/>
  465. </LinearGradientBrush>
  466. </Border.Background>
  467. </Border>
  468. <Border BorderBrush="Gray" BorderThickness="0" Width="20" Height="6" Canvas.Left="1285" Canvas.Top="188" >
  469. <Border.RenderTransform>
  470. <RotateTransform Angle="90"/>
  471. </Border.RenderTransform>
  472. <Border.Background>
  473. <LinearGradientBrush StartPoint="0.5 0" EndPoint="0.5 1">
  474. <GradientStop Color="Gray" Offset="0"/>
  475. <GradientStop Color="White" Offset="0.5"/>
  476. <GradientStop Color="Gray" Offset="1"/>
  477. </LinearGradientBrush>
  478. </Border.Background>
  479. </Border>
  480. <Ellipse Width="20" Height="20" Canvas.Left="1302" Canvas.Top="150" Fill="{Binding IsATM,Converter={StaticResource boolToColor}}" Stroke="Silver" StrokeThickness="2"></Ellipse>
  481. <Ellipse Width="20" Height="20" Canvas.Left="1272" Canvas.Top="200" Fill="{Binding IsVAC,Converter={StaticResource boolToColor}}" Stroke="Silver" StrokeThickness="2"></Ellipse>
  482. <TextBlock Text="ATM" Canvas.Left="1300" Canvas.Top="134"/>
  483. <TextBlock Text="VAC" Canvas.Left="1270" Canvas.Top="220"/>
  484. <ctrls:Pipe2 Canvas.Left="1242" Canvas.Top="195" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="-90" />
  485. <!--与chamber底部连接的管道-->
  486. <ctrls:FlowPipe Height="8" Width="293" Canvas.Left="760" Canvas.Top="658" IsFlowing="{Binding PVHe1ValveIsOpen}"/>
  487. <ctrls:FlowPipe Height="8" Width="148" Canvas.Left="1055" Canvas.Top="463" RotateTransformValue="90" IsReverse="{Binding PVHe1ValveIsOpen}">
  488. <ctrls:FlowPipe.IsFlowing>
  489. <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
  490. <Binding Path="PVHe1ValveIsOpen"/>
  491. <Binding Path="PVHe2ValveIsOpen"/>
  492. <Binding Path="PVHe3ValveIsOpen"/>
  493. </MultiBinding>
  494. </ctrls:FlowPipe.IsFlowing>
  495. </ctrls:FlowPipe>
  496. <ctrls:FlowPipe Height="8" Width="90" Canvas.Left="1050" Canvas.Top="610" IsFlowing="{Binding PVHe3ValveIsOpen}"/>
  497. <ctrls:FlowPipe Height="8" Width="65" Canvas.Left="1146" Canvas.Top="615" RotateTransformValue="90" IsFlowing="{Binding PVHe3ValveIsOpen}"/>
  498. <ctrls:FlowPipe Height="8" Width="56" Canvas.Left="1055" Canvas.Top="610" RotateTransformValue="90" IsReverse="{Binding PVHe1ValveIsOpen}">
  499. <ctrls:FlowPipe.IsFlowing>
  500. <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
  501. <Binding Path="PVHe1ValveIsOpen"/>
  502. <Binding Path="PVHe2ValveIsOpen"/>
  503. </MultiBinding>
  504. </ctrls:FlowPipe.IsFlowing>
  505. </ctrls:FlowPipe>
  506. <ctrls:Pipe2 Canvas.Left="1133" Canvas.Top="610" HorizontalAlignment="Left" VerticalAlignment="Top" />
  507. <customControls:CommonValveControl ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Top="604" Canvas.Left="1066" Status="{Binding PVHe3ValveIsOpen,Mode=TwoWay}" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="30" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  508. <TextBlock Text="VHe3" Canvas.Top="588" Canvas.Left="1060"/>
  509. <ctrls:ZhenValve Width="34" Height="34" Canvas.Top="585.5" Canvas.Left="1095"/>
  510. <ctrls:FlowPipe Height="8" Width="17" Canvas.Left="1055" Canvas.Top="659" RotateTransformValue="90" IsFlowing="{Binding PVHe2ValveIsOpen}"/>
  511. <ctrls:FlowPipe Height="8" Width="84" Canvas.Left="1058" Canvas.Top="680" IsFlowing="{Binding PVHe2ValveIsOpen}"/>
  512. <ctrls:FlowPipe Height="8" Width="120" Canvas.Left="1140" Canvas.Top="680" >
  513. <ctrls:FlowPipe.IsFlowing>
  514. <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
  515. <Binding Path="PVHe2ValveIsOpen"/>
  516. <Binding Path="PVHe3ValveIsOpen"/>
  517. </MultiBinding>
  518. </ctrls:FlowPipe.IsFlowing>
  519. </ctrls:FlowPipe>
  520. <ctrls:FlowPipe Height="8" Width="20" Canvas.Left="1266" Canvas.Top="682" RotateTransformValue="90">
  521. <ctrls:FlowPipe.IsFlowing>
  522. <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
  523. <Binding Path="SoftPumpValveIsOpen"/>
  524. <Binding Path="FastPumpValveIsOpen"/>
  525. <Binding Path="TurboPumpPumpingValveIsOpen"/>
  526. <Binding Path="PVHe2ValveIsOpen"/>
  527. <Binding Path="PVHe3ValveIsOpen"/>
  528. </MultiBinding>
  529. </ctrls:FlowPipe.IsFlowing>
  530. </ctrls:FlowPipe>
  531. <ctrls:FlowPipe Height="8" Width="40" Canvas.Left="1265" Canvas.Top="658" />
  532. <ctrls:FlowPipe Height="8" Width="178" Canvas.Left="1266" Canvas.Top="464" RotateTransformValue="90" IsFlowing="{Binding TurboPumpPumpingValveIsOpen}">
  533. </ctrls:FlowPipe>
  534. <ctrls:FlowPipe Height="8" Width="45" Canvas.Left="1266" Canvas.Top="638" RotateTransformValue="90" >
  535. <ctrls:FlowPipe.IsFlowing>
  536. <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
  537. <Binding Path="SoftPumpValveIsOpen"/>
  538. <Binding Path="FastPumpValveIsOpen"/>
  539. <Binding Path="TurboPumpPumpingValveIsOpen"/>
  540. </MultiBinding>
  541. </ctrls:FlowPipe.IsFlowing>
  542. </ctrls:FlowPipe>
  543. <ctrls:Pipe2 Canvas.Left="1060" Canvas.Top="687.8" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="-180" />
  544. <ctrls:FlowPipe Height="8" Width="46" Canvas.Left="1213" Canvas.Top="635" >
  545. <ctrls:FlowPipe.IsFlowing>
  546. <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
  547. <Binding Path="SoftPumpValveIsOpen"/>
  548. <Binding Path="FastPumpValveIsOpen"/>
  549. </MultiBinding>
  550. </ctrls:FlowPipe.IsFlowing>
  551. </ctrls:FlowPipe>
  552. <ctrls:FlowPipe Height="8" Width="52" Canvas.Left="1165" Canvas.Top="635" IsFlowing="{Binding SoftPumpValveIsOpen}" />
  553. <ctrls:FlowPipe Height="8" Width="125" Canvas.Left="1219" Canvas.Top="512" RotateTransformValue="90" IsFlowing="{Binding FastPumpValveIsOpen}"/>
  554. <ctrls:FlowPipe Height="8" Width="119" Canvas.Left="1168" Canvas.Top="517" RotateTransformValue="90" IsFlowing="{Binding SoftPumpValveIsOpen}"/>
  555. <ctrls:Pipe2 Canvas.Left="1173" Canvas.Top="643" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="-180" />
  556. <ctrls:FlowPipe Height="8" Width="48" Canvas.Left="1165" Canvas.Top="512" HorizontalAlignment="Left" VerticalAlignment="Center" IsReverse="True" IsFlowing="{Binding SoftPumpValveIsOpen}" />
  557. <ctrls:FlowPipe Height="8" Width="50" Canvas.Left="1219" Canvas.Top="463" RotateTransformValue="90">
  558. <ctrls:FlowPipe.IsFlowing>
  559. <MultiBinding Converter="{StaticResource toBoolMultiValueConverter2}">
  560. <Binding Path="SoftPumpValveIsOpen"/>
  561. <Binding Path="FastPumpValveIsOpen"/>
  562. </MultiBinding>
  563. </ctrls:FlowPipe.IsFlowing>
  564. </ctrls:FlowPipe>
  565. <ctrls:Pipe2 Canvas.Left="1160" Canvas.Top="525" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="-90" />
  566. <TextBlock Canvas.Left="1130" Canvas.Top="558" Text="Soft"/>
  567. <TextBlock Canvas.Left="1178" Canvas.Top="558" Text="Fast"/>
  568. <ctrls:FlowPipe Height="8" Width="194" Canvas.Left="1246" Canvas.Top="535" IsReverse="True" IsFlowing="{Binding TurboPumpPurgeValveIsOpen,Mode=TwoWay}" >
  569. </ctrls:FlowPipe>
  570. <ctrls:FlowPipe ToolTip="123" Height="8" Width="142" Canvas.Left="1448" Canvas.Top="542" RotateTransformValue="90" IsReverse="True" IsFlowing="{Binding TurboPumpPurgeValveIsOpen}"/>
  571. <ctrls:Pipe2 Canvas.Left="1435" Canvas.Top="535" HorizontalAlignment="Left" VerticalAlignment="Top" />
  572. <!--<ctrls:FlowPipeValve x:Name="purgevalve" Height="20" Width="24" Canvas.Left="1458" Canvas.Top="610" RotateTransformValue="90" IsOpen="{Binding TurboPumpPumpingValveIsOpen,Mode=TwoWay}"/>-->
  573. <customControls:CommonValveControl Status="{Binding TurboPumpPurgeValveIsOpen,Mode=TwoWay}" ValveOrientation="Vertical" Height="20" Width="20" Canvas.Left="1434" Canvas.Top="610" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="26" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  574. <TextBlock Text="Turbo N2&#10; Purge" Canvas.Left="1365" Canvas.Top="610" FontSize="15"/>
  575. <TextBlock Text="VHe1" Canvas.Top="636" Canvas.Left="985"/>
  576. <customControls:CommonValveControl ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Top="652" Canvas.Left="990" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Status="{Binding PVHe1ValveIsOpen,Mode=TwoWay}" Tag="19" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  577. <TextBlock Text="VHe2" Canvas.Top="658" Canvas.Left="1060"/>
  578. <customControls:CommonValveControl ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Top="674" Canvas.Left="1066" Status="{Binding PVHe2ValveIsOpen,Mode=TwoWay}" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="20" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  579. <customControls:CommonValveControl Status="{Binding SoftPumpValveIsOpen,Mode=TwoWay}" ValveOrientation="Vertical" Height="20" Width="20" Canvas.Top="555" Canvas.Left="1154" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="22" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  580. <customControls:CommonValveControl Status="{Binding FastPumpValveIsOpen,Mode=TwoWay}" ValveOrientation="Vertical" Height="20" Width="20" Canvas.Top="555" Canvas.Left="1205" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="23" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  581. <customControls:CommonValveControl ValveOrientation="Vertical" Height="20" Width="20" Canvas.Top="596" Canvas.Left="1252" Status="{Binding TurboPumpPumpingValveIsOpen,Mode=TwoWay}" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="25" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  582. <customControls:CommonValveControl ValveOrientation="Vertical" Height="20" Width="20" Canvas.Top="490" Canvas.Left="1041" Status="{Binding HeISOValveIsOpen,Mode=TwoWay}" IsCanEdit="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Tag="31" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}"/>
  583. <TextBlock Text=" He&#10;ISO" Canvas.Top="482" Canvas.Left="1068"/>
  584. <!--turbo-->
  585. <ctrls:Turbo Width="40" Height="40" Canvas.Top="521" Canvas.Left="1242" IsOpen="{Binding TurboIsOpen}">
  586. <ctrls:Turbo.ContextMenu>
  587. <ContextMenu>
  588. <MenuItem Header="ON" Command="{Binding OpenTurboPumpCommand}" IsChecked="{Binding TurboIsOpen,Mode=OneWay}" IsEnabled="{Binding TurboIsOpen,Converter={StaticResource BoolToBool},Mode=OneWay}"/>
  589. <MenuItem Header="OFF" Command="{Binding CloseTurboPumpCommand}" IsChecked="{Binding TurboIsOpen,Converter={StaticResource BoolToBool},Mode=OneWay}" IsEnabled="{Binding TurboIsOpen,Mode=OneWay}"/>
  590. </ContextMenu>
  591. </ctrls:Turbo.ContextMenu>
  592. </ctrls:Turbo>
  593. <!--蝶阀-->
  594. <ctrls:ButterflyValve Canvas.Top="475" Canvas.Left="1245" RotateTransformValue="{Binding PositionValue}" IsOpen="{Binding PendulumValveData.IsOpen,Mode=TwoWay}">
  595. <i:Interaction.Triggers>
  596. <i:EventTrigger EventName="MouseLeftButtonUp">
  597. <i:InvokeCommandAction Command="{Binding OpenButterflyValveViewCommand}"/>
  598. </i:EventTrigger>
  599. </i:Interaction.Triggers>
  600. <ctrls:ButterflyValve.ContextMenu>
  601. <ContextMenu>
  602. <MenuItem Header="Open" Command="{Binding OpenPendulumValveCommand}" IsChecked="{Binding PendulumValveData.IsOpen,Mode=OneWay}" IsEnabled="{Binding PendulumValveData.IsOpen,Converter={StaticResource BoolToBool},Mode=OneWay}"/>
  603. <MenuItem Header="Close" Command="{Binding ClosePendulumValveCommand}" IsChecked="{Binding PendulumValveData.IsOpen,Converter={StaticResource BoolToBool},Mode=OneWay}" IsEnabled="{Binding PendulumValveData.IsOpen,Mode=OneWay}"/>
  604. </ContextMenu>
  605. </ctrls:ButterflyValve.ContextMenu>
  606. </ctrls:ButterflyValve>
  607. <Image Canvas.Top="715" Canvas.Left="1425" Width="40" Height="25" Source="Pack://application:,,,/Venus_Themes;Component/Resources/Arrow.png" Stretch="Uniform">
  608. <Image.RenderTransform>
  609. <RotateTransform Angle="-90"/>
  610. </Image.RenderTransform>
  611. </Image>
  612. <TextBlock Text="N2" Canvas.Top="720" Canvas.Left="1438"/>
  613. <Image Canvas.Top="650" Canvas.Left="715" Width="40" Height="25" Source="Pack://application:,,,/Venus_Themes;Component/Resources/Arrow.png" Stretch="Uniform" >
  614. </Image>
  615. <TextBlock Text="Helium" Canvas.Top="653" Canvas.Left="670" FontSize="15"/>
  616. <!--chamber管道标签-->
  617. <ctrls:TextboxWithLabel Canvas.Top="156" Canvas.Left="1326" LabelValue="CM2(mTorr)" TextBoxValue="{Binding ProcessHighPressure,StringFormat='F1'}" TextBoxColor="#D7E4BD"/>
  618. <ctrls:TextboxWithLabel Canvas.Top="248" Canvas.Left="1318" LabelValue="CM1(mTorr)" TextBoxValue="{Binding ProcessLowPressure,StringFormat='F1'}" TextBoxColor="#D7E4BD"/>
  619. <!--<ctrls:TextboxWithLabel Canvas.Top="633" Canvas.Left="880" LabelValue="Pressure(mTorr)" TextBoxValue="{Binding HePressureSetpoint,Mode=TwoWay}" TextBoxColor="White" IsReadOnly="False"/>-->
  620. <ctrls:TextboxWithLabel Canvas.Top="633" Canvas.Left="820" TextBoxValue="{Binding HeGasSetpoint,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" LabelValue="Flow(sccm)/Pressure(Torr)" TextBoxColor="White" IsReadOnly="False"/>
  621. <Ellipse Width="20" Height="20" Canvas.Top="651.5" Canvas.Left="775" Fill="{Binding MFCHeData.IsWarning,Converter={StaticResource boolToColor4}}" Stroke="Silver" StrokeThickness="2" ToolTip="Pressure Alarm"></Ellipse>
  622. <ctrls:TextboxWithLabel Canvas.Top="633" Canvas.Left="1280" LabelValue="CM3(mTorr)" TextBoxValue="{Binding ForelinePressure,StringFormat='F1'}" TextBoxColor="#D7E4BD" />
  623. <ctrls:TextboxWithLabel Canvas.Top="464" Canvas.Left="1290" LabelValue="Position(‰)" TextBoxValue="{Binding PendulumValvePosition,StringFormat='F0'}" TextBoxColor="#D7E4BD" />
  624. <ctrls:TextboxWithLabel Canvas.Top="510" Canvas.Left="1330" LabelValue="Flow(sccm)" TextBoxValue="{Binding MFCN2Data.FeedBack,StringFormat='F1'}" TextBoxColor="#D7E4BD" />
  625. <!--<ctrls:TextboxWithLabel Canvas.Top="510" Canvas.Left="1367" TextBoxValue="{Binding N2SetPoint,Mode=TwoWay}" IsReadOnly="False" LabelValue="Turbo N2" ToolTip="{Binding MFCN2Data.SetPoint,StringFormat='F1'}" TextBoxColor="White" />-->
  626. <ctrls:TextboxWithLabel Canvas.Top="556" Canvas.Left="952" LabelValue="Pressure(mTorr)" TextBoxValue="{Binding ESCHePressure,StringFormat='F1'}" TextBoxColor="#D7E4BD"/>
  627. <Border BorderBrush="Gray" BorderThickness="0" Width="15" Height="6" Canvas.Top="581" Canvas.Left="1033">
  628. <Border.Background>
  629. <LinearGradientBrush StartPoint="0.5 0" EndPoint="0.5 1">
  630. <GradientStop Color="Gray" Offset="0"/>
  631. <GradientStop Color="White" Offset="0.5"/>
  632. <GradientStop Color="Gray" Offset="1"/>
  633. </LinearGradientBrush>
  634. </Border.Background>
  635. </Border>
  636. <ctrls:TextboxWithLabel Canvas.Top="506" Canvas.Left="964" LabelValue="Flow(sccm)" TextBoxValue="{Binding MFCHeData.FeedBack,StringFormat='F1'}" TextBoxColor="#D7E4BD"/>
  637. <Border BorderBrush="Gray" BorderThickness="0" Width="15" Height="6" Canvas.Top="531" Canvas.Left="1033">
  638. <Border.Background>
  639. <LinearGradientBrush StartPoint="0.5 0" EndPoint="0.5 1">
  640. <GradientStop Color="Gray" Offset="0"/>
  641. <GradientStop Color="White" Offset="0.5"/>
  642. <GradientStop Color="Gray" Offset="1"/>
  643. </LinearGradientBrush>
  644. </Border.Background>
  645. </Border>
  646. <ctrls:TextboxWithLabel Canvas.Top="550" Canvas.Left="1280" LabelValue="Speed(rpm)" TextBoxValue="{Binding TurboPumpRotationalSpeed}" TextBoxColor="#D7E4BD" />
  647. <TextBlock Canvas.Top="600" Canvas.Left="1280" Text="ISO"/>
  648. <!--加热-->
  649. <!--<ctrls:TextboxWithLabel Canvas.Top="320" Canvas.Left="1290" LabelValue="Valve Heater" TextBoxValue="{Binding ValveHeaterData.CoolantOutletTcFeedback}" TextBoxColor="{Binding ValveHeaterData.IsPowerOn,Converter={StaticResource boolToColor}}" Cursor="Hand"/>
  650. <ctrls:TextboxWithLabel Canvas.Top="360" Canvas.Left="1283" LabelValue="Foreline Heater" TextBoxValue="{Binding ForelineHeaterData.CoolantOutletTcFeedback}" TextBoxColor="{Binding ForelineHeaterData.IsPowerOn,Converter={StaticResource boolToColor}}" Cursor="Hand"/>
  651. <ctrls:TextboxWithLabel Canvas.Top="400" Canvas.Left="1290" LabelValue="Wall Heater" TextBoxValue="{Binding WallHeaterData.CoolantOutletTcFeedback}" TextBoxColor="{Binding WallHeaterData.IsPowerOn,Converter={StaticResource boolToColor}}" Cursor="Hand"/>-->
  652. <StackPanel Canvas.Top="470" Canvas.Left="960" Orientation="Vertical">
  653. <TextBlock Text="Valve Heater"/>
  654. <Button Height="18" Width="50" Content="{Binding ValveHeaterData.FeedBack}" ToolTip="{Binding ValveHeaterData,Converter={StaticResource HeaterToStringConverter}}" Foreground="White" ContentStringFormat="F1" Background="{Binding ValveHeaterData.IsPowerOnSetPoint,Converter={StaticResource boolToColor5}}" Style="{x:Null}" Command="{Binding HeaterCommand}" CommandParameter="{Binding ValveHeaterData}" Cursor="Hand"/>
  655. </StackPanel>
  656. <StackPanel Canvas.Top="645" Canvas.Left="1160" Orientation="Vertical">
  657. <TextBlock Text="Foreline Heater"/>
  658. <Button Height="18" Width="50" Content="{Binding ForelineHeaterData.FeedBack}" ToolTip="{Binding ForelineHeaterData,Converter={StaticResource HeaterToStringConverter}}" Foreground="White" ContentStringFormat="F1" Background="{Binding ForelineHeaterData.IsPowerOnSetPoint,Converter={StaticResource boolToColor5}}" Style="{x:Null}" Command="{Binding HeaterCommand}" CommandParameter="{Binding ForelineHeaterData}" Cursor="Hand"/>
  659. </StackPanel>
  660. <StackPanel Canvas.Top="380" Canvas.Left="1280" Orientation="Vertical">
  661. <TextBlock Text="Wall Heater"/>
  662. <Button Height="18" Width="50" Content="{Binding WallHeaterData.FeedBack}" ToolTip="{Binding WallHeaterData,Converter={StaticResource HeaterToStringConverter}}" Foreground="White" ContentStringFormat="F1" Background="{Binding WallHeaterData.IsPowerOnSetPoint,Converter={StaticResource boolToColor5}}" Style="{x:Null}" Command="{Binding HeaterCommand}" CommandParameter="{Binding WallHeaterData}" Cursor="Hand"/>
  663. </StackPanel>
  664. <!--Chamber-->
  665. <ctrls:Chamber Canvas.Left="1034" Canvas.Top="224"
  666. IsLiftPinUp="{Binding LiftPinIsUp}"
  667. IsOpenSlitDoor="{Binding IsSlitDoorClosed,Converter={StaticResource BoolToBool}}"
  668. IsLidOpen="{Binding IsLidClosed,Converter={StaticResource BoolToBool}}"
  669. IsBRFOn="{Binding BRFData.IsRfOn}"
  670. IsSRFOn="{Binding SRFData.IsRfOn}"
  671. IsHasWafer="{Binding IsHasWafer}"
  672. WaferID="{Binding WaferID}"
  673. ModuleName="{Binding ModuleName}"
  674. />
  675. <Ellipse Width="20" Height="20" Fill="{Binding LiftPinIsUp,Converter={StaticResource boolToColor}}" Canvas.Left="1105" Canvas.Top="466" Stroke="Silver" StrokeThickness="2"/>
  676. <Button Height="20" Width="70" Content="Pin Up" Canvas.Left="1130" Canvas.Top="466" Command="{Binding PinUpDownCommand}" CommandParameter="True" Style="{StaticResource SysBtnStyle}" IsEnabled="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}"/>
  677. <Ellipse Width="20" Height="20" Fill="{Binding LiftPinIsUp,Converter={StaticResource boolToColor2}}" Canvas.Left="1105" Canvas.Top="490" Stroke="Silver" StrokeThickness="2"/>
  678. <Button Height="20" Width="70" Content="Pin Down" Canvas.Left="1130" Canvas.Top="490" Command="{Binding PinUpDownCommand}" CommandParameter="False" Style="{StaticResource SysBtnStyle}" IsEnabled="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}"/>
  679. <ctrls:Pump Canvas.Top="700" Canvas.Left="1245" Width="35" Height="35" IsOpen="{Binding PumpIsOpen,Mode=TwoWay}">
  680. <ctrls:Pump.ContextMenu>
  681. <ContextMenu>
  682. <MenuItem Header="ON" Command="{Binding OpenPumpCommand}" IsChecked="{Binding PumpIsOpen,Mode=OneWay}" IsEnabled="{Binding PumpIsOpen,Converter={StaticResource BoolToBool},Mode=OneWay}"/>
  683. <MenuItem Header="OFF" Command="{Binding ClosePumpCommand}" IsChecked="{Binding PumpIsOpen,Converter={StaticResource BoolToBool},Mode=OneWay}" IsEnabled="{Binding PumpIsOpen,Mode=OneWay}"/>
  684. </ContextMenu>
  685. </ctrls:Pump.ContextMenu>
  686. </ctrls:Pump>
  687. <TextBlock Text="Rough Pump" Canvas.Top="734" Canvas.Left="1220" FontSize="15"/>
  688. </Canvas>
  689. <Canvas Canvas.Right="1250" Canvas.Top="100">
  690. <!--<Button Width="120" Height="30" Content="Flash" Canvas.Left="700" Canvas.Top="100" Command="{Binding LoadRecipeCommand}" IsEnabled="{Binding IsAutoMode}" Style="{x:Null}"/>-->
  691. <!--<TextBlock Background="Silver" Height="30" Width="230" Canvas.Left="820" Canvas.Top="100" Text="{Binding SelectedRecipe}" TextBlock.TextAlignment="Center" Block.TextAlignment="Center" Padding="0,7,0,0"/>-->
  692. <TextBox Width="140" Height="30" Text="Recipe:" Canvas.Left="700" Canvas.Top="100" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="15" IsReadOnly="True" Background="Transparent"/>
  693. <Border Width="210" Height="28" Canvas.Left="840" Canvas.Top="101" BorderBrush="Black" BorderThickness=".7">
  694. <ComboBox ItemsSource="{Binding CurrentModuleRecipes}" SelectedItem="{Binding SelectedRecipe}" IsEnabled="{Binding IsAutoMode}" Style="{StaticResource customeComboBoxStyle}" BorderBrush="White" FontSize="15">
  695. <i:Interaction.Triggers>
  696. <i:EventTrigger EventName="DropDownOpened">
  697. <i:InvokeCommandAction Command="{Binding LoadRecipeCommand}"/>
  698. </i:EventTrigger>
  699. </i:Interaction.Triggers>
  700. </ComboBox>
  701. </Border>
  702. <customControls:PathButton Width="120" Height="30" Content="Start" Canvas.Left="1100" Canvas.Top="100" IsEnabled="{Binding IsAutoMode}" Command="{Binding RunRecipeCommand}"/>
  703. <Grid Width="540" Height="550" Canvas.Left="700" Canvas.Top="150" unity:GridOptions.ShowBorder="True" unity:GridOptions.LineBrush="#afb4db" unity:GridOptions.LineThickness="1">
  704. <Grid.RowDefinitions>
  705. <RowDefinition/>
  706. <RowDefinition/>
  707. <RowDefinition/>
  708. <RowDefinition/>
  709. <RowDefinition/>
  710. <RowDefinition/>
  711. <RowDefinition/>
  712. <RowDefinition/>
  713. <RowDefinition/>
  714. <RowDefinition/>
  715. <RowDefinition/>
  716. <RowDefinition/>
  717. <RowDefinition/>
  718. <RowDefinition/>
  719. <RowDefinition/>
  720. <RowDefinition/>
  721. <RowDefinition/>
  722. <RowDefinition/>
  723. <RowDefinition/>
  724. <RowDefinition/>
  725. <RowDefinition/>
  726. <RowDefinition/>
  727. </Grid.RowDefinitions>
  728. <Grid.ColumnDefinitions>
  729. <ColumnDefinition Width="2*"/>
  730. <ColumnDefinition />
  731. <ColumnDefinition />
  732. <ColumnDefinition />
  733. </Grid.ColumnDefinitions>
  734. <TextBlock Text="Parameter" FontWeight="Bold" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White"/>
  735. <TextBlock Text="FeedBack" Grid.Column="1" FontWeight="Bold" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White"/>
  736. <TextBlock Text="SetPoint" Grid.Column="2" FontWeight="Bold" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White"/>
  737. <TextBlock Text="Unit" Grid.Column="3" FontWeight="Bold" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="White"/>
  738. <TextBlock Grid.Row="1" Text="Top RF Forward Power" Background="#D0D8E8" Padding="10,5,0,0"/>
  739. <TextBlock Grid.Row="2" Text="Top RF Reflected Power" Background="#E9EDF4" Padding="10,5,0,0" />
  740. <TextBlock Grid.Row="3" Text="Bias RF Forward Power" Background="#D0D8E8" Padding="10,5,0,0" />
  741. <TextBlock Grid.Row="4" Text="Bias RF Reflected Power" Background="#E9EDF4" Padding="10,5,0,0" />
  742. <TextBlock Grid.Row="5" Text="Bias RF Match C1%" Background="#D0D8E8" Padding="10,5,0,0" />
  743. <TextBlock Grid.Row="6" Text="Bias RF Match C2%" Background="#E9EDF4" Padding="10,5,0,0" />
  744. <TextBlock Grid.Row="7" Text="Bias Voltage" Background="#D0D8E8" Padding="10,5,0,0" />
  745. <TextBlock Grid.Row="8" Text="Pressure" Background="#E9EDF4" Padding="10,5,0,0" />
  746. <TextBlock Grid.Row="9" Text="Pressure Control Valve Position" Background="#D0D8E8" Padding="10,5,0,0"/>
  747. <TextBlock Grid.Row="10" Background="#E9EDF4" Padding="10,5,0,0" >
  748. <TextBlock.Text>
  749. <MultiBinding StringFormat="{}Gas1({0}:{1})">
  750. <Binding Path="MFC1Data.DisplayName"></Binding>
  751. <Binding Path="MFC1Data.Scale"></Binding>
  752. </MultiBinding>
  753. </TextBlock.Text>
  754. </TextBlock>
  755. <TextBlock Grid.Row="11" Background="#D0D8E8" Padding="10,5,0,0" >
  756. <TextBlock.Text>
  757. <MultiBinding StringFormat="{}Gas2({0}:{1})">
  758. <Binding Path="MFC2Data.DisplayName"></Binding>
  759. <Binding Path="MFC2Data.Scale"></Binding>
  760. </MultiBinding>
  761. </TextBlock.Text>
  762. </TextBlock>
  763. <TextBlock Grid.Row="12" Background="#E9EDF4" Padding="10,5,0,0" >
  764. <TextBlock.Text>
  765. <MultiBinding StringFormat="{}Gas3({0}:{1})">
  766. <Binding Path="MFC3Data.DisplayName"></Binding>
  767. <Binding Path="MFC3Data.Scale"></Binding>
  768. </MultiBinding>
  769. </TextBlock.Text>
  770. </TextBlock>
  771. <TextBlock Grid.Row="13" Background="#D0D8E8" Padding="10,5,0,0" >
  772. <TextBlock.Text>
  773. <MultiBinding StringFormat="{}Gas4({0}:{1})">
  774. <Binding Path="MFC4Data.DisplayName"></Binding>
  775. <Binding Path="MFC4Data.Scale"></Binding>
  776. </MultiBinding>
  777. </TextBlock.Text>
  778. </TextBlock>
  779. <TextBlock Grid.Row="14" Background="#E9EDF4" Padding="10,5,0,0">
  780. <TextBlock.Text>
  781. <MultiBinding StringFormat="{}Gas5({0}:{1})">
  782. <Binding Path="MFC5Data.DisplayName"></Binding>
  783. <Binding Path="MFC5Data.Scale"></Binding>
  784. </MultiBinding>
  785. </TextBlock.Text>
  786. </TextBlock>
  787. <TextBlock Grid.Row="15" Background="#D0D8E8" Padding="10,5,0,0">
  788. <TextBlock.Text>
  789. <MultiBinding StringFormat="{}Gas6({0}:{1})">
  790. <Binding Path="MFC6Data.DisplayName"></Binding>
  791. <Binding Path="MFC6Data.Scale"></Binding>
  792. </MultiBinding>
  793. </TextBlock.Text>
  794. </TextBlock>
  795. <TextBlock Grid.Row="16" Background="#E9EDF4" Padding="10,5,0,0">
  796. <TextBlock.Text>
  797. <MultiBinding StringFormat="{}Gas7({0}:{1})">
  798. <Binding Path="MFC7Data.DisplayName"></Binding>
  799. <Binding Path="MFC7Data.Scale"></Binding>
  800. </MultiBinding>
  801. </TextBlock.Text>
  802. </TextBlock>
  803. <TextBlock Grid.Row="17" Background="#D0D8E8" Padding="10,5,0,0" >
  804. <TextBlock.Text>
  805. <MultiBinding StringFormat="{}Gas8({0}:{1})">
  806. <Binding Path="MFC8Data.DisplayName"></Binding>
  807. <Binding Path="MFC8Data.Scale"></Binding>
  808. </MultiBinding>
  809. </TextBlock.Text>
  810. </TextBlock>
  811. <TextBlock Grid.Row="18" Text="ESC Clamp Voltage" Background="#E9EDF4" Padding="10,5,0,0" />
  812. <TextBlock Grid.Row="19" Text="ESC Temperature" Background="#D0D8E8" Padding="10,5,0,0" />
  813. <TextBlock Grid.Row="20" Text="Helium Pressure" Background="#E9EDF4" Padding="10,5,0,0"/>
  814. <TextBlock Grid.Row="21" Text="Helium Flow" Background="#D0D8E8" Padding="10,5,0,0" />
  815. <TextBlock Grid.Row="1" Grid.Column="1" Text="{Binding SRFData.ForwardPower}" Background="#D0D8E8" TextBlock.TextAlignment="Center" Block.TextAlignment="Center" Padding="0,5,0,0"/>
  816. <TextBlock Grid.Row="2" Grid.Column="1" Text="{Binding SRFData.ReflectPower}" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  817. <TextBlock Grid.Row="3" Grid.Column="1" Text="{Binding BRFData.ForwardPower}" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  818. <TextBlock Grid.Row="4" Grid.Column="1" Text="{Binding BRFData.ReflectPower}" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  819. <TextBlock Grid.Row="5" Grid.Column="1" Text="{Binding BiasMatchC1,StringFormat='F1'}" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  820. <TextBlock Grid.Row="6" Grid.Column="1" Text="{Binding BiasMatchC2,StringFormat='F1'}" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  821. <TextBlock Grid.Row="7" Grid.Column="1" Text="N/A" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  822. <TextBlock Grid.Row="8" Grid.Column="1" Text="{Binding ChamberPressureFeedBack,StringFormat='F1'}" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  823. <TextBlock Grid.Row="9" Grid.Column="1" Text="{Binding PendulumValvePosition}" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  824. <TextBlock Grid.Row="10" Grid.Column="1" Text="{Binding MFC1Data.FeedBack,StringFormat='F1'}" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  825. <TextBlock Grid.Row="11" Grid.Column="1" Text="{Binding MFC2Data.FeedBack,StringFormat='F1'}" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  826. <TextBlock Grid.Row="12" Grid.Column="1" Text="{Binding MFC3Data.FeedBack,StringFormat='F1'}" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  827. <TextBlock Grid.Row="13" Grid.Column="1" Text="{Binding MFC4Data.FeedBack,StringFormat='F1'}" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  828. <TextBlock Grid.Row="14" Grid.Column="1" Text="{Binding MFC5Data.FeedBack,StringFormat='F1'}" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  829. <TextBlock Grid.Row="15" Grid.Column="1" Text="{Binding MFC6Data.FeedBack,StringFormat='F1'}" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  830. <TextBlock Grid.Row="16" Grid.Column="1" Text="{Binding MFC7Data.FeedBack,StringFormat='F1'}" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  831. <TextBlock Grid.Row="17" Grid.Column="1" Text="{Binding MFC8Data.FeedBack,StringFormat='F1'}" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  832. <TextBlock Grid.Row="18" Grid.Column="1" Text="{Binding ESCHVData.OutputVoltage}" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center" />
  833. <TextBlock Grid.Row="19" Grid.Column="1" Text="{Binding ChillerTemperature,StringFormat='F1'}" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  834. <TextBlock Grid.Row="20" Grid.Column="1" Text="{Binding ESCHePressure,StringFormat='F1'}" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  835. <TextBlock Grid.Row="21" Grid.Column="1" Text="{Binding MFCHeData.FeedBack,StringFormat='F1'}" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  836. <TextBlock Grid.Row="1" Grid.Column="2" Text="{Binding CurrentRecipeStep.LstUnit[1].RFPower}" Background="#D0D8E8" TextBlock.TextAlignment="Center" Block.TextAlignment="Center" Padding="0,6,0,0"/>
  837. <TextBlock Grid.Row="2" Grid.Column="2" Text="N/A" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  838. <TextBlock Grid.Row="3" Grid.Column="2" Text="{Binding CurrentRecipeStep.LstUnit[2].BiasRFPower}" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  839. <TextBlock Grid.Row="4" Grid.Column="2" Text="N/A" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  840. <TextBlock Grid.Row="5" Grid.Column="2" Text="{Binding CurrentRecipeStep.LstUnit[2].BiasTuneCapPreset}" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  841. <TextBlock Grid.Row="6" Grid.Column="2" Text="{Binding CurrentRecipeStep.LstUnit[2].BiasLoadCapPreset}" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  842. <TextBlock Grid.Row="7" Grid.Column="2" Text="N/A" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,5,0,0" Block.TextAlignment="Center"/>
  843. <TextBlock Grid.Row="8" Grid.Column="2" Text="{Binding CurrentRecipeStep.LstUnit[0].StartPressure}" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  844. <TextBlock Grid.Row="9" Grid.Column="2" Text="{Binding CurrentRecipeStep.LstUnit[0].ValvePositionPreset}" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  845. <TextBlock Grid.Row="10" Grid.Column="2" Text="{Binding CurrentRecipeStep.LstUnit[3].Gas1}" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  846. <TextBlock Grid.Row="11" Grid.Column="2" Text="{Binding CurrentRecipeStep.LstUnit[3].Gas2}" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  847. <TextBlock Grid.Row="12" Grid.Column="2" Text="{Binding CurrentRecipeStep.LstUnit[3].Gas3}" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  848. <TextBlock Grid.Row="13" Grid.Column="2" Text="{Binding CurrentRecipeStep.LstUnit[3].Gas4}" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  849. <TextBlock Grid.Row="14" Grid.Column="2" Text="{Binding CurrentRecipeStep.LstUnit[3].Gas5}" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  850. <TextBlock Grid.Row="15" Grid.Column="2" Text="{Binding CurrentRecipeStep.LstUnit[3].Gas6}" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  851. <TextBlock Grid.Row="16" Grid.Column="2" Text="{Binding CurrentRecipeStep.LstUnit[3].Gas7}" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  852. <TextBlock Grid.Row="17" Grid.Column="2" Text="{Binding CurrentRecipeStep.LstUnit[3].Gas8}" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  853. <TextBlock Grid.Row="18" Grid.Column="2" Text="{Binding CurrentRecipeStep.LstUnit[4].ESCClampValtage}" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center" />
  854. <TextBlock Grid.Row="19" Grid.Column="2" Text="{Binding CurrentRecipeStep.LstUnit[4].Temperature}" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  855. <TextBlock Grid.Row="20" Grid.Column="2" Text="{Binding CurrentRecipeStep.LstUnit[4].BacksideHelum}" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  856. <TextBlock Grid.Row="21" Grid.Column="2" Text="" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  857. <TextBlock Grid.Row="1" Grid.Column="3" Text="W" Background="#D0D8E8" TextBlock.TextAlignment="Center" Block.TextAlignment="Center" Padding="0,6,0,0"/>
  858. <TextBlock Grid.Row="2" Grid.Column="3" Text="W" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  859. <TextBlock Grid.Row="3" Grid.Column="3" Text="W" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  860. <TextBlock Grid.Row="4" Grid.Column="3" Text="W" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  861. <TextBlock Grid.Row="5" Grid.Column="3" Text="%" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  862. <TextBlock Grid.Row="6" Grid.Column="3" Text="%" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  863. <TextBlock Grid.Row="7" Grid.Column="3" Text="V" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  864. <TextBlock Grid.Row="8" Grid.Column="3" Text="mTorr" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  865. <TextBlock Grid.Row="9" Grid.Column="3" Text="Count" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  866. <TextBlock Grid.Row="10" Grid.Column="3" Text="sccm" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  867. <TextBlock Grid.Row="11" Grid.Column="3" Text="sccm" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  868. <TextBlock Grid.Row="12" Grid.Column="3" Text="sccm" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  869. <TextBlock Grid.Row="13" Grid.Column="3" Text="sccm" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  870. <TextBlock Grid.Row="14" Grid.Column="3" Text="sccm" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  871. <TextBlock Grid.Row="15" Grid.Column="3" Text="sccm" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  872. <TextBlock Grid.Row="16" Grid.Column="3" Text="sccm" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  873. <TextBlock Grid.Row="17" Grid.Column="3" Text="sccm" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  874. <TextBlock Grid.Row="18" Grid.Column="3" Text="V" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center" />
  875. <TextBlock Grid.Row="19" Grid.Column="3" Text="°C" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  876. <TextBlock Grid.Row="20" Grid.Column="3" Text="Torr" Background="#E9EDF4" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  877. <TextBlock Grid.Row="21" Grid.Column="3" Text="sccm" Background="#D0D8E8" TextBlock.TextAlignment="Center" Padding="0,6,0,0" Block.TextAlignment="Center"/>
  878. </Grid>
  879. <!--<Button Width="120" Height="30" Content="Abort" Canvas.Left="910" Canvas.Top="690" IsEnabled="{Binding IsAutoMode}"/>
  880. <Button Width="120" Height="30" Content="Chamber Offline" Canvas.Left="1110" Canvas.Top="690" IsEnabled="{Binding IsAutoMode}"/>-->
  881. </Canvas>
  882. <Grid Width="360" Height="190" Canvas.Left="1350" Canvas.Top="5" unity:GridOptions.LineBrush="#afb4db" unity:GridOptions.ShowBorder="True" Background="#E9EDF4">
  883. <Grid.RowDefinitions>
  884. <RowDefinition/>
  885. <RowDefinition/>
  886. <RowDefinition/>
  887. <RowDefinition/>
  888. <RowDefinition/>
  889. <RowDefinition/>
  890. <RowDefinition/>
  891. <RowDefinition/>
  892. </Grid.RowDefinitions>
  893. <Grid.ColumnDefinitions>
  894. <ColumnDefinition Width="2*"/>
  895. <ColumnDefinition Width="3*"/>
  896. </Grid.ColumnDefinitions>
  897. <TextBlock Grid.Row="0" Text="Recipe Name" FontSize="15" Padding="10,2,0,0" Background="#D0D8E8"/>
  898. <TextBlock Grid.Row="1" Text="Step Num/All" FontSize="15" Padding="10,2,0,0" Background="#D0D8E8"/>
  899. <TextBlock Grid.Row="2" Text="Step Type" FontSize="15" Padding="10,2,0,0" Background="#D0D8E8"/>
  900. <TextBlock Grid.Row="3" Text="Step Description" FontSize="15" Padding="10,2,0,0" Background="#D0D8E8"/>
  901. <TextBlock Grid.Row="4" Text="Step Elpased Time" FontSize="15" Padding="10,2,0,0" Background="#D0D8E8"/>
  902. <TextBlock Grid.Row="5" Text="Step Time(s)" FontSize="15" Padding="10,2,0,0" Background="#D0D8E8"/>
  903. <TextBlock Grid.Row="6" Text="Next Step" FontSize="15" Padding="10,2,0,0" Background="#D0D8E8"/>
  904. <TextBlock Grid.Row="7" Text="Cycle Num/All" FontSize="15" Padding="10,2,0,0" Background="#D0D8E8"/>
  905. <TextBlock Grid.Row="0" Grid.Column="1" Text="{Binding CurrentRecipeResult.RecipeName}" FontSize="15" Padding="10,2,0,0" Background="#E9EDF4"/>
  906. <TextBlock Grid.Row="1" Grid.Column="1" FontSize="15" Padding="10,2,0,0" Background="#E9EDF4">
  907. <TextBlock.Text>
  908. <MultiBinding StringFormat="{}{0}/{1}">
  909. <Binding Path="CurrentRecipeResult.RecipeStepNumber"></Binding>
  910. <Binding Path="CurrentRecipeResult.RecipeStepCount"></Binding>
  911. </MultiBinding>
  912. </TextBlock.Text>
  913. </TextBlock>
  914. <TextBlock Grid.Row="2" Grid.Column="1" Text="{Binding CurrentRecipeResult.RecipeStepType}" FontSize="15" Padding="10,2,0,0"/>
  915. <TextBlock Grid.Row="3" Grid.Column="1" Text="{Binding CurrentRecipeResult.RecipeStepDescription}" FontSize="15" Padding="10,2,0,0"/>
  916. <TextBlock Grid.Row="4" Grid.Column="1" Text="{Binding CurrentRecipeResult.RecipeStepDuringTime, StringFormat=hh\\:mm\\:ss}" FontSize="15" Padding="10,2,0,0"/>
  917. <TextBlock Grid.Row="5" Grid.Column="1" Text="{Binding CurrentRecipeResult.RecipeStepSetTime}" FontSize="15" Padding="10,2,0,0"/>
  918. <customControls:PathButton BorderThickness="0" PathData="{StaticResource Icon_Next}" Background="Transparent" DefaultFillBrush="Black" Foreground="White" Cursor="Hand" Grid.Row="6" Grid.Column="1" Visibility="{Binding IsProcessing,Converter={StaticResource BoolToVisibility2}}" Command="{Binding EndStepCommand}" Margin="15,0,0,0" HorizontalAlignment="Left"/>
  919. <TextBlock Grid.Row="7" Grid.Column="1" FontSize="15" Padding="10,2,0,0" Background="#E9EDF4">
  920. <TextBlock.Text>
  921. <MultiBinding StringFormat="{}{0}/{1}">
  922. <Binding Path="CurrentRecipeResult.RecipeCurrentCounter"></Binding>
  923. <Binding Path="CurrentRecipeResult.RecipeAllCounters"></Binding>
  924. </MultiBinding>
  925. </TextBlock.Text>
  926. </TextBlock>
  927. </Grid>
  928. <Grid Width="300" Height="260" Canvas.Left="500" Canvas.Top="402" Background="#E8E8E8" unity:GridOptions.LineBrush="#afb4db" unity:GridOptions.ShowBorder="True">
  929. <Grid.RowDefinitions>
  930. <RowDefinition/>
  931. <RowDefinition/>
  932. <RowDefinition/>
  933. <RowDefinition/>
  934. <RowDefinition/>
  935. <RowDefinition/>
  936. <RowDefinition/>
  937. <RowDefinition/>
  938. <RowDefinition/>
  939. <RowDefinition/>
  940. <!--<RowDefinition/>-->
  941. </Grid.RowDefinitions>
  942. <Grid.ColumnDefinitions>
  943. <ColumnDefinition Width="2*"/>
  944. <ColumnDefinition Width="*"/>
  945. <ColumnDefinition Width="*"/>
  946. </Grid.ColumnDefinitions>
  947. <TextBlock Text="Source RF" Grid.ColumnSpan="3" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  948. <TextBlock Grid.Row="1" Text="SRF Fwd Power(W)" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="10,0,0,0"/>
  949. <TextBlock Grid.Row="2" Text="SRF Ref Power(W)" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="10,0,0,0"/>
  950. <TextBlock Grid.Row="3" Text="SRF Match C1(%)" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="10,0,0,0"/>
  951. <TextBlock Grid.Row="4" Text="SRF Match C2(%)" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="10,0,0,0"/>
  952. <TextBox Grid.Row="1" Grid.Column="1" Width="Auto" Height="Auto" Text="{Binding SRFFwdPowerSetpoint,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="0" />
  953. <TextBlock Grid.Row="2" Grid.Column="1" Width="Auto" Height="Auto" Text="{Binding SRFData.ReflectPower,StringFormat='F1',UpdateSourceTrigger=PropertyChanged}" Background="#E8E8E8" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center" Grid.ColumnSpan="2"/>
  954. <TextBox Grid.Row="3" Grid.Column="1" Width="Auto" Height="Auto" Text="{Binding SRFMatchC1,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="0" />
  955. <TextBox Grid.Row="4" Grid.Column="1" Width="Auto" Height="Auto" Text="{Binding SRFMatchC2,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="0" />
  956. <TextBlock Grid.Row="1" Grid.Column="2" Width="Auto" Height="Auto" Text="{Binding SRFData.ForwardPower,StringFormat='F1'}" Background="#E8E8E8" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center"/>
  957. <!--<TextBlock Grid.Row="2" Grid.Column="2" Width="Auto" Height="Auto" Text="0.0" Background="#E8E8E8" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center"/>-->
  958. <TextBlock Grid.Row="3" Grid.Column="2" Width="Auto" Height="Auto" Text="{Binding MatchC1,StringFormat='F1'}" Background="#E8E8E8" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center"/>
  959. <TextBlock Grid.Row="4" Grid.Column="2" Width="Auto" Height="Auto" Text="{Binding MatchC2,StringFormat='F1'}" Background="#E8E8E8" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center"/>
  960. <TextBlock Text="Bias RF" Grid.Row="5" FontSize="15" Grid.ColumnSpan="3" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  961. <TextBlock Grid.Row="6" Text="BRF Fwd Power(W)" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="10,0,0,0"/>
  962. <TextBlock Grid.Row="7" Text="BRF Ref Power(W)" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="10,0,0,0"/>
  963. <TextBlock Grid.Row="8" Text="BRF Match C1(%)" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="10,0,0,0"/>
  964. <TextBlock Grid.Row="9" Text="BRF Match C2(%)" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="10,0,0,0"/>
  965. <!--<TextBlock Grid.Row="10" Text="DC Bias(V)" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="10,0,0,0"/>-->
  966. <TextBox Grid.Row="6" Grid.Column="1" Width="Auto" Height="Auto" Text="{Binding BRFFwdPowerSetpoint,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="0" />
  967. <!--<TextBox Grid.Row="7" Grid.Column="1" Width="Auto" Height="Auto" Text="0.0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="0" />-->
  968. <TextBox Grid.Row="8" Grid.Column="1" Width="Auto" Height="Auto" Text="{Binding BRFMatchC1,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="0" />
  969. <TextBox Grid.Row="9" Grid.Column="1" Width="Auto" Height="Auto" Text="{Binding BRFMatchC2,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="0" />
  970. <TextBlock Grid.Row="6" Grid.Column="2" Width="Auto" Height="Auto" Text="{Binding BRFData.ForwardPower,StringFormat='F1'}" Background="#E8E8E8" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center"/>
  971. <TextBlock Grid.Row="7" Grid.Column="1" Width="Auto" Height="Auto" Text="{Binding BRFData.ReflectPower,StringFormat='F1'}" Background="#E8E8E8" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center" Grid.ColumnSpan="2"/>
  972. <TextBlock Grid.Row="8" Grid.Column="2" Width="Auto" Height="Auto" Text="{Binding BiasMatchC1,StringFormat='F1'}" Background="#E8E8E8" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center"/>
  973. <TextBlock Grid.Row="9" Grid.Column="2" Width="Auto" Height="Auto" Text="{Binding BiasMatchC2,StringFormat='F1'}" Background="#E8E8E8" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center"/>
  974. <!--<TextBlock Grid.Row="10" Grid.Column="2" Width="Auto" Height="Auto" Text="0.0" Background="#E8E8E8" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center"/>-->
  975. </Grid>
  976. <Ellipse Width="20" Height="20" Fill="{Binding SRFData.IsRfOn,Converter={StaticResource boolToColor}}" Canvas.Left="500" Canvas.Top="375" Stroke="Silver" StrokeThickness="2"/>
  977. <Button Height="20" Width="100" Content="SRF ON/OFF" Canvas.Left="530" Canvas.Top="375" Command="{Binding SetSRfCommand}" Style="{StaticResource SysBtnStyle}" IsEnabled="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}"/>
  978. <Ellipse Width="20" Height="20" Fill="{Binding BRFData.IsRfOn,Converter={StaticResource boolToColor}}" Canvas.Left="650" Canvas.Top="375" Stroke="Silver" StrokeThickness="2"/>
  979. <Button Height="20" Width="100" Content="BRF ON/OFF" Canvas.Left="680" Canvas.Top="375" Command="{Binding SetBRfCommand}" Style="{StaticResource SysBtnStyle}" IsEnabled="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}"/>
  980. <Ellipse Width="20" Height="20" Fill="{Binding ESCHVData.IsOn,Converter={StaticResource boolToColor}}" Canvas.Left="500" Canvas.Top="205" Stroke="Silver" StrokeThickness="2"/>
  981. <Button Height="20" Width="100" Content="HV ON/OFF" Canvas.Left="530" Canvas.Top="205" Command="{Binding HVCommand}" CommandParameter="True" Style="{StaticResource SysBtnStyle}" IsEnabled="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}"/>
  982. <Grid Width="320" Height="80" Background="#E8E8E8" unity:GridOptions.LineBrush="#afb4db" unity:GridOptions.ShowBorder="True" Canvas.Left="500" Canvas.Top="230">
  983. <Grid.RowDefinitions>
  984. <RowDefinition/>
  985. <RowDefinition/>
  986. <RowDefinition/>
  987. </Grid.RowDefinitions>
  988. <Grid.ColumnDefinitions>
  989. <ColumnDefinition Width="2*"/>
  990. <ColumnDefinition Width="*"/>
  991. <ColumnDefinition Width="*"/>
  992. </Grid.ColumnDefinitions>
  993. <TextBlock Grid.Row="0" Text="ESC Voltage(V)" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="1,0,0,0"/>
  994. <TextBlock Grid.Row="1" Text="ESC Current Leak(uA)" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="1,0,0,0"/>
  995. <TextBlock Grid.Row="2" Text="ESC Temp.(°C)" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="1,0,0,0"/>
  996. <!--<TextBlock Grid.Row="3" Text="Chiller Temp.(°C)" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="1,0,0,0"/>
  997. <TextBlock Grid.Row="4" Text="Wall Temp.(°C)" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="1,0,0,0"/>-->
  998. <TextBox Grid.Row="0" Grid.Column="1" Width="Auto" Height="Auto" Text="{Binding ESCVoltage,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="White" BorderThickness="0"/>
  999. <TextBlock Grid.Row="1" Grid.ColumnSpan="2" Grid.Column="1" Width="Auto" Height="Auto" TextBlock.TextAlignment="Center" VerticalAlignment="Bottom" Block.TextAlignment="Center" Margin="0,0,0,4">
  1000. <TextBlock.Text>
  1001. <MultiBinding StringFormat="{}{0}-{1}={2}">
  1002. <Binding Path="ESCHVData.PositiveOutputCurrent"></Binding>
  1003. <Binding Path="ESCHVData.NegativeOutputCurrent"></Binding>
  1004. <Binding Path="ESCHVData.Leak"></Binding>
  1005. </MultiBinding>
  1006. </TextBlock.Text>
  1007. </TextBlock>
  1008. <TextBlock Grid.Row="2" Grid.ColumnSpan="2" Grid.Column="1" Width="Auto" Height="Auto" Text="{Binding HVTemperature,StringFormat='F1'}" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center"/>
  1009. <!--<TextBox Grid.Row="3" Grid.Column="1" Width="Auto" Height="Auto" Text="0.0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="White" BorderThickness="0" />
  1010. <TextBox Grid.Row="4" Grid.Column="1" Width="Auto" Height="Auto" Text="0.0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="White" BorderThickness="0" />-->
  1011. <TextBlock Grid.Row="0" Grid.Column="2" Text="{Binding ESCHVData.OutputVoltage}" FontSize="15" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center"/>
  1012. </Grid>
  1013. <Grid Width="400" Height="25" Background="#E8E8E8" unity:GridOptions.LineBrush="#afb4db" unity:GridOptions.ShowBorder="True" Canvas.Left="500" Canvas.Top="318">
  1014. <Grid.RowDefinitions>
  1015. <RowDefinition/>
  1016. </Grid.RowDefinitions>
  1017. <Grid.ColumnDefinitions>
  1018. <ColumnDefinition Width="3*"/>
  1019. <ColumnDefinition Width="*"/>
  1020. <ColumnDefinition Width="*"/>
  1021. <ColumnDefinition Width="4*"/>
  1022. </Grid.ColumnDefinitions>
  1023. <TextBlock Grid.Row="0" Text="Chiller Temp.(°C)" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="1,0,0,0"/>
  1024. <!--<TextBlock Grid.Row="1" Text="Wall Temp.(°C)" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="1,0,0,0"/>-->
  1025. <TextBox Grid.Row="0" Grid.Column="1" Width="Auto" Height="Auto" Text="{Binding ChillerTempSetpoint,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="White" BorderThickness="0" />
  1026. <!--<TextBox Grid.Row="1" Grid.Column="1" Width="Auto" Height="Auto" Text="{Binding WallTempSetpoint}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="White" BorderThickness="0" />-->
  1027. <TextBlock Grid.Row="0" Grid.Column="2" Text="{Binding ChillerTemperature,StringFormat='F1'}" FontSize="15" TextBlock.TextAlignment="Center" VerticalAlignment="Center" Block.TextAlignment="Center">
  1028. </TextBlock>
  1029. <StackPanel Orientation="Horizontal" Grid.Row="0" Grid.Column="3">
  1030. <Ellipse Width="18" Height="18" Fill="{Binding ChillerIsOn,Converter={StaticResource boolToColor}}" Stroke="Silver" StrokeThickness="2"/>
  1031. <Button Margin="5,0,0,0" Height="20" Width="70" Style="{x:Null}" Content="ON/OFF" Command="{Binding OnOffChillerCommand}" CommandParameter="True" IsEnabled="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Cursor="Hand"/>
  1032. <Button Margin="5,0,0,0" Height="20" Width="70" Style="{x:Null}" Content="Set" Command="{Binding SetChillerTempCommand}" CommandParameter="True" IsEnabled="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" Cursor="Hand"/>
  1033. </StackPanel>
  1034. </Grid>
  1035. <Grid Visibility="Hidden" Height="120" Width="300" Canvas.Left="400" Canvas.Top="70" Background="#E8E8E8" unity:GridOptions.ShowBorder="True">
  1036. <Grid.ColumnDefinitions>
  1037. <ColumnDefinition Width="2*"/>
  1038. <ColumnDefinition />
  1039. </Grid.ColumnDefinitions>
  1040. <Grid.RowDefinitions>
  1041. <RowDefinition/>
  1042. <RowDefinition/>
  1043. <RowDefinition/>
  1044. </Grid.RowDefinitions>
  1045. <TextBlock Grid.Row="0" Text="Base Pressure(mTorr)" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="10,0,0,0"/>
  1046. <TextBlock Grid.Row="0" Grid.Column="1" Text="" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="10,0,0,0"/>
  1047. <TextBlock Grid.Row="1" Grid.Column="0" Text="Leak Rate(mTorr/min)" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="10,0,0,0"/>
  1048. <TextBlock Grid.Row="1" Grid.Column="1" Text="" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="10,0,0,0"/>
  1049. <TextBlock Grid.Row="2" Grid.Column="0" Text="Leak Check Date" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="10,0,0,0"/>
  1050. <TextBlock Grid.Row="2" Grid.Column="1" Text="" FontSize="15" VerticalAlignment="Center" HorizontalAlignment="Left" Padding="10,0,0,0"/>
  1051. </Grid>
  1052. <Border BorderThickness="0,0,0,1" BorderBrush="Black" Canvas.Top="20" Canvas.Left="40">
  1053. <StackPanel Orientation="Horizontal" Margin="0,0,0,5">
  1054. <customControls:PathButton PathData="{StaticResource Icon_Home}" DefaultFillBrush="White" Command="{Binding PMInitCommnad}" Width="120" Height="30" Content="Initialize" Margin="10,0,0,0"/>
  1055. <customControls:PathButton PathData="{StaticResource Icon_Abort}" DefaultFillBrush="White" Command="{Binding PMAbortCommnad}" Width="120" Height="30" Content="Abort" Margin="50,0,30,0">
  1056. <customControls:PathButton.ContextMenu>
  1057. <ContextMenu>
  1058. <MenuItem Width="120" Header="Abort"/>
  1059. <MenuItem Width="120" Header="Abort"/>
  1060. <MenuItem Width="120" Header="Abort"/>
  1061. </ContextMenu>
  1062. </customControls:PathButton.ContextMenu>
  1063. </customControls:PathButton>
  1064. <RadioButton Content="OffLine" FontSize="15" Width="120" Height="28" Margin="0 0 5 0" Style="{StaticResource Button_RadioButton}" IsChecked="{Binding IsAutoMode,Converter={StaticResource BoolToBool},Mode=TwoWay}"/>
  1065. <RadioButton Content="OnLine" FontSize="15" Width="120" Height="28" Margin="0 0 30 0" Style="{StaticResource Button_RadioButton}" IsChecked="{Binding IsAutoMode,Mode=TwoWay}"/>
  1066. <customControls:PathButton Width="130" Height="30" Content="Vent" Command="{Binding VentCommand}" IsEnabled="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}" />
  1067. <customControls:PathButton Width="134" Height="30" Content="Pump Purge" Command="{Binding PurgeCommand}" Margin="50,0,0,0" IsEnabled="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}"/>
  1068. <customControls:PathButton Width="134" Height="30" Content="Pump Down" Command="{Binding PumpCommand}" Margin="50,0,0,0" IsEnabled="{Binding IsAutoMode,Converter={StaticResource BoolToBool}}"/>
  1069. </StackPanel>
  1070. </Border>
  1071. </Canvas>
  1072. </UserControl>