TMOperationView.xaml 64 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739
  1. <UserControl x:Class="Venus_MainPages.Views.TMOperationView"
  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. xmlns:prism="http://prismlibrary.com/"
  8. xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  9. prism:ViewModelLocator.AutoWireViewModel="True"
  10. xmlns:customControls="clr-namespace:Venus_Themes.CustomControls;assembly=Venus_Themes"
  11. xmlns:userControls="clr-namespace:Venus_Themes.UserControls;assembly=Venus_Themes"
  12. xmlns:converters="clr-namespace:Venus_Themes.Converters;assembly=Venus_Themes"
  13. xmlns:converters2="clr-namespace:Venus_MainPages.Converters"
  14. xmlns:unity="clr-namespace:Venus_MainPages.Unity"
  15. mc:Ignorable="d"
  16. d:DesignHeight="450" d:DesignWidth="1900" Name="tmOp">
  17. <i:Interaction.Triggers>
  18. <i:EventTrigger EventName="Loaded">
  19. <i:InvokeCommandAction Command="{Binding LoadCommand}" CommandParameter="{Binding ElementName=tmOp}"/>
  20. </i:EventTrigger>
  21. </i:Interaction.Triggers>
  22. <UserControl.Resources>
  23. <converters:BoolToBool x:Key="BoolToBool"/>
  24. <converters:BoolToColor x:Key="boolToColor"/>
  25. <converters:BoolToColor2 x:Key="boolToColor2"/>
  26. <converters:BoolToColor4 x:Key="boolToColor4"/>
  27. <converters:BoolToVisibility4 x:Key="BoolToVisibility"/>
  28. <converters2:AllMultiValueConverter x:Key="AllMultiValueConverter"/>
  29. <converters2:AnyMultiValueConverter x:Key="AnyMultiValueConverter"/>
  30. <converters2:mTorrToPaConverter x:Key="mTorrToPaConverter"/>
  31. </UserControl.Resources>
  32. <Canvas>
  33. <Canvas Canvas.Top="-20">
  34. <userControls:Pump Canvas.Left="486" Canvas.Top="764" Width="35" Height="35" IsOpen="{Binding RtDataValues[LLA.PumpIsRunning],Mode=TwoWay}">
  35. <userControls:Pump.ContextMenu>
  36. <ContextMenu>
  37. <MenuItem Header="ON" Command="{Binding OpenPumpCommand}" CommandParameter="LLA" IsChecked="{Binding RtDataValues[LLA.PumpIsRunning],Mode=OneWay}" IsEnabled="{Binding RtDataValues[LLA.PumpIsRunning],Converter={StaticResource BoolToBool},Mode=OneWay}"/>
  38. <MenuItem Header="OFF" Command="{Binding ClosePumpCommand}" CommandParameter="LLA" IsChecked="{Binding RtDataValues[LLA.PumpIsRunning],Converter={StaticResource BoolToBool},Mode=OneWay}" IsEnabled="{Binding RtDataValues[LLA.PumpIsRunning],Mode=OneWay}"/>
  39. </ContextMenu>
  40. </userControls:Pump.ContextMenu>
  41. </userControls:Pump>
  42. <userControls:Pump Canvas.Left="786" Canvas.Top="764" Width="35" Height="35" IsOpen="{Binding RtDataValues[LLB.PumpIsRunning],Mode=TwoWay}">
  43. <userControls:Pump.ContextMenu>
  44. <ContextMenu>
  45. <MenuItem Header="ON" Command="{Binding OpenPumpCommand}" CommandParameter="LLB" IsChecked="{Binding RtDataValues[LLB.PumpIsRunning],Mode=OneWay}" IsEnabled="{Binding RtDataValues[LLB.PumpIsRunning],Converter={StaticResource BoolToBool},Mode=OneWay}"/>
  46. <MenuItem Header="OFF" Command="{Binding ClosePumpCommand}" CommandParameter="LLB" IsChecked="{Binding RtDataValues[LLB.PumpIsRunning],Converter={StaticResource BoolToBool},Mode=OneWay}" IsEnabled="{Binding RtDataValues[LLB.PumpIsRunning],Mode=OneWay}"/>
  47. </ContextMenu>
  48. </userControls:Pump.ContextMenu>
  49. </userControls:Pump>
  50. <userControls:Pump Canvas.Left="636" Canvas.Top="664" Width="35" Height="35" IsOpen="{Binding RtDataValues[TM.PumpIsRunning],Mode=TwoWay}">
  51. <userControls:Pump.ContextMenu>
  52. <ContextMenu>
  53. <MenuItem Header="ON" Command="{Binding OpenPumpCommand}" CommandParameter="TM" IsChecked="{Binding RtDataValues[TM.PumpIsRunning],Mode=OneWay}" IsEnabled="{Binding RtDataValues[TM.PumpIsRunning],Converter={StaticResource BoolToBool},Mode=OneWay}"/>
  54. <MenuItem Header="OFF" Command="{Binding ClosePumpCommand}" CommandParameter="TM" IsChecked="{Binding RtDataValues[TM.PumpIsRunning],Converter={StaticResource BoolToBool},Mode=OneWay}" IsEnabled="{Binding RtDataValues[TM.PumpIsRunning],Mode=OneWay}"/>
  55. </ContextMenu>
  56. </userControls:Pump.ContextMenu>
  57. </userControls:Pump>
  58. <userControls:FlowPipe Height="8" Width="180" Canvas.Left="80" Canvas.Top="50" IsFlowing="{Binding TMValveN2IsOpen}"/>
  59. <Image Width="40" Height="25" Canvas.Top="42" Canvas.Left="40" Source="Pack://application:,,,/Venus_Themes;Component/Resources/Arrow.png" Stretch="Uniform"/>
  60. <TextBlock FontSize="15" Canvas.Top="46" Canvas.Left="10" Text="N2"/>
  61. <userControls:FlowPipe Height="8" Width="182" Canvas.Left="260" Canvas.Top="54" RotateTransformValue="90">
  62. <userControls:FlowPipe.IsFlowing>
  63. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  64. <Binding Path="TMSoftVentValveIsOpen"/>
  65. <Binding Path="TMFastVentValveIsOpen"/>
  66. <Binding Path="LLAVentValveIsOpen"/>
  67. <Binding Path="LLAPurgeValveIsOpen"/>
  68. </MultiBinding>
  69. </userControls:FlowPipe.IsFlowing>
  70. </userControls:FlowPipe>
  71. <userControls:FlowPipe Height="8" Width="36" Canvas.Left="258" Canvas.Top="230">
  72. <userControls:FlowPipe.IsFlowing>
  73. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  74. <Binding Path="TMSoftVentValveIsOpen"/>
  75. <Binding Path="TMFastVentValveIsOpen"/>
  76. </MultiBinding>
  77. </userControls:FlowPipe.IsFlowing>
  78. </userControls:FlowPipe>
  79. <userControls:FlowPipe Height="8" Width="102" Canvas.Left="260" Canvas.Top="235" RotateTransformValue="90">
  80. <userControls:FlowPipe.IsFlowing>
  81. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  82. <Binding Path="LLAVentValveIsOpen"/>
  83. <Binding Path="LLAPurgeValveIsOpen"/>
  84. </MultiBinding>
  85. </userControls:FlowPipe.IsFlowing>
  86. </userControls:FlowPipe>
  87. <userControls:FlowPipe Height="8" Width="60" Canvas.Left="260" Canvas.Top="335" RotateTransformValue="90" IsFlowing="{Binding LLAVentValveIsOpen}"/>
  88. <userControls:FlowPipe Height="8" Width="185" Canvas.Left="260" Canvas.Top="335" RotateTransformValue="0" IsFlowing="{Binding LLAPurgeValveIsOpen}"/>
  89. <userControls:FlowPipe Height="8" Width="55" Canvas.Left="450" Canvas.Top="340" RotateTransformValue="90" IsFlowing="{Binding LLAPurgeValveIsOpen}"/>
  90. <userControls:FlowPipe Height="8" Width="190" Canvas.Left="256" Canvas.Top="395" RotateTransformValue="0" IsFlowing="{Binding LLAPurgeValveIsOpen}" IsReverse="True"/>
  91. <userControls:FlowPipe Height="8" Width="60" Canvas.Left="260" Canvas.Top="395" RotateTransformValue="90" >
  92. <userControls:FlowPipe.IsFlowing>
  93. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  94. <Binding Path="LLAVentValveIsOpen"/>
  95. <Binding Path="LLAPurgeValveIsOpen"/>
  96. </MultiBinding>
  97. </userControls:FlowPipe.IsFlowing>
  98. </userControls:FlowPipe>
  99. <userControls:FlowPipe Height="8" Width="240" Canvas.Left="260" Canvas.Top="450" >
  100. <userControls:FlowPipe.IsFlowing>
  101. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  102. <Binding Path="LLAVentValveIsOpen"/>
  103. <Binding Path="LLAPurgeValveIsOpen"/>
  104. </MultiBinding>
  105. </userControls:FlowPipe.IsFlowing>
  106. </userControls:FlowPipe>
  107. <userControls:FlowPipe Height="8" Width="42" Canvas.Left="290" Canvas.Top="236" RotateTransformValue="-90" IsFlowing="{Binding TMFastVentValveIsOpen}"/>
  108. <userControls:FlowPipe Height="8" Width="40" Canvas.Left="298" Canvas.Top="234" RotateTransformValue="90" IsFlowing="{Binding TMSoftVentValveIsOpen}"/>
  109. <userControls:FlowPipe Height="8" Width="204" Canvas.Left="296" Canvas.Top="190" IsFlowing="{Binding TMFastVentValveIsOpen}"/>
  110. <userControls:FlowPipe Height="8" Width="204" Canvas.Left="296" Canvas.Top="270" IsFlowing="{Binding TMSoftVentValveIsOpen}"/>
  111. <userControls:FlowPipe Height="8" Width="42" Canvas.Left="500" Canvas.Top="236" RotateTransformValue="-90" IsFlowing="{Binding TMFastVentValveIsOpen}"/>
  112. <userControls:FlowPipe Height="8" Width="40" Canvas.Left="500" Canvas.Top="274" RotateTransformValue="-90" IsFlowing="{Binding TMSoftVentValveIsOpen}">
  113. </userControls:FlowPipe>
  114. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="506" Canvas.Top="230">
  115. <userControls:FlowPipe.IsFlowing>
  116. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  117. <Binding Path="TMSoftVentValveIsOpen"/>
  118. <Binding Path="TMFastVentValveIsOpen"/>
  119. </MultiBinding>
  120. </userControls:FlowPipe.IsFlowing>
  121. </userControls:FlowPipe>
  122. <userControls:FlowPipe Height="8" Width="804" Canvas.Left="256" Canvas.Top="50">
  123. <userControls:FlowPipe.IsFlowing>
  124. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  125. <Binding Path="LLBPurgeValveIsOpen"/>
  126. <Binding Path="LLBVentValveIsOpen"/>
  127. </MultiBinding>
  128. </userControls:FlowPipe.IsFlowing>
  129. </userControls:FlowPipe>
  130. <userControls:FlowPipe Height="8" Width="282" Canvas.Left="1072" Canvas.Top="54" RotateTransformValue="90">
  131. <userControls:FlowPipe.IsFlowing>
  132. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  133. <Binding Path="LLBVentValveIsOpen"/>
  134. <Binding Path="LLBPurgeValveIsOpen"/>
  135. </MultiBinding>
  136. </userControls:FlowPipe.IsFlowing>
  137. </userControls:FlowPipe>
  138. <userControls:FlowPipe Height="8" Width="60" Canvas.Left="1072" Canvas.Top="336" RotateTransformValue="90" IsFlowing="{Binding LLBVentValveIsOpen}"/>
  139. <userControls:FlowPipe Height="8" Width="54" Canvas.Left="1072" Canvas.Top="396" RotateTransformValue="90" >
  140. <userControls:FlowPipe.IsFlowing>
  141. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  142. <Binding Path="LLBVentValveIsOpen"/>
  143. <Binding Path="LLBPurgeValveIsOpen"/>
  144. </MultiBinding>
  145. </userControls:FlowPipe.IsFlowing>
  146. </userControls:FlowPipe>
  147. <userControls:FlowPipe Height="8" Width="190" Canvas.Left="1066" Canvas.Top="336" RotateTransformValue="180" IsFlowing="{Binding LLBPurgeValveIsOpen}"/>
  148. <userControls:FlowPipe Height="8" Width="58" Canvas.Left="876" Canvas.Top="334" RotateTransformValue="90" IsFlowing="{Binding LLBPurgeValveIsOpen}"/>
  149. <userControls:FlowPipe Height="8" Width="190" Canvas.Left="1066" Canvas.Top="396" RotateTransformValue="180" IsFlowing="{Binding LLBPurgeValveIsOpen}" IsReverse="True"/>
  150. <userControls:FlowPipe Height="8" Width="265" Canvas.Left="800" Canvas.Top="450" IsReverse="True">
  151. <userControls:FlowPipe.IsFlowing>
  152. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  153. <Binding Path="LLBVentValveIsOpen"/>
  154. <Binding Path="LLBPurgeValveIsOpen"/>
  155. </MultiBinding>
  156. </userControls:FlowPipe.IsFlowing>
  157. </userControls:FlowPipe>
  158. <userControls:FlowPipe Height="8" Width="115" Canvas.Left="657" Canvas.Top="432" RotateTransformValue="90">
  159. <userControls:FlowPipe.IsFlowing>
  160. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  161. <Binding Path="TMSoftPumpValveIsOpen"/>
  162. <Binding Path="TMFastPumpValveIsOpen"/>
  163. </MultiBinding>
  164. </userControls:FlowPipe.IsFlowing>
  165. </userControls:FlowPipe>
  166. <userControls:FlowPipe Height="8" Width="40" Canvas.Left="655" Canvas.Top="555" RotateTransformValue="-180" IsFlowing="{Binding TMSoftPumpValveIsOpen}"/>
  167. <userControls:FlowPipe Height="8" Width="36" Canvas.Left="654" Canvas.Top="547" IsFlowing="{Binding TMFastPumpValveIsOpen}"/>
  168. <userControls:FlowPipe Height="8" Width="55" Canvas.Left="617" Canvas.Top="554" RotateTransformValue="90" IsFlowing="{Binding TMSoftPumpValveIsOpen}"/>
  169. <userControls:FlowPipe Height="8" Width="55" Canvas.Left="697" Canvas.Top="554" RotateTransformValue="90" IsFlowing="{Binding TMFastPumpValveIsOpen}"/>
  170. <userControls:FlowPipe Height="8" Width="40" Canvas.Left="655" Canvas.Top="615" RotateTransformValue="-180" IsReverse="True" IsFlowing="{Binding TMSoftPumpValveIsOpen}"/>
  171. <userControls:FlowPipe Height="8" Width="36" Canvas.Left="654" Canvas.Top="607" IsFlowing="{Binding TMFastPumpValveIsOpen}" IsReverse="True"/>
  172. <userControls:FlowPipe Height="8" Width="54" Canvas.Left="657" Canvas.Top="614" RotateTransformValue="90">
  173. <userControls:FlowPipe.IsFlowing>
  174. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  175. <Binding Path="TMSoftPumpValveIsOpen"/>
  176. <Binding Path="TMFastPumpValveIsOpen"/>
  177. </MultiBinding>
  178. </userControls:FlowPipe.IsFlowing>
  179. </userControls:FlowPipe>
  180. <userControls:FlowPipe Height="8" Width="100" Canvas.Left="507" Canvas.Top="534" RotateTransformValue="90">
  181. <userControls:FlowPipe.IsFlowing>
  182. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  183. <Binding Path="LLASoftPumpValveIsOpen"/>
  184. <Binding Path="LLAFastPumpValveIsOpen"/>
  185. </MultiBinding>
  186. </userControls:FlowPipe.IsFlowing>
  187. </userControls:FlowPipe>
  188. <userControls:FlowPipe Height="8" Width="38" Canvas.Left="505" Canvas.Top="635" RotateTransformValue="-180" IsFlowing="{Binding LLASoftPumpValveIsOpen}"/>
  189. <userControls:FlowPipe Height="8" Width="38" Canvas.Left="504" Canvas.Top="627" IsFlowing="{Binding LLAFastPumpValveIsOpen}"/>
  190. <userControls:FlowPipe Height="8" Width="55" Canvas.Left="467" Canvas.Top="634" RotateTransformValue="90" IsFlowing="{Binding LLASoftPumpValveIsOpen}"/>
  191. <userControls:FlowPipe Height="8" Width="55" Canvas.Left="547" Canvas.Top="634" RotateTransformValue="90" IsFlowing="{Binding LLAFastPumpValveIsOpen}"/>
  192. <userControls:FlowPipe Height="8" Width="38" Canvas.Left="505" Canvas.Top="695" RotateTransformValue="-180" IsFlowing="{Binding LLASoftPumpValveIsOpen}"/>
  193. <userControls:FlowPipe Height="8" Width="38" Canvas.Left="504" Canvas.Top="687" IsFlowing="{Binding LLAFastPumpValveIsOpen}" IsReverse="True"/>
  194. <userControls:FlowPipe Height="8" Width="74" Canvas.Left="507" Canvas.Top="694" RotateTransformValue="90">
  195. <userControls:FlowPipe.IsFlowing>
  196. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  197. <Binding Path="LLASoftPumpValveIsOpen"/>
  198. <Binding Path="LLAFastPumpValveIsOpen"/>
  199. </MultiBinding>
  200. </userControls:FlowPipe.IsFlowing>
  201. </userControls:FlowPipe>
  202. <userControls:FlowPipe Height="8" Width="100" Canvas.Left="807" Canvas.Top="534" RotateTransformValue="90">
  203. <userControls:FlowPipe.IsFlowing>
  204. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  205. <Binding Path="LLBSoftPumpValveIsOpen"/>
  206. <Binding Path="LLBFastPumpValveIsOpen"/>
  207. </MultiBinding>
  208. </userControls:FlowPipe.IsFlowing>
  209. </userControls:FlowPipe>
  210. <userControls:FlowPipe Height="8" Width="38" Canvas.Left="840" Canvas.Top="635" RotateTransformValue="-180" IsFlowing="{Binding LLBFastPumpValveIsOpen}" IsReverse="True"/>
  211. <userControls:FlowPipe Height="8" Width="38" Canvas.Left="767" Canvas.Top="627" IsFlowing="{Binding LLBSoftPumpValveIsOpen}" IsReverse="True"/>
  212. <userControls:FlowPipe Height="8" Width="55" Canvas.Left="767" Canvas.Top="634" RotateTransformValue="90" IsFlowing="{Binding LLBSoftPumpValveIsOpen}"/>
  213. <userControls:FlowPipe Height="8" Width="55" Canvas.Left="847" Canvas.Top="634" RotateTransformValue="90" IsFlowing="{Binding LLBFastPumpValveIsOpen}"/>
  214. <userControls:FlowPipe Height="8" Width="38" Canvas.Left="807" Canvas.Top="695" RotateTransformValue="-180" IsFlowing="{Binding LLBSoftPumpValveIsOpen}"/>
  215. <userControls:FlowPipe Height="8" Width="38" Canvas.Left="804" Canvas.Top="687" IsFlowing="{Binding LLBFastPumpValveIsOpen}" IsReverse="True"/>
  216. <userControls:FlowPipe Height="8" Width="74" Canvas.Left="807" Canvas.Top="694" RotateTransformValue="90">
  217. <userControls:FlowPipe.IsFlowing>
  218. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  219. <Binding Path="LLBSoftPumpValveIsOpen"/>
  220. <Binding Path="LLBFastPumpValveIsOpen"/>
  221. </MultiBinding>
  222. </userControls:FlowPipe.IsFlowing>
  223. </userControls:FlowPipe>
  224. <customControls:CommonValveControl Status="{Binding TMValveN2IsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="160" Canvas.Top="44" Tag="TMValveN2" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding TMIsOFFline}"/>
  225. <customControls:CommonValveControl Status="{Binding TMFastVentValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="470" Canvas.Top="184" Tag="TMVentValve" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding TMIsOFFline}"/>
  226. <customControls:CommonValveControl Status="{Binding LLAVentValveIsOpen,Mode=TwoWay}" ValveOrientation="Vertical" Height="20" Width="20" Canvas.Left="245.5" Canvas.Top="360" Tag="LLAVentValve" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding TMIsOFFline}"/>
  227. <customControls:CommonValveControl Status="{Binding LLAPurgeValveIsOpen,Mode=TwoWay}" ValveOrientation="Vertical" Height="20" Width="20" Canvas.Left="437" Canvas.Top="360" Tag="LLAPurgeValve" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding TMIsOFFline}"/>
  228. <customControls:CommonValveControl Status="{Binding LLBVentValveIsOpen,Mode=TwoWay}" ValveOrientation="Vertical" Height="20" Width="20" Canvas.Left="1058" Canvas.Top="350" Tag="LLBVentValve" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding TMIsOFFline}"/>
  229. <customControls:CommonValveControl Status="{Binding LLBPurgeValveIsOpen,Mode=TwoWay}" ValveOrientation="Vertical" Height="20" Width="20" Canvas.Left="862" Canvas.Top="350" Tag="LLBPurgeValve" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding TMIsOFFline}"/>
  230. <customControls:CommonValveControl Status="{Binding TMSoftPumpValveIsOpen,Mode=TwoWay}" ValveOrientation="Vertical" Height="20" Width="20" Canvas.Left="603" Canvas.Top="570" Tag="TMSoftPumpValve" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding TMIsOFFline}"/>
  231. <customControls:CommonValveControl Status="{Binding TMFastPumpValveIsOpen,Mode=TwoWay}" ValveOrientation="Vertical" Height="20" Width="20" Canvas.Left="683" Canvas.Top="570" Tag="TMFastPumpValve" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding TMIsOFFline}"/>
  232. <customControls:CommonValveControl Status="{Binding LLASoftPumpValveIsOpen,Mode=TwoWay}" ValveOrientation="Vertical" Height="20" Width="20" Canvas.Left="453" Canvas.Top="650" Tag="LLASoftPumpValve" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding TMIsOFFline}"/>
  233. <customControls:CommonValveControl Status="{Binding LLAFastPumpValveIsOpen,Mode=TwoWay}" ValveOrientation="Vertical" Height="20" Width="20" Canvas.Left="533" Canvas.Top="650" Tag="LLAFastPumpValve" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding TMIsOFFline}"/>
  234. <customControls:CommonValveControl Status="{Binding LLBSoftPumpValveIsOpen,Mode=TwoWay}" ValveOrientation="Vertical" Height="20" Width="20" Canvas.Left="753" Canvas.Top="650" Tag="LLBSoftPumpValve" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding TMIsOFFline}"/>
  235. <customControls:CommonValveControl Status="{Binding LLBFastPumpValveIsOpen,Mode=TwoWay}" ValveOrientation="Vertical" Height="20" Width="20" Canvas.Left="833" Canvas.Top="650" Tag="LLBFastPumpValve" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding TMIsOFFline}"/>
  236. <userControls:Pipe2 Canvas.Left="1072" Canvas.Top="445" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="90" />
  237. <userControls:Pipe2 Canvas.Left="1059" Canvas.Top="50" HorizontalAlignment="Left" VerticalAlignment="Top" />
  238. <userControls:Pipe2 Canvas.Left="265" Canvas.Top="458" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="180"/>
  239. <userControls:Pipe2 Canvas.Left="495" Canvas.Top="190" HorizontalAlignment="Left" VerticalAlignment="Top" />
  240. <userControls:Pipe2 Canvas.Left="508" Canvas.Top="265" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="90" />
  241. <userControls:Pipe2 Canvas.Left="303" Canvas.Top="278" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="180"/>
  242. <userControls:Pipe2 Canvas.Left="290" Canvas.Top="203" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="270"/>
  243. <userControls:Pipe2 Canvas.Left="684" Canvas.Top="547" HorizontalAlignment="Left" VerticalAlignment="Top" />
  244. <userControls:Pipe2 Canvas.Left="697" Canvas.Top="602" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="90" />
  245. <userControls:Pipe2 Canvas.Left="622" Canvas.Top="615" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="180"/>
  246. <userControls:Pipe2 Canvas.Left="609" Canvas.Top="560" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="270"/>
  247. <userControls:Pipe2 Canvas.Left="534" Canvas.Top="627" HorizontalAlignment="Left" VerticalAlignment="Top" />
  248. <userControls:Pipe2 Canvas.Left="547" Canvas.Top="682" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="90" />
  249. <userControls:Pipe2 Canvas.Left="472" Canvas.Top="695" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="180"/>
  250. <userControls:Pipe2 Canvas.Left="459" Canvas.Top="640" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="270"/>
  251. <userControls:Pipe2 Canvas.Left="834" Canvas.Top="627" HorizontalAlignment="Left" VerticalAlignment="Top" />
  252. <userControls:Pipe2 Canvas.Left="847" Canvas.Top="682" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="90" />
  253. <userControls:Pipe2 Canvas.Left="772" Canvas.Top="695" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="180"/>
  254. <userControls:Pipe2 Canvas.Left="759" Canvas.Top="640" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="270"/>
  255. <!--<userControls:Pipe2 Canvas.Left="512" Canvas.Top="728" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="180"/>
  256. <userControls:Pipe2 Canvas.Left="807" Canvas.Top="715" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="90"/>-->
  257. <userControls:Pipe2 Canvas.Left="437" Canvas.Top="335" HorizontalAlignment="Left" VerticalAlignment="Top" />
  258. <userControls:Pipe2 Canvas.Left="450" Canvas.Top="390" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="90" />
  259. <userControls:Pipe2 Canvas.Left="881" Canvas.Top="396" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="180"/>
  260. <userControls:Pipe2 Canvas.Left="868" Canvas.Top="341" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="270"/>
  261. <TextBlock FontSize="15" Canvas.Top="70" Canvas.Left="162" Text="V1"/>
  262. <TextBlock FontSize="15" Canvas.Top="164" Canvas.Left="435" Text="Fast Vent V5"/>
  263. <TextBlock FontSize="15" Canvas.Top="288" Canvas.Left="435" Text="Soft Vent V4"/>
  264. <TextBlock FontSize="15" Canvas.Top="345" Canvas.Left="212" Text="Fast&#x0A;Vent&#x0A; V10"/>
  265. <TextBlock FontSize="15" Canvas.Top="345" Canvas.Left="462" Text="Soft&#x0A;Vent&#x0A; V9"/>
  266. <TextBlock FontSize="15" Canvas.Top="335" Canvas.Left="1080" Text="Fast&#x0A;Vent&#x0A;V17"/>
  267. <TextBlock FontSize="15" Canvas.Top="335" Canvas.Left="830" Text="Soft&#x0A;Vent&#x0A;V16"/>
  268. <TextBlock FontSize="15" Canvas.Top="805" Canvas.Left="466" Text="LLA Pump"/>
  269. <TextBlock FontSize="15" Canvas.Top="805" Canvas.Left="766" Text="LLB Pump"/>
  270. <TextBlock FontSize="15" Canvas.Top="700" Canvas.Left="620" Text="TM Pump"/>
  271. <TextBlock FontSize="13" Canvas.Top="565" Canvas.Left="565" Text="Soft&#x0A;Pump&#x0A; V2"/>
  272. <TextBlock FontSize="13" Canvas.Top="565" Canvas.Left="705" Text="Fast&#x0A;Pump&#x0A; V3"/>
  273. <TextBlock FontSize="13" Canvas.Top="640" Canvas.Left="420" Text="Soft&#x0A;Pump&#x0A; V7"/>
  274. <TextBlock FontSize="13" Canvas.Top="640" Canvas.Left="555" Text="Fast&#x0A;Pump&#x0A; V8"/>
  275. <TextBlock FontSize="13" Canvas.Top="640" Canvas.Left="775" Text="Soft&#x0A;Pump&#x0A;V14"/>
  276. <TextBlock FontSize="13" Canvas.Top="640" Canvas.Left="855" Text="Fast&#x0A;Pump&#x0A;V15"/>
  277. <Border Background="White" BorderBrush="Gray" BorderThickness="0" Width="60" Height="6" Canvas.Left="785" Canvas.Top="244" >
  278. </Border>
  279. <Border Background="White" BorderBrush="Gray" BorderThickness="0" Width="18" Height="6" Canvas.Left="808" Canvas.Top="226" >
  280. <Border.RenderTransform>
  281. <RotateTransform Angle="90"/>
  282. </Border.RenderTransform>
  283. </Border>
  284. <Border Background="White" BorderBrush="Gray" BorderThickness="0" Width="18" Height="6" Canvas.Left="830" Canvas.Top="226" >
  285. <Border.RenderTransform>
  286. <RotateTransform Angle="90"/>
  287. </Border.RenderTransform>
  288. </Border>
  289. <Ellipse Width="20" Height="20" Canvas.Left="817" Canvas.Top="210" Fill="{Binding RtDataValues[TM.IoSensor.TMATMSwitch.Value],Converter={StaticResource boolToColor}}" Stroke="Silver" StrokeThickness="2"></Ellipse>
  290. <Ellipse Width="20" Height="20" Canvas.Left="795" Canvas.Top="210" Fill="{Binding RtDataValues[TM.IoSensor.TMVacSwitch.Value],Converter={StaticResource boolToColor}}" Stroke="Silver" StrokeThickness="2"></Ellipse>
  291. <userControls:TextBlockWithLabel Canvas.Left="840" Canvas.Top="217" LabelValue="{Binding PressureType, StringFormat=CM3({0})}" TextBoxValue="{Binding RtDataValues[TM.TMProcessGauge.Value],StringFormat='F1'}"/>
  292. <TextBlock Text="ATM" Canvas.Left="818" Canvas.Top="195"/>
  293. <TextBlock Text="VAC" Canvas.Left="790" Canvas.Top="195"/>
  294. <Border Background="White" BorderBrush="Gray" BorderThickness="0" Width="60" Height="6" Canvas.Left="805" Canvas.Top="524" >
  295. </Border>
  296. <Border Background="White" BorderBrush="Gray" BorderThickness="0" Width="18" Height="6" Canvas.Left="830" Canvas.Top="530" >
  297. <Border.RenderTransform>
  298. <RotateTransform Angle="90"/>
  299. </Border.RenderTransform>
  300. </Border>
  301. <Border Background="White" BorderBrush="Gray" BorderThickness="0" Width="18" Height="6" Canvas.Left="850" Canvas.Top="530" >
  302. <Border.RenderTransform>
  303. <RotateTransform Angle="90"/>
  304. </Border.RenderTransform>
  305. </Border>
  306. <Ellipse Width="20" Height="20" Canvas.Left="837" Canvas.Top="544" Fill="{Binding RtDataValues[TM.IoSensor.LLBATMSwitch.Value],Converter={StaticResource boolToColor}}" Stroke="Silver" StrokeThickness="2"></Ellipse>
  307. <Ellipse Width="20" Height="20" Canvas.Left="817" Canvas.Top="544" Fill="{Binding RtDataValues[TM.IoSensor.LLBVacSwitch.Value],Converter={StaticResource boolToColor}}" Stroke="Silver" StrokeThickness="2"></Ellipse>
  308. <userControls:TextBlockWithLabel Canvas.Left="858" Canvas.Top="498" LabelValue="{Binding PressureType, StringFormat=CM4({0})}" TextBoxValue="{Binding RtDataValues[TM.LLBPressureGauge.Value],StringFormat='F1'}"/>
  309. <TextBlock Text="ATM" Canvas.Left="468" Canvas.Top="565"/>
  310. <TextBlock Text="VAC" Canvas.Left="440" Canvas.Top="565"/>
  311. <userControls:TextBlockWithLabel Canvas.Left="300" Canvas.Top="245" LabelValue="{Binding PressureType, StringFormat=Pressure({0})}" TextBoxValue="{Binding RtDataValues[TM.TMPressureCtrl.TMChamberSetPoint],StringFormat='F1'}"/>
  312. <userControls:TextBlockWithLabel Canvas.Left="391" Canvas.Top="245" LabelValue="Flow(sccm)" TextBoxValue="{Binding RtDataValues[TM.TM_MFC1].FeedBack,StringFormat='F1'}"/>
  313. <Border Background="White" BorderBrush="Gray" BorderThickness="0" Width="60" Height="6" Canvas.Left="445" Canvas.Top="524" >
  314. </Border>
  315. <Border Background="White" BorderBrush="Gray" BorderThickness="0" Width="18" Height="6" Canvas.Left="460" Canvas.Top="530" >
  316. <Border.RenderTransform>
  317. <RotateTransform Angle="90"/>
  318. </Border.RenderTransform>
  319. </Border>
  320. <Border Background="White" BorderBrush="Gray" BorderThickness="0" Width="18" Height="6" Canvas.Left="480" Canvas.Top="526" >
  321. <Border.RenderTransform>
  322. <RotateTransform Angle="90"/>
  323. </Border.RenderTransform>
  324. </Border>
  325. <Ellipse Width="20" Height="20" Canvas.Left="467" Canvas.Top="544" Fill="{Binding RtDataValues[TM.IoSensor.LLAATMSwitch.Value],Converter={StaticResource boolToColor}}" Stroke="Silver" StrokeThickness="2"></Ellipse>
  326. <Ellipse Width="20" Height="20" Canvas.Left="447" Canvas.Top="544" Fill="{Binding RtDataValues[TM.IoSensor.LLAVacSwitch.Value],Converter={StaticResource boolToColor}}" Stroke="Silver" StrokeThickness="2"></Ellipse>
  327. <userControls:TextBlockWithLabel Canvas.Left="378" Canvas.Top="498" LabelValue="{Binding PressureType, StringFormat=CM5({0})}" TextBoxValue="{Binding RtDataValues[TM.LLAPressureGauge.Value],StringFormat='F1'}"/>
  328. <TextBlock Text="ATM" Canvas.Left="838" Canvas.Top="565"/>
  329. <TextBlock Text="VAC" Canvas.Left="810" Canvas.Top="565"/>
  330. <Border Background="White" BorderBrush="Gray" BorderThickness="0" Width="20" Height="6" Canvas.Left="654" Canvas.Top="644" >
  331. </Border>
  332. <userControls:TextBlockWithLabel Canvas.Left="668" Canvas.Top="619" LabelValue="{Binding PressureType, StringFormat=CM6({0})}" TextBoxValue="{Binding RtDataValues[TM.TMForelineGauge.Value],StringFormat='F1'}"/>
  333. <Ellipse Width="20" Height="20" Canvas.Left="100" Canvas.Top="44" Stroke="Silver" StrokeThickness="2" ToolTip="Pressure Alarm" Fill="{Binding RtDataValues[TM.IoSensor.N2PressureSwitch.Value],Converter={StaticResource boolToColor4}}"></Ellipse>
  334. <Border BorderBrush="Gray" Background="White" BorderThickness="0" Width="44" Height="6" Canvas.Left="456" Canvas.Top="744" />
  335. <Border BorderBrush="Gray" Background="White" BorderThickness="0" Width="46" Height="6" Canvas.Left="807" Canvas.Top="744" />
  336. <userControls:TextBlockWithLabel Canvas.Left="388" Canvas.Top="719" LabelValue="{Binding PressureType, StringFormat=CM7({0})}" TextBoxValue="{Binding RtDataValues[TM.LLAForelineGauge.Value],StringFormat='F1'}"/>
  337. <userControls:TextBlockWithLabel Canvas.Left="848" Canvas.Top="719" LabelValue="{Binding PressureType, StringFormat=CM8({0})}" TextBoxValue="{Binding RtDataValues[TM.LLBForelineGauge.Value],StringFormat='F1'}"/>
  338. <userControls:TextBlockWithLabel Canvas.Left="265" Canvas.Top="310" LabelValue="{Binding PressureType, StringFormat=Pressure({0})}" TextBoxValue="{Binding RtDataValues[TM.TMPressureCtrl.LLAChamberSetPoint],StringFormat='F1'}"/>
  339. <userControls:TextBlockWithLabel Canvas.Left="355" Canvas.Top="310" LabelValue="Flow(sccm)" TextBoxValue="{Binding RtDataValues[TM.LLA_MFC1].FeedBack,StringFormat='F1'}"/>
  340. <userControls:TextBlockWithLabel Canvas.Left="976" Canvas.Top="302" LabelValue="{Binding PressureType, StringFormat=Pressure({0})}" TextBoxValue="{Binding RtDataValues[TM.TMPressureCtrl.LLBChamberSetPoint],StringFormat='F1'}"/>
  341. <userControls:TextBlockWithLabel Canvas.Left="892" Canvas.Top="302" LabelValue="Flow(sccm)" TextBoxValue="{Binding RtDataValues[TM.LLB_MFC1].FeedBack,StringFormat='F1'}" />
  342. <userControls:FlowPipe BorderBrush="Gray" BorderThickness="0" Width="100" Height="8" Canvas.Left="780" Canvas.Top="300" IsFlowing="{Binding TMVentExhaustValveIsOpen}"/>
  343. <userControls:FlowPipe BorderBrush="Gray" BorderThickness="0" Width="100" Height="8" Canvas.Left="400" Canvas.Top="485" IsFlowing="{Binding LLAVentExhaustValveIsOpen}" IsReverse="True"/>
  344. <userControls:FlowPipe BorderBrush="Gray" BorderThickness="0" Width="100" Height="8" Canvas.Left="808" Canvas.Top="485" IsFlowing="{Binding LLBVentExhaustValveIsOpen}"/>
  345. <customControls:CommonValveControl Status="{Binding TMVentExhaustValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="840" Canvas.Top="294" Tag="TMVentExhaustValve" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding TMIsOFFline}"/>
  346. <customControls:CommonValveControl Status="{Binding LLAVentExhaustValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="440" Canvas.Top="480" Tag="LLAVentExhaustValve" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding TMIsOFFline}"/>
  347. <customControls:CommonValveControl Status="{Binding LLBVentExhaustValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="850" Canvas.Top="480" Tag="LLBVentExhaustValve" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding TMIsOFFline}"/>
  348. <TextBlock Text="TM Exhaust V6" Canvas.Left="810" Canvas.Top="280"/>
  349. <TextBlock Text="LLA Exhaust V11" Canvas.Left="390" Canvas.Top="465"/>
  350. <TextBlock Text="LLB Exhaust V18" Canvas.Left="820" Canvas.Top="465"/>
  351. </Canvas>
  352. <userControls:NiceMainTMWithLoadLock Width="750" Height="750" Canvas.Left="518" Canvas.Top="-135" PMADoorIsOpen="{Binding RtDataValues[TM.PMASlitDoor.IsClosed],Converter={StaticResource BoolToBool}}" PMBDoorIsOpen="{Binding RtDataValues[TM.PMBSlitDoor.IsClosed],Converter={StaticResource BoolToBool}}" PMCDoorIsOpen="{Binding RtDataValues[TM.PMCSlitDoor.IsClosed],Converter={StaticResource BoolToBool}}" PMDDoorIsOpen="{Binding RtDataValues[TM.PMDSlitDoor.IsClosed],Converter={StaticResource BoolToBool}}" LLATDoorIsOpen="{Binding RtDataValues[TM.LLATSlitDoor.IsClosed],Converter={StaticResource BoolToBool}}" LLAEDoorIsOpen="{Binding RtDataValues[TM.LLAESlitDoor.IsClosed],Converter={StaticResource BoolToBool}}" LLBTDoorIsOpen="{Binding RtDataValues[TM.LLBTSlitDoor.IsClosed],Converter={StaticResource BoolToBool}}" LLBEDoorIsOpen="{Binding RtDataValues[TM.LLBESlitDoor.IsClosed],Converter={StaticResource BoolToBool}}" IsEnabled="{Binding TMIsOFFline}"/>
  353. <customControls:CommonValveControl Status="{Binding TMSoftVentValveIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="470" Canvas.Top="244" Tag="TMPurgeValve" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding TMIsOFFline}"/>
  354. <Grid Canvas.Top="10" Canvas.Right="30" Width="740">
  355. <Grid.RowDefinitions>
  356. <RowDefinition Height="30"/>
  357. <RowDefinition />
  358. </Grid.RowDefinitions>
  359. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_FirstTitle}" Padding="5,1">
  360. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
  361. <Path Data="M0,0 L5,0 5,5 z" Fill="White" HorizontalAlignment="Left" Grid.Row="1" RenderTransformOrigin="0.5,0.5" Stretch="Fill" Width="5" Height="5">
  362. <Path.RenderTransform>
  363. <TransformGroup>
  364. <ScaleTransform/>
  365. <SkewTransform/>
  366. <RotateTransform Angle="45"/>
  367. <TranslateTransform/>
  368. </TransformGroup>
  369. </Path.RenderTransform>
  370. </Path>
  371. <TextBlock Margin="5,0,0,0" Text="TM Operation" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_White}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  372. </StackPanel>
  373. </Border>
  374. <Border Grid.Row="1" BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" BorderThickness="0,0,0,0" >
  375. <Grid Grid.Row="2" unity:GridOptions.ShowBorder="True" unity:GridOptions.LineBrush="#E5E6E7" unity:GridOptions.LineThickness="1" Background="{DynamicResource Table_BG_Content}">
  376. <Grid.RowDefinitions>
  377. <RowDefinition/>
  378. <RowDefinition/>
  379. <!--<RowDefinition/>-->
  380. </Grid.RowDefinitions>
  381. <Grid.ColumnDefinitions>
  382. <ColumnDefinition/>
  383. <ColumnDefinition/>
  384. <ColumnDefinition/>
  385. <ColumnDefinition/>
  386. <ColumnDefinition/>
  387. </Grid.ColumnDefinitions>
  388. <!--<TextBlock Text="Purge Count" Padding="30,10,0,0" Background="#D0D8E8"/>
  389. <TextBlock Text="All Count" Grid.Column="2" Padding="40,10,0,5" Background="#D0D8E8"/>-->
  390. <StackPanel Grid.Row="0" Grid.ColumnSpan="5" Orientation="Horizontal" HorizontalAlignment="Center" Height="35">
  391. <Button Content="Home" Width="100" Height="28" Margin="0,0,5,0" Command="{Binding HomeCommand}" CommandParameter="TM" IsEnabled="{Binding Path=TMIsOFFline}"/>
  392. <Button Content="Vent" Width="100" Height="28" Margin="0 0 5 0" IsEnabled="{Binding Path=TMIsOFFline}" Command="{Binding VentCommand}" CommandParameter="TM"/>
  393. <Button Content="Pump" Width="100" Height="28" Margin="0 0 5 0" IsEnabled="{Binding Path=TMIsOFFline}" Command="{Binding PumpCommand}" CommandParameter="TM"/>
  394. <!--<customControls:PathButton Content="Check Load" Width="114" Height="28" Margin="5,0,0,0" Visibility="{Binding ElementName=tmRadioButton,Path=IsChecked,Converter={StaticResource bool2VisibilityConverter}}" IsEnabled="{Binding Path=TMIsOFFline}"/>-->
  395. <Button Content="Purge" Width="100" Margin="0,3,0,3" Height="28" VerticalAlignment="Center" Grid.Column="4" Command="{Binding PurgeCommand}" CommandParameter="TM" IsEnabled="{Binding Path=TMIsOFFline}"/>
  396. <!--<customControls:PathButton Content="Control Pressure" Height="28" Margin="5 0 0 0" Command="{Binding SetTMChamberPressureCommand}" CommandParameter="" Visibility="{Binding ElementName=tmRadioButton,Path=IsChecked,Converter={StaticResource BoolToVisibility}}" IsEnabled="{Binding Path=IsOFFline}"/>-->
  397. <!--<TextBox Text="{Binding TMChamberPressureSetPoint,UpdateSourceTrigger=PropertyChanged}" Width="60" Height="28" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Visibility="{Binding ElementName=tmRadioButton,Path=IsChecked,Converter={StaticResource bool2VisibilityConverter}}"/>-->
  398. <Button Content="Abort" Width="100" Height="28" Margin="5,0,5,0" Command="{Binding AbortCommand}" CommandParameter="TM" IsEnabled="{Binding Path=TMIsOFFline}"/>
  399. </StackPanel>
  400. <StackPanel Grid.Row="1" Grid.ColumnSpan="5" Orientation="Horizontal" HorizontalAlignment="Center" Height="35">
  401. <RadioButton Content="Offline" Grid.Row="2" Grid.Column="3" Width="80" Height="28" Margin="0 0 5 0" Style="{StaticResource Button_RadioButton}" IsChecked="{Binding TMIsOFFline,Mode=OneWay}" Command="{Binding OfflineCommand}" CommandParameter="TM"/>
  402. <RadioButton Content="Online" Grid.Row="2" Grid.Column="2" Width="80" Height="28" Margin="5 0 0 0" Style="{StaticResource Button_RadioButton}" IsChecked="{Binding TMIsOFFline,Converter={StaticResource BoolToBool},Mode=OneWay}" Command="{Binding OnlineCommand}" CommandParameter="TM"/>
  403. </StackPanel>
  404. </Grid>
  405. </Border>
  406. </Grid>
  407. <Grid Canvas.Top="160" Canvas.Right="30" Width="740">
  408. <Grid.RowDefinitions>
  409. <RowDefinition Height="30"/>
  410. <RowDefinition />
  411. </Grid.RowDefinitions>
  412. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_FirstTitle}" Padding="5,1">
  413. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
  414. <Path Data="M0,0 L5,0 5,5 z" Fill="White" HorizontalAlignment="Left" Grid.Row="1" RenderTransformOrigin="0.5,0.5" Stretch="Fill" Width="5" Height="5">
  415. <Path.RenderTransform>
  416. <TransformGroup>
  417. <ScaleTransform/>
  418. <SkewTransform/>
  419. <RotateTransform Angle="45"/>
  420. <TranslateTransform/>
  421. </TransformGroup>
  422. </Path.RenderTransform>
  423. </Path>
  424. <TextBlock Margin="5,0,0,0" Text="LLA Operation" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_White}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  425. </StackPanel>
  426. </Border>
  427. <Border Grid.Row="1" BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" BorderThickness="0,0,0,0" >
  428. <Grid Grid.Row="2" unity:GridOptions.ShowBorder="True" unity:GridOptions.LineBrush="Black" unity:GridOptions.LineThickness="1" Background="{DynamicResource Table_BG_Content}">
  429. <Grid.RowDefinitions>
  430. <RowDefinition/>
  431. <RowDefinition/>
  432. <!--<RowDefinition/>-->
  433. </Grid.RowDefinitions>
  434. <Grid.ColumnDefinitions>
  435. <ColumnDefinition/>
  436. <ColumnDefinition/>
  437. <ColumnDefinition/>
  438. <ColumnDefinition/>
  439. <ColumnDefinition/>
  440. </Grid.ColumnDefinitions>
  441. <!--<TextBlock Text="Purge Count" Padding="30,10,0,0" Background="#D0D8E8"/>
  442. <TextBlock Text="All Count" Grid.Column="2" Padding="40,10,0,5" Background="#D0D8E8"/>-->
  443. <StackPanel Grid.Row="0" Grid.ColumnSpan="5" Orientation="Horizontal" HorizontalAlignment="Center" Height="35">
  444. <Button Content="Home" Width="100" Height="28" Margin="0,0,5,0" Command="{Binding HomeCommand}" CommandParameter="LLA" IsEnabled="{Binding Path=LLAIsOFFline}"/>
  445. <Button Content="Vent" Width="100" Height="28" Margin="0 0 5 0" IsEnabled="{Binding Path=LLAIsOFFline}" Command="{Binding VentCommand}" CommandParameter="LLA"/>
  446. <Button Content="Pump" Width="100" Height="28" Margin="0 0 5 0" IsEnabled="{Binding Path=LLAIsOFFline}" Command="{Binding PumpCommand}" CommandParameter="LLA"/>
  447. <!--<customControls:PathButton Content="Check Load" Width="114" Height="28" Margin="5,0,0,0" Visibility="{Binding ElementName=tmRadioButton,Path=IsChecked,Converter={StaticResource bool2VisibilityConverter}}" IsEnabled="{Binding Path=TMIsOFFline}"/>-->
  448. <Button Content="Purge" Width="100" Margin="0,3,0,3" Height="28" VerticalAlignment="Center" Grid.Column="4" Command="{Binding PurgeCommand}" CommandParameter="LLA" IsEnabled="{Binding Path=LLAIsOFFline}"/>
  449. <Button Content="Control Pressure" Width="110" Height="28" Margin="5 0 0 0" Command="{Binding SetTMChamberPressureCommand}" CommandParameter="LLA" IsEnabled="{Binding Path=LLAIsOFFline}"/>
  450. <!--<TextBox Text="{Binding TMChamberPressureSetPoint,UpdateSourceTrigger=PropertyChanged}" Width="60" Height="28" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Visibility="{Binding ElementName=tmRadioButton,Path=IsChecked,Converter={StaticResource bool2VisibilityConverter}}"/>-->
  451. <Button Content="Abort" Width="100" Height="28" Margin="5,0,5,0" Command="{Binding AbortCommand}" CommandParameter="LLA" IsEnabled="{Binding Path=LLAIsOFFline}"/>
  452. </StackPanel>
  453. <StackPanel Grid.Row="1" Grid.ColumnSpan="5" Orientation="Horizontal" HorizontalAlignment="Center" Height="35">
  454. <RadioButton Content="Offline" Grid.Row="2" Grid.Column="3" Width="80" Height="28" Margin="0 0 5 0" Style="{StaticResource Button_RadioButton}" IsChecked="{Binding LLAIsOFFline,Mode=OneWay}" Command="{Binding OfflineCommand}" CommandParameter="LLA"/>
  455. <RadioButton Content="Online" Grid.Row="2" Grid.Column="2" Width="80" Height="28" Margin="5 0 0 0" Style="{StaticResource Button_RadioButton}" IsChecked="{Binding LLAIsOFFline,Converter={StaticResource BoolToBool},Mode=OneWay}" Command="{Binding OnlineCommand}" CommandParameter="LLA"/>
  456. </StackPanel>
  457. </Grid>
  458. </Border>
  459. </Grid>
  460. <Grid Canvas.Top="310" Canvas.Right="30" Width="740">
  461. <Grid.RowDefinitions>
  462. <RowDefinition Height="30"/>
  463. <RowDefinition />
  464. </Grid.RowDefinitions>
  465. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_FirstTitle}" Padding="5,1">
  466. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
  467. <Path Data="M0,0 L5,0 5,5 z" Fill="White" HorizontalAlignment="Left" Grid.Row="1" RenderTransformOrigin="0.5,0.5" Stretch="Fill" Width="5" Height="5">
  468. <Path.RenderTransform>
  469. <TransformGroup>
  470. <ScaleTransform/>
  471. <SkewTransform/>
  472. <RotateTransform Angle="45"/>
  473. <TranslateTransform/>
  474. </TransformGroup>
  475. </Path.RenderTransform>
  476. </Path>
  477. <TextBlock Margin="5,0,0,0" Text="LLB Operation" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_White}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  478. </StackPanel>
  479. </Border>
  480. <Border Grid.Row="1" BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" BorderThickness="0,0,0,0" >
  481. <Grid Grid.Row="2" unity:GridOptions.ShowBorder="True" unity:GridOptions.LineBrush="Black" unity:GridOptions.LineThickness="1" Background="{DynamicResource Table_BG_Content}">
  482. <Grid.RowDefinitions>
  483. <RowDefinition/>
  484. <RowDefinition/>
  485. <!--<RowDefinition/>-->
  486. </Grid.RowDefinitions>
  487. <Grid.ColumnDefinitions>
  488. <ColumnDefinition/>
  489. <ColumnDefinition/>
  490. <ColumnDefinition/>
  491. <ColumnDefinition/>
  492. <ColumnDefinition/>
  493. </Grid.ColumnDefinitions>
  494. <!--<TextBlock Text="Purge Count" Padding="30,10,0,0" Background="#D0D8E8"/>
  495. <TextBlock Text="All Count" Grid.Column="2" Padding="40,10,0,5" Background="#D0D8E8"/>-->
  496. <StackPanel Grid.Row="0" Grid.ColumnSpan="5" Orientation="Horizontal" HorizontalAlignment="Center" Height="35">
  497. <Button Content="Home" Width="100" Height="28" Margin="0,0,5,0" Command="{Binding HomeCommand}" CommandParameter="LLB" IsEnabled="{Binding Path=LLBIsOFFline}"/>
  498. <Button Content="Vent" Width="100" Height="28" Margin="0 0 5 0" IsEnabled="{Binding Path=LLBIsOFFline}" Command="{Binding VentCommand}" CommandParameter="LLB"/>
  499. <Button Content="Pump" Width="100" Height="28" Margin="0 0 5 0" IsEnabled="{Binding Path=LLBIsOFFline}" Command="{Binding PumpCommand}" CommandParameter="LLB"/>
  500. <!--<customControls:PathButton Content="Check Load" Width="114" Height="28" Margin="5,0,0,0" Visibility="{Binding ElementName=tmRadioButton,Path=IsChecked,Converter={StaticResource bool2VisibilityConverter}}" IsEnabled="{Binding Path=TMIsOFFline}"/>-->
  501. <Button Content="Purge" Width="100" Margin="0,3,0,3" Height="28" VerticalAlignment="Center" Grid.Column="4" Command="{Binding PurgeCommand}" CommandParameter="LLB" IsEnabled="{Binding Path=LLBIsOFFline}"/>
  502. <Button Content="Control Pressure" Width="110" Height="28" Margin="5 0 0 0" Command="{Binding SetTMChamberPressureCommand}" CommandParameter="LLB" IsEnabled="{Binding Path=LLBIsOFFline}"/>
  503. <!--<TextBox Text="{Binding TMChamberPressureSetPoint,UpdateSourceTrigger=PropertyChanged}" Width="60" Height="28" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Visibility="{Binding ElementName=tmRadioButton,Path=IsChecked,Converter={StaticResource bool2VisibilityConverter}}"/>-->
  504. <Button Content="Abort" Width="100" Height="28" Margin="5,0,5,0" Command="{Binding AbortCommand}" CommandParameter="LLB" IsEnabled="{Binding Path=LLBIsOFFline}"/>
  505. </StackPanel>
  506. <StackPanel Grid.Row="1" Grid.ColumnSpan="5" Orientation="Horizontal" HorizontalAlignment="Center" Height="35">
  507. <RadioButton Content="Offline" Grid.Row="2" Grid.Column="3" Width="80" Height="28" Margin="0 0 5 0" Style="{StaticResource Button_RadioButton}" IsChecked="{Binding LLBIsOFFline,Mode=OneWay}" Command="{Binding OfflineCommand}" CommandParameter="LLB"/>
  508. <RadioButton Content="Online" Grid.Row="2" Grid.Column="2" Width="80" Height="28" Margin="5 0 0 0" Style="{StaticResource Button_RadioButton}" IsChecked="{Binding LLBIsOFFline,Converter={StaticResource BoolToBool},Mode=OneWay}" Command="{Binding OnlineCommand}" CommandParameter="LLB"/>
  509. </StackPanel>
  510. </Grid>
  511. </Border>
  512. </Grid>
  513. <StackPanel Canvas.Top="460" Canvas.Right="30" Width="740">
  514. <Grid>
  515. <Grid.RowDefinitions>
  516. <RowDefinition Height="30"/>
  517. <RowDefinition Height="Auto"/>
  518. <RowDefinition />
  519. </Grid.RowDefinitions>
  520. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_FirstTitle}" Padding="5,1">
  521. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
  522. <Path Data="M0,0 L5,0 5,5 z" Fill="White" HorizontalAlignment="Left" Grid.Row="1" RenderTransformOrigin="0.5,0.5" Stretch="Fill" Width="5" Height="5">
  523. <Path.RenderTransform>
  524. <TransformGroup>
  525. <ScaleTransform/>
  526. <SkewTransform/>
  527. <RotateTransform Angle="45"/>
  528. <TranslateTransform/>
  529. </TransformGroup>
  530. </Path.RenderTransform>
  531. </Path>
  532. <TextBlock Margin="5,0,0,0" Text="TM/LoadLock Leak Check" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_White}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  533. </StackPanel>
  534. </Border>
  535. <Border Grid.Row="1" BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" BorderThickness="1,0,1,0" Padding="5,1">
  536. <WrapPanel Margin="10,10,10,0" Orientation="Horizontal" HorizontalAlignment="Center">
  537. <RadioButton Content="TM" Width="80" Margin="2 0 0 10" IsChecked="True">
  538. <i:Interaction.Triggers>
  539. <i:EventTrigger EventName="Checked">
  540. <i:InvokeCommandAction Command="{Binding ModuleCheckedCommand}" CommandParameter="TM"/>
  541. </i:EventTrigger>
  542. </i:Interaction.Triggers>
  543. </RadioButton>
  544. <RadioButton Content="LLA" Width="80" Margin="2 0 0 10" Visibility="{Binding LLAIsInstalled,Converter={StaticResource bool2VisibilityConverter}}">
  545. <i:Interaction.Triggers>
  546. <i:EventTrigger EventName="Checked">
  547. <i:InvokeCommandAction Command="{Binding ModuleCheckedCommand}" CommandParameter="LLA"/>
  548. </i:EventTrigger>
  549. </i:Interaction.Triggers>
  550. </RadioButton>
  551. <RadioButton Content="LLB" Width="80" Margin="2 0 0 10" Visibility="{Binding LLBIsInstalled,Converter={StaticResource bool2VisibilityConverter}}">
  552. <i:Interaction.Triggers>
  553. <i:EventTrigger EventName="Checked">
  554. <i:InvokeCommandAction Command="{Binding ModuleCheckedCommand}" CommandParameter="LLB"/>
  555. </i:EventTrigger>
  556. </i:Interaction.Triggers>
  557. </RadioButton>
  558. <customControls:PathButton Content="Start" Width="80" Height="28" VerticalAlignment="Center" Margin="0,-9,0,0" Command="{Binding LeakCheckCommand}" IsEnabled="{Binding LeakCheckIsEnable}"/>
  559. </WrapPanel>
  560. </Border>
  561. <!--<Border Grid.Row="2" BorderBrush="{DynamicResource Table_BD}" Background="{DynamicResource Table_BG_Content}" BorderThickness="1,0,1,1" >-->
  562. <Grid Grid.Row="2" unity:GridOptions.ShowBorder="True" unity:GridOptions.LineBrush="Black" Background="{DynamicResource Table_BG_Content}">
  563. <Grid.RowDefinitions>
  564. <RowDefinition/>
  565. <!--<RowDefinition/>-->
  566. <RowDefinition/>
  567. </Grid.RowDefinitions>
  568. <Grid.ColumnDefinitions>
  569. <ColumnDefinition/>
  570. <ColumnDefinition/>
  571. <ColumnDefinition/>
  572. <ColumnDefinition/>
  573. <ColumnDefinition/>
  574. <ColumnDefinition/>
  575. <ColumnDefinition/>
  576. </Grid.ColumnDefinitions>
  577. <!--<TextBlock Text="Base Pressure" Padding="6,7,0,5" Background="#D0D8E8"/>
  578. <TextBox Grid.Column="1" BorderThickness="0" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Text="{Binding RobotAction2,UpdateSourceTrigger=PropertyChanged}"/>
  579. <TextBlock Text="Pump Time" Grid.Column="2" Padding="15,7,0,5" Background="#D0D8E8"/>
  580. <TextBox Grid.Column="3" BorderThickness="0" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Text="{Binding RobotArm,UpdateSourceTrigger=PropertyChanged}"/>
  581. <TextBlock Text="Hold Time" Grid.Column="4" Padding="15,7,0,5" Background="#D0D8E8"/>
  582. <TextBox Grid.Column="5" BorderThickness="0" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Text="{Binding RobotTarget,UpdateSourceTrigger=PropertyChanged}"/>-->
  583. <DataGrid Height="270" Grid.ColumnSpan="7" Grid.Row="1" AutoGenerateColumns="False" BorderThickness="0" FontSize="12" MinRowHeight="20" VerticalAlignment="Stretch"
  584. CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserResizeColumns="True" CanUserResizeRows="False" CanUserSortColumns="False"
  585. SelectionMode="Single" SelectionUnit="FullRow" Background="#05000000" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled"
  586. ItemsSource="{Binding LeakCheckResultList}" SelectedItem="{Binding CurrentLeakCheckResultItem}" FontFamily="Arial,SimSun" Margin="1">
  587. <DataGrid.Columns>
  588. <DataGridTextColumn Width="178" Binding="{Binding CheckDate}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
  589. <DataGridTextColumn.HeaderTemplate >
  590. <DataTemplate>
  591. <TextBlock Text="CheckDate" />
  592. </DataTemplate>
  593. </DataGridTextColumn.HeaderTemplate>
  594. </DataGridTextColumn>
  595. <DataGridTextColumn Width="100" Binding="{Binding StartPressure}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
  596. <DataGridTextColumn.HeaderTemplate >
  597. <DataTemplate>
  598. <TextBlock Text="StartPressure" />
  599. </DataTemplate>
  600. </DataGridTextColumn.HeaderTemplate>
  601. </DataGridTextColumn>
  602. <DataGridTextColumn Width="100" Binding="{Binding EndPressure}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
  603. <DataGridTextColumn.HeaderTemplate >
  604. <DataTemplate>
  605. <TextBlock Text="StopPressure" />
  606. </DataTemplate>
  607. </DataGridTextColumn.HeaderTemplate>
  608. </DataGridTextColumn>
  609. <DataGridTextColumn Width="60" Binding="{Binding ModuleName}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
  610. <DataGridTextColumn.HeaderTemplate >
  611. <DataTemplate>
  612. <TextBlock Text="Module" />
  613. </DataTemplate>
  614. </DataGridTextColumn.HeaderTemplate>
  615. </DataGridTextColumn>
  616. <DataGridTextColumn Width="100" Binding="{Binding LeakCheckTime}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
  617. <DataGridTextColumn.HeaderTemplate >
  618. <DataTemplate>
  619. <TextBlock Text="Check Time(s)" />
  620. </DataTemplate>
  621. </DataGridTextColumn.HeaderTemplate>
  622. </DataGridTextColumn>
  623. <DataGridTextColumn Width="80" Binding="{Binding LeakRate, StringFormat={}{0:F5}}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
  624. <DataGridTextColumn.HeaderTemplate >
  625. <DataTemplate>
  626. <TextBlock Text="LeakRate" />
  627. </DataTemplate>
  628. </DataGridTextColumn.HeaderTemplate>
  629. </DataGridTextColumn>
  630. <DataGridTextColumn Width="100" Binding="{Binding Result}" CanUserSort="False" CanUserReorder="False" IsReadOnly="True" >
  631. <DataGridTextColumn.HeaderTemplate >
  632. <DataTemplate>
  633. <TextBlock Text="Result" />
  634. </DataTemplate>
  635. </DataGridTextColumn.HeaderTemplate>
  636. </DataGridTextColumn>
  637. </DataGrid.Columns>
  638. </DataGrid>
  639. </Grid>
  640. <!--</Border>-->
  641. </Grid>
  642. </StackPanel>
  643. </Canvas>
  644. </UserControl>