DETMOperationView.xaml 80 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897
  1. <UserControl x:Class="Venus_MainPages.Views.DETMOperationView"
  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:customControls="clr-namespace:Venus_Themes.CustomControls;assembly=Venus_Themes"
  7. xmlns:userControls="clr-namespace:Venus_Themes.UserControls;assembly=Venus_Themes"
  8. xmlns:converters="clr-namespace:Venus_Themes.Converters;assembly=Venus_Themes"
  9. xmlns:converters2="clr-namespace:Venus_MainPages.Converters"
  10. xmlns:prism="http://prismlibrary.com/"
  11. xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  12. prism:ViewModelLocator.AutoWireViewModel="True"
  13. xmlns:local="clr-namespace:Venus_MainPages.Views" xmlns:viewmodels="clr-namespace:Venus_MainPages.ViewModels" d:DataContext="{d:DesignInstance Type=viewmodels:DETMOperationViewModel}"
  14. mc:Ignorable="d"
  15. d:DesignHeight="450" d:DesignWidth="800">
  16. <UserControl.Resources>
  17. <converters:BoolToBool x:Key="BoolToBool"/>
  18. <converters:BoolToColor x:Key="boolToColor"/>
  19. <converters:BoolToColor2 x:Key="boolToColor2"/>
  20. <converters:BoolToColor4 x:Key="boolToColor4"/>
  21. <converters:BoolToVisibility2 x:Key="BoolToVisibility2"/>
  22. <converters2:AllMultiValueConverter x:Key="AllMultiValueConverter"/>
  23. <converters2:AnyMultiValueConverter x:Key="AnyMultiValueConverter"/>
  24. <Style x:Key="DoorAnimationStyle" TargetType="Rectangle">
  25. <Setter Property="RenderTransform">
  26. <Setter.Value>
  27. <RotateTransform Angle="0"/>
  28. </Setter.Value>
  29. </Setter>
  30. </Style>
  31. <Style TargetType="{x:Type TabPanel}">
  32. <Setter Property="Background" Value="Transparent"></Setter>
  33. </Style>
  34. <Style TargetType="TabItem" x:Key="CustomTab">
  35. <Setter Property="Template">
  36. <Setter.Value>
  37. <ControlTemplate TargetType="TabItem">
  38. <Border Name="Border" BorderThickness="1,1,1,1" BorderBrush="Gainsboro" CornerRadius="3" Margin="10,0" Padding="3,1">
  39. <ContentPresenter x:Name="ContentSite"
  40. VerticalAlignment="Center"
  41. HorizontalAlignment="Center"
  42. ContentSource="Header"
  43. Margin="10,2"/>
  44. </Border>
  45. <ControlTemplate.Triggers>
  46. <Trigger Property="IsSelected" Value="True">
  47. <Setter TargetName="Border" Property="Background" Value="#376092" />
  48. <Setter TargetName="ContentSite" Property="TextBlock.Foreground" Value="White" />
  49. </Trigger>
  50. <Trigger Property="IsSelected" Value="False">
  51. <Setter TargetName="Border" Property="Background" Value="#95b3d7" />
  52. </Trigger>
  53. </ControlTemplate.Triggers>
  54. </ControlTemplate>
  55. </Setter.Value>
  56. </Setter>
  57. </Style>
  58. </UserControl.Resources>
  59. <Canvas>
  60. <Canvas>
  61. <!-- 用于整体定位 -->
  62. <Canvas Canvas.Left="100" Canvas.Top="80">
  63. <userControls:VenusDETM Canvas.Top="-50" Canvas.Left="442" PAWafer="{Binding PAWafer}"
  64. VCEAIsInstalled="{Binding VCEAIsInstalled}"
  65. VCEBIsInstalled="{Binding VCEBIsInstalled}"
  66. PMAIsInstalled="{Binding PMAIsInstalled}"
  67. PMBIsInstalled="{Binding PMBIsInstalled}"
  68. PMCIsInstalled="{Binding PMCIsInstalled}"
  69. PMDIsInstalled="{Binding PMDIsInstalled}"
  70. VCEADoorIsOpen = "{Binding VCEADoorIsOpen}"
  71. VCEBDoorIsOpen = "{Binding VCEBDoorIsOpen}"
  72. PMADoorIsOpen = "{Binding PMADoorIsOpen}"
  73. PMBDoorIsOpen = "{Binding PMBDoorIsOpen}"
  74. PMCDoorIsOpen = "{Binding PMCDoorIsOpen}"
  75. PMDDoorIsOpen = "{Binding PMDDoorIsOpen}"
  76. VPAIsShow ="False" Panel.ZIndex="99"></userControls:VenusDETM>
  77. <userControls:DEVceA VCEName="" Canvas.Top="249" Canvas.Left="435" Width="150" Height="180" PressureValue="{Binding RtDataValues[DETM.VCEAPressure.Value],TargetNullValue=0}" PercentValue="{Binding VCEPercent}" IsVenting="True" VCEOutDoorIsOpen="{Binding VCEOutDoorIsOpen}" CassetteArrive="{Binding RtDataValues[VCE1.CassetteArrive]}" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1"></userControls:DEVceA>
  78. <userControls:DEVceB VCEName="" Canvas.Top="249" Canvas.Left="623" Width="150" Height="180" PressureValue="{Binding RtDataValues[DETM.VCEBPressure.Value],TargetNullValue=0}" PercentValue="{Binding VCEPercent}" IsVenting="True" VCEOutDoorIsOpen="{Binding VCEOutDoorIsOpen}" CassetteArrive="{Binding RtDataValues[VCE1.CassetteArrive]}" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="1"></userControls:DEVceB>
  79. <!-- 管道 -->
  80. <Canvas Canvas.Top="-70">
  81. <!-- N2 -->
  82. <userControls:FlowPipe Height="8" Width="105" Canvas.Left="82" Canvas.Top="9" IsFlowing="{Binding TMValveN2IsOpen}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  83. <userControls:FlowPipe Height="8" Width="921" Canvas.Left="145" Canvas.Top="9" HorizontalAlignment="Left" VerticalAlignment="Center">
  84. <userControls:FlowPipe.IsFlowing>
  85. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  86. <Binding Path="VCEBSoftVentIsOpen"/>
  87. <Binding Path="VCEBFastVentIsOpen"/>
  88. </MultiBinding>
  89. </userControls:FlowPipe.IsFlowing>
  90. </userControls:FlowPipe>
  91. <Image Width="40" Height="25" Canvas.Top="-1" Canvas.Left="40" Source="Pack://application:,,,/Venus_Themes;Component/Resources/Arrow.png" Stretch="Uniform" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  92. <TextBlock FontSize="15" Canvas.Left="16" Text="N2" HorizontalAlignment="Left" VerticalAlignment="Center" Canvas.Top="1"/>
  93. <userControls:FlowPipe Height="8" Width="160" Canvas.Left="145" Canvas.Top="187" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center">
  94. <userControls:FlowPipe.IsFlowing>
  95. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  96. <Binding Path="VCEAFastVentIsOpen"/>
  97. <Binding Path="VCEASoftVentIsOpen"/>
  98. </MultiBinding>
  99. </userControls:FlowPipe.IsFlowing>
  100. </userControls:FlowPipe>
  101. <userControls:FlowPipe Height="8" Width="170" Canvas.Left="145" Canvas.Top="17" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center">
  102. <userControls:FlowPipe.IsFlowing>
  103. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  104. <Binding Path="VCEAFastVentIsOpen"/>
  105. <Binding Path="VCEASoftVentIsOpen"/>
  106. <Binding Path="TMFastVentIsOpen"/>
  107. <Binding Path="TMSoftVentIsOpen"/>
  108. </MultiBinding>
  109. </userControls:FlowPipe.IsFlowing>
  110. </userControls:FlowPipe>
  111. <!--<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}" Panel.ZIndex="3"/>-->
  112. <userControls:FlowPipe Height="8" Width="105" Canvas.Left="142" HorizontalAlignment="Left" VerticalAlignment="Center" Canvas.Top="179">
  113. <userControls:FlowPipe.IsFlowing>
  114. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  115. <Binding Path="TMFastVentIsOpen"/>
  116. <Binding Path="TMSoftVentIsOpen"/>
  117. </MultiBinding>
  118. </userControls:FlowPipe.IsFlowing>
  119. </userControls:FlowPipe>
  120. <!--<Ellipse Width="20" Height="20" Canvas.Left="111" Canvas.Top="44" Fill="White" Stroke="Silver" StrokeThickness="2" Panel.ZIndex="3" HorizontalAlignment="Left" VerticalAlignment="Top"></Ellipse>-->
  121. <userControls:FlowPipe Height="8" Width="65" Canvas.Left="149" Canvas.Top="347" HorizontalAlignment="Left" VerticalAlignment="Center">
  122. <userControls:FlowPipe.IsFlowing>
  123. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  124. <Binding Path="VCEAFastVentIsOpen"/>
  125. <Binding Path="VCEASoftVentIsOpen"/>
  126. </MultiBinding>
  127. </userControls:FlowPipe.IsFlowing>
  128. </userControls:FlowPipe>
  129. <!-- TM vent -->
  130. <!-- Soft vent -->
  131. <userControls:TextboxWithLabel Canvas.Left="255" TextBoxValue="{Binding RtDataValues[SETM.TM_MFC1.SetPoint],Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" IsReadOnly="False" LabelValue="MFC" TextBoxColor="White" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="3" Width="74" Canvas.Top="187"/>
  132. <userControls:TextboxWithLabel Canvas.Top="204" Canvas.Left="255" LabelValue="" TextBoxValue="{Binding RtDataValues[SETM.TM_MFC1.FeedBack],StringFormat='F1'}" TextBoxColor="#D7E4BD" Panel.ZIndex="3" HorizontalAlignment="Center" VerticalAlignment="Top" Width="74" Height="45" />
  133. <customControls:CommonValveControl Canvas.Left="347" Status="{Binding TMSoftVentIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Tag="TMSoftVent" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding RtDataValues[DETM.IsOffline]}" Panel.ZIndex="3" HorizontalAlignment="Left" VerticalAlignment="Center" Canvas.Top="206"/>
  134. <userControls:FlowPipe Height="8" Width="140" Canvas.Left="250" IsFlowing="{Binding TMSoftVentIsOpen}" HorizontalAlignment="Left" VerticalAlignment="Center" Canvas.Top="212"/>
  135. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="250" IsFlowing="{Binding TMSoftVentIsOpen}" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center" Canvas.Top="183"/>
  136. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="396" IsFlowing="{Binding TMSoftVentIsOpen}" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center" Canvas.Top="183"/>
  137. <!-- fast vent -->
  138. <customControls:CommonValveControl Canvas.Left="300" Status="{Binding TMFastVentIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Tag="TMFastVent" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding RtDataValues[DETM.IsOffline]}" Panel.ZIndex="3" HorizontalAlignment="Left" VerticalAlignment="Center" Canvas.Top="143"/>
  139. <userControls:FlowPipe Height="8" Width="140" Canvas.Left="250" IsFlowing="{Binding TMFastVentIsOpen}" HorizontalAlignment="Left" VerticalAlignment="Center" Canvas.Top="149"/>
  140. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="250" Canvas.Top="156" IsFlowing="{Binding TMFastVentIsOpen}" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center"></userControls:FlowPipe>
  141. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="396" Canvas.Top="156" IsFlowing="{Binding TMFastVentIsOpen}" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center"></userControls:FlowPipe>
  142. <userControls:FlowPipe Height="8" Width="83" Canvas.Left="396" HorizontalAlignment="Center" VerticalAlignment="Top" Canvas.Top="179">
  143. <userControls:FlowPipe.IsFlowing>
  144. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  145. <Binding Path="TMFastVentIsOpen"/>
  146. <Binding Path="TMSoftVentIsOpen"/>
  147. </MultiBinding>
  148. </userControls:FlowPipe.IsFlowing>
  149. </userControls:FlowPipe>
  150. <!-- vce vent -->
  151. <!-- vce fast vent-->
  152. <customControls:CommonValveControl Status="{Binding VCEAFastVentIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="274" Canvas.Top="308" Tag="VCEAFastVent" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding RtDataValues[DETM.IsOffline]}" Panel.ZIndex="3" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  153. <userControls:FlowPipe Height="8" Width="120" Canvas.Left="223" Canvas.Top="315" IsFlowing="{Binding VCEAFastVentIsOpen}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  154. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="219" Canvas.Top="322" IsFlowing="{Binding VCEAFastVentIsOpen}" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center"></userControls:FlowPipe>
  155. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="355" Canvas.Top="325" IsFlowing="{Binding VCEAFastVentIsOpen}" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center"></userControls:FlowPipe>
  156. <!-- vce soft vent -->
  157. <customControls:CommonValveControl Status="{Binding VCEASoftVentIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="274" Canvas.Top="375" Tag="VCEASoftVent" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding RtDataValues[DETM.IsOffline]}" Panel.ZIndex="3" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  158. <userControls:FlowPipe Height="8" Width="120" Canvas.Left="224" Canvas.Top="381" IsFlowing="{Binding VCEASoftVentIsOpen}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  159. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="219" Canvas.Top="350" IsFlowing="{Binding VCEASoftVentIsOpen}" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center"></userControls:FlowPipe>
  160. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="355" Canvas.Top="349" IsFlowing="{Binding VCEASoftVentIsOpen}" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center"></userControls:FlowPipe>
  161. <userControls:FlowPipe Height="8" Width="82" Canvas.Left="355" Canvas.Top="347" HorizontalAlignment="Left" VerticalAlignment="Center">
  162. <userControls:FlowPipe.IsFlowing>
  163. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  164. <Binding Path="VCEAFastVentIsOpen"/>
  165. <Binding Path="VCEASoftVentIsOpen"/>
  166. </MultiBinding>
  167. </userControls:FlowPipe.IsFlowing>
  168. </userControls:FlowPipe>
  169. <!--TM pump-->
  170. <!--TM fast pump-->
  171. <!--TM soft pump-->
  172. <!-- vce pump-->
  173. <!-- vce fast pump-->
  174. <customControls:CommonValveControl Status="{Binding VCEBFastVentIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="900" Canvas.Top="317" Tag="VCEBFastVent" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding RtDataValues[DETM.IsOffline]}" Panel.ZIndex="3" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  175. <userControls:FlowPipe Height="8" Width="120" Canvas.Left="845" Canvas.Top="323" IsFlowing="{Binding VCEBFastVentIsOpen}" HorizontalAlignment="Center" VerticalAlignment="Top" IsReverse="True"/>
  176. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="845" Canvas.Top="333" IsReverse="True" IsFlowing="{Binding VCEBFastVentIsOpen}" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top"></userControls:FlowPipe>
  177. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="973" Canvas.Top="333" IsReverse="True" IsFlowing="{Binding VCEBFastVentIsOpen}" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top"></userControls:FlowPipe>
  178. <!-- vce soft pump-->
  179. <customControls:CommonValveControl Status="{Binding VCEBSoftVentIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="900" Canvas.Top="377" Tag="VCEBSoftVent" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding RtDataValues[DETM.IsOffline]}" Panel.ZIndex="3" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  180. <userControls:FlowPipe Height="8" Width="120" Canvas.Left="845" Canvas.Top="383" IsReverse="True" IsFlowing="{Binding VCEBSoftVentIsOpen}" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  181. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="845" Canvas.Top="353" IsReverse="True" IsFlowing="{Binding VCEBSoftVentIsOpen}" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top"></userControls:FlowPipe>
  182. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="973" Canvas.Top="353" IsReverse="True" IsFlowing="{Binding VCEBSoftVentIsOpen}" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top"></userControls:FlowPipe>
  183. <userControls:FlowPipe Height="8" Width="95" Canvas.Left="970" Canvas.Top="353" HorizontalAlignment="Center" IsReverse="True" VerticalAlignment="Top">
  184. <userControls:FlowPipe.IsFlowing>
  185. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  186. <Binding Path="VCEBSoftVentIsOpen"/>
  187. <Binding Path="VCEBFastVentIsOpen"/>
  188. </MultiBinding>
  189. </userControls:FlowPipe.IsFlowing>
  190. </userControls:FlowPipe>
  191. <userControls:FlowPipe Height="8" Width="120" IsReverse="True" Canvas.Left="719" Canvas.Top="353" HorizontalAlignment="Center" VerticalAlignment="Top">
  192. <userControls:FlowPipe.IsFlowing>
  193. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  194. <Binding Path="VCEBSoftVentIsOpen"/>
  195. <Binding Path="VCEBFastVentIsOpen"/>
  196. </MultiBinding>
  197. </userControls:FlowPipe.IsFlowing>
  198. </userControls:FlowPipe>
  199. <!-- pump cm -->
  200. <!--<userControls:TextboxWithLabel Canvas.Left="1089" Canvas.Top="38" LabelValue="CM7(Torr)" TextBoxValue="{Binding RtDataValues[TM.LLBPressureGauge.Value],StringFormat='F1'}" TextBoxColor="#D7E4BD" Panel.ZIndex="3" HorizontalAlignment="Center" VerticalAlignment="Top"/>-->
  201. <userControls:FlowPipe Height="8" Width="335" Canvas.Left="1074" Canvas.Top="16" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top">
  202. <userControls:FlowPipe.IsFlowing>
  203. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  204. <Binding Path="VCEBSoftVentIsOpen"/>
  205. <Binding Path="VCEBFastVentIsOpen"/>
  206. </MultiBinding>
  207. </userControls:FlowPipe.IsFlowing>
  208. </userControls:FlowPipe>
  209. <!-- TM pump-->
  210. <customControls:CommonValveControl Status="{Binding TMFastPumpIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="626" Canvas.Top="504" Tag="TMFastPump" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding RtDataValues[DETM.IsOffline]}" Panel.ZIndex="3" HorizontalAlignment="Left" VerticalAlignment="Top"/>
  211. <customControls:CommonValveControl Status="{Binding TMSoftPumpIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="560" Canvas.Top="504" Tag="TMSoftPump" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding RtDataValues[DETM.IsOffline]}" Panel.ZIndex="3" HorizontalAlignment="Left" VerticalAlignment="Top"/>
  212. <userControls:FlowPipe Height="8" Width="145" Canvas.Left="607" Canvas.Top="336" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1">
  213. <userControls:FlowPipe.IsFlowing>
  214. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  215. <Binding Path="TMFastPumpIsOpen"/>
  216. <Binding Path="TMSoftPumpIsOpen"/>
  217. </MultiBinding>
  218. </userControls:FlowPipe.IsFlowing>
  219. </userControls:FlowPipe>
  220. <userControls:FlowPipe Height="8" Width="50" Canvas.Left="574" Canvas.Top="489" IsFlowing="{Binding TMSoftPumpIsOpen}" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="1"/>
  221. <userControls:FlowPipe Height="8" Width="50" Canvas.Left="640" Canvas.Top="489" IsFlowing="{Binding TMFastPumpIsOpen}" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="1"/>
  222. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="607" Canvas.Top="545" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Top" Panel.ZIndex="1">
  223. <userControls:FlowPipe.IsFlowing>
  224. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  225. <Binding Path="TMFastPumpIsOpen"/>
  226. <Binding Path="TMSoftPumpIsOpen"/>
  227. </MultiBinding>
  228. </userControls:FlowPipe.IsFlowing>
  229. </userControls:FlowPipe>
  230. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="574" Canvas.Top="480" IsFlowing="{Binding TMSoftPumpIsOpen}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  231. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="602" Canvas.Top="480" IsFlowing="{Binding TMFastPumpIsOpen}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  232. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="574" Canvas.Top="540" IsFlowing="{Binding TMSoftPumpIsOpen}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  233. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="602" Canvas.Top="540" IsFlowing="{Binding TMFastPumpIsOpen}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  234. <userControls:Pump Canvas.Left="586.5" Canvas.Top="570" Width="35" Height="35" IsOpen="{Binding RtDataValues[DETM.PumpIsRunning],Mode=TwoWay}" HorizontalAlignment="Left" VerticalAlignment="Center">
  235. <userControls:Pump.ContextMenu>
  236. <ContextMenu>
  237. <MenuItem Header="ON" Command="{Binding DETMPumpCommand}" CommandParameter="True" IsChecked="{Binding RtDataValues[DETM.PumpIsRunning],Mode=OneWay}" IsEnabled="{Binding RtDataValues[DETM.PumpIsRunning],Converter={StaticResource BoolToBool},Mode=OneWay}"/>
  238. <MenuItem Header="OFF" Command="{Binding DETMPumpCommand}" CommandParameter="False" IsChecked="{Binding RtDataValues[DETM.PumpIsRunning],Converter={StaticResource BoolToBool},Mode=OneWay}" IsEnabled="{Binding RtDataValues[DETM.PumpIsRunning],Mode=OneWay}"/>
  239. </ContextMenu>
  240. </userControls:Pump.ContextMenu>
  241. </userControls:Pump>
  242. <!-- VCEA pump-->
  243. <customControls:CommonValveControl Status="{Binding VCEAFastPumpIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="500" Canvas.Top="599" Tag="VCEAFastPump" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding RtDataValues[DETM.IsOffline]}" Panel.ZIndex="3" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  244. <customControls:CommonValveControl Status="{Binding VCEASoftPumpIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="432" Canvas.Top="599" Tag="VCEASoftPump" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding RtDataValues[DETM.IsOffline]}" Panel.ZIndex="3" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  245. <userControls:FlowPipe Height="8" Width="145" Canvas.Left="481" Canvas.Top="431" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1">
  246. <userControls:FlowPipe.IsFlowing>
  247. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  248. <Binding Path="VCEAFastPumpIsOpen"/>
  249. <Binding Path="VCEASoftPumpIsOpen"/>
  250. </MultiBinding>
  251. </userControls:FlowPipe.IsFlowing>
  252. </userControls:FlowPipe>
  253. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="447" Canvas.Top="575" IsFlowing="{Binding VCEASoftPumpIsOpen}" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  254. <userControls:FlowPipe Height="8" Width="50" Canvas.Left="447" Canvas.Top="583" IsFlowing="{Binding VCEASoftPumpIsOpen}" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1"/>
  255. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="447" Canvas.Top="633" IsFlowing="{Binding VCEASoftPumpIsOpen}" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  256. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="481" Canvas.Top="640" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="1">
  257. <userControls:FlowPipe.IsFlowing>
  258. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  259. <Binding Path="VCEAFastPumpIsOpen"/>
  260. <Binding Path="VCEASoftPumpIsOpen"/>
  261. </MultiBinding>
  262. </userControls:FlowPipe.IsFlowing>
  263. </userControls:FlowPipe>
  264. <userControls:FlowPipe Height="8" Width="120" Canvas.Left="484" Canvas.Top="670" HorizontalAlignment="Left" VerticalAlignment="Center">
  265. <userControls:FlowPipe.IsFlowing>
  266. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  267. <Binding Path="VCEAFastPumpIsOpen"/>
  268. <Binding Path="VCEASoftPumpIsOpen"/>
  269. </MultiBinding>
  270. </userControls:FlowPipe.IsFlowing>
  271. </userControls:FlowPipe>
  272. <userControls:FlowPipe Height="8" Width="50" Canvas.Left="515" Canvas.Top="583" IsFlowing="{Binding VCEAFastPumpIsOpen}" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="1"/>
  273. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="477" Canvas.Top="575" IsFlowing="{Binding VCEAFastPumpIsOpen}" HorizontalAlignment="Left" VerticalAlignment="Top"/>
  274. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="477" Canvas.Top="633" IsFlowing="{Binding VCEAFastPumpIsOpen}" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  275. <!-- VCEB pump-->
  276. <customControls:CommonValveControl Status="{Binding VCEBFastPumpIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="760" Canvas.Top="594" Tag="VCEBFastPump" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding RtDataValues[DETM.IsOffline]}" Panel.ZIndex="3" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  277. <customControls:CommonValveControl Status="{Binding VCEBSoftPumpIsOpen,Mode=TwoWay}" ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="692" Canvas.Top="594" Tag="VCEBSoftPump" Command="{Binding ControlValveCommand}" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" IsCanEdit="{Binding RtDataValues[DETM.IsOffline]}" Panel.ZIndex="3" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  278. <userControls:FlowPipe Height="8" Width="145" Canvas.Left="741" Canvas.Top="431" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1">
  279. <userControls:FlowPipe.IsFlowing>
  280. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  281. <Binding Path="VCEBFastPumpIsOpen"/>
  282. <Binding Path="VCEBSoftPumpIsOpen"/>
  283. </MultiBinding>
  284. </userControls:FlowPipe.IsFlowing>
  285. </userControls:FlowPipe>
  286. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="707" Canvas.Top="575" IsFlowing="{Binding VCEBSoftPumpIsOpen}" HorizontalAlignment="Left" VerticalAlignment="Center" IsReverse="True"/>
  287. <userControls:FlowPipe Height="8" Width="50" Canvas.Left="706" Canvas.Top="582" IsFlowing="{Binding VCEBSoftPumpIsOpen}" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="1"/>
  288. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="708" Canvas.Top="633" IsFlowing="{Binding VCEBSoftPumpIsOpen}" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  289. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="741" Canvas.Top="640" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1">
  290. <userControls:FlowPipe.IsFlowing>
  291. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  292. <Binding Path="VCEBFastPumpIsOpen"/>
  293. <Binding Path="VCEBSoftPumpIsOpen"/>
  294. </MultiBinding>
  295. </userControls:FlowPipe.IsFlowing>
  296. </userControls:FlowPipe>
  297. <userControls:FlowPipe Height="8" Width="130" Canvas.Left="603" Canvas.Top="670" HorizontalAlignment="Left" VerticalAlignment="Center">
  298. <userControls:FlowPipe.IsFlowing>
  299. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  300. <Binding Path="VCEBFastPumpIsOpen"/>
  301. <Binding Path="VCEBSoftPumpIsOpen"/>
  302. </MultiBinding>
  303. </userControls:FlowPipe.IsFlowing>
  304. </userControls:FlowPipe>
  305. <userControls:FlowPipe Height="8" Width="50" Canvas.Left="774" Canvas.Top="582" IsFlowing="{Binding VCEBFastPumpIsOpen}" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="1"/>
  306. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="737" Canvas.Top="575" IsFlowing="{Binding VCEBFastPumpIsOpen}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  307. <userControls:FlowPipe Height="8" Width="30" Canvas.Left="736" Canvas.Top="633" IsFlowing="{Binding VCEBFastPumpIsOpen}" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  308. <userControls:FlowPipe Height="8" Width="20" Canvas.Left="607" Canvas.Top="675" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1">
  309. <userControls:FlowPipe.IsFlowing>
  310. <MultiBinding Converter="{StaticResource AnyMultiValueConverter}">
  311. <Binding Path="VCEBFastPumpIsOpen"/>
  312. <Binding Path="VCEBSoftPumpIsOpen"/>
  313. <Binding Path="VCEAFastPumpIsOpen"/>
  314. <Binding Path="VCEASoftPumpIsOpen"/>
  315. </MultiBinding>
  316. </userControls:FlowPipe.IsFlowing>
  317. </userControls:FlowPipe>
  318. <userControls:Pump Canvas.Left="586.5" Canvas.Top="690" Width="35" Height="35" IsOpen="{Binding RtDataValues[VCEA.PumpIsRunning],Mode=TwoWay}" HorizontalAlignment="Center" VerticalAlignment="Top">
  319. <userControls:Pump.ContextMenu>
  320. <ContextMenu>
  321. <MenuItem Header="ON" Command="{Binding VCEAPumpCommand}" CommandParameter="True" IsChecked="{Binding RtDataValues[VCEA.PumpIsRunning],Mode=OneWay}" IsEnabled="{Binding RtDataValues[VCEA.PumpIsRunning],Converter={StaticResource BoolToBool},Mode=OneWay}"/>
  322. <MenuItem Header="OFF" Command="{Binding VCEAPumpCommand}" CommandParameter="False" IsChecked="{Binding RtDataValues[VCEA.PumpIsRunning],Converter={StaticResource BoolToBool},Mode=OneWay}" IsEnabled="{Binding RtDataValues[VCEA.PumpIsRunning],Mode=OneWay}"/>
  323. </ContextMenu>
  324. </userControls:Pump.ContextMenu>
  325. </userControls:Pump>
  326. <!-- tm atm-->
  327. <userControls:TextboxWithLabel Canvas.Left="843" Canvas.Top="145" LabelValue="CM(Torr)" TextBoxValue="{Binding RtDataValues[DETM.TMPressure.Value],StringFormat='F1'}" TextBoxColor="#D7E4BD" Panel.ZIndex="3" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  328. <Ellipse Width="20" Height="20" Canvas.Left="782" Canvas.Top="185" Stroke="Silver" StrokeThickness="2" Panel.ZIndex="3" HorizontalAlignment="Center" VerticalAlignment="Top" Fill="{Binding TMIsVAC,Converter={StaticResource boolToColor}}"></Ellipse>
  329. <Ellipse Width="20" Height="20" Canvas.Left="809" Canvas.Top="141" Stroke="Silver" StrokeThickness="2" Panel.ZIndex="3" HorizontalAlignment="Center" VerticalAlignment="Top" Fill="{Binding TMIsATM,Converter={StaticResource boolToColor}}"></Ellipse>
  330. <userControls:FlowPipe Height="8" Width="110" Canvas.Left="739" Canvas.Top="170" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="2"/>
  331. <userControls:FlowPipe Height="8" Width="20" Canvas.Left="796" Canvas.Top="171" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top"></userControls:FlowPipe>
  332. <userControls:FlowPipe Height="8" Width="20" Canvas.Left="823" Canvas.Top="155" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top"></userControls:FlowPipe>
  333. <!-- VCEA atm-->
  334. <userControls:TextboxWithLabel Canvas.Left="870" Canvas.Top="421" LabelValue="CM(Torr)" TextBoxValue="{Binding RtDataValues[DETM.VCEBPressure.Value],StringFormat='F1',TargetNullValue=0}" TextBoxColor="#D7E4BD" Panel.ZIndex="3" HorizontalAlignment="Left" VerticalAlignment="Top"/>
  335. <Ellipse Width="20" Height="20" Canvas.Left="827" Canvas.Top="468" Stroke="Silver" StrokeThickness="2" Panel.ZIndex="3" HorizontalAlignment="Left" VerticalAlignment="Center" Fill="{Binding VCEBIsVAC,Converter={StaticResource boolToColor}}"></Ellipse>
  336. <Ellipse Width="20" Height="20" Canvas.Left="792" Canvas.Top="415" Stroke="Silver" StrokeThickness="2" Panel.ZIndex="3" HorizontalAlignment="Left" VerticalAlignment="Center" Fill="{Binding VCEBIsATM,Converter={StaticResource boolToColor}}"></Ellipse>
  337. <userControls:FlowPipe Height="8" Width="100" Canvas.Left="770" Canvas.Top="447" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="2"/>
  338. <userControls:FlowPipe Height="8" Width="20" Canvas.Left="841" Canvas.Top="450" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center"></userControls:FlowPipe>
  339. <userControls:FlowPipe Height="8" Width="20" Canvas.Left="806" Canvas.Top="431" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center"></userControls:FlowPipe>
  340. <!-- VCEB atm-->
  341. <userControls:TextboxWithLabel Canvas.Left="268" Canvas.Top="421" LabelValue="CM(Torr)" TextBoxValue="{Binding RtDataValues[DETM.VCEAPressure.Value],StringFormat='F1',TargetNullValue=0}" TextBoxColor="#D7E4BD" Panel.ZIndex="3" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  342. <Ellipse Width="20" Height="20" Canvas.Left="364" Canvas.Top="469" Stroke="Silver" StrokeThickness="2" Panel.ZIndex="3" HorizontalAlignment="Center" VerticalAlignment="Top" Fill="{Binding VCEAIsVAC,Converter={StaticResource boolToColor}}"></Ellipse>
  343. <Ellipse Width="20" Height="20" Canvas.Left="395" Canvas.Top="417" Stroke="Silver" StrokeThickness="2" Panel.ZIndex="3" HorizontalAlignment="Left" VerticalAlignment="Center" Fill="{Binding VCEAIsATM,Converter={StaticResource boolToColor}}"></Ellipse>
  344. <userControls:FlowPipe Height="8" Width="100" Canvas.Left="338" Canvas.Top="447" HorizontalAlignment="Left" VerticalAlignment="Center" Panel.ZIndex="2"/>
  345. <userControls:FlowPipe Height="8" Width="20" Canvas.Left="378" Canvas.Top="452" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top"></userControls:FlowPipe>
  346. <userControls:FlowPipe Height="8" Width="20" Canvas.Left="409" Canvas.Top="430" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center"></userControls:FlowPipe>
  347. <!-- 转角 -->
  348. <userControls:Pipe2 Canvas.Left="383" HorizontalAlignment="Left" VerticalAlignment="Center" Canvas.Top="149" />
  349. <userControls:Pipe2 Canvas.Left="502" HorizontalAlignment="Left" VerticalAlignment="Center" Canvas.Top="575" />
  350. <userControls:Pipe2 Canvas.Left="761" HorizontalAlignment="Left" VerticalAlignment="Center" Canvas.Top="575" />
  351. <userControls:Pipe2 Canvas.Left="342" Canvas.Top="315" HorizontalAlignment="Left" VerticalAlignment="Center" />
  352. <userControls:Pipe2 Canvas.Left="627" Canvas.Top="480" HorizontalAlignment="Left" VerticalAlignment="Center" />
  353. <userControls:Pipe2 Canvas.Left="960" Canvas.Top="323" HorizontalAlignment="Center" VerticalAlignment="Top" />
  354. <userControls:Pipe2 Canvas.Left="1074" Canvas.Top="348" HorizontalAlignment="Left" VerticalAlignment="Center" RotateTransformValue="90" />
  355. <userControls:Pipe2 Canvas.Left="973" Canvas.Top="378" HorizontalAlignment="Center" VerticalAlignment="Top" RotateTransformValue="90" />
  356. <userControls:Pipe2 Canvas.Left="355" Canvas.Top="376" HorizontalAlignment="Left" VerticalAlignment="Center" RotateTransformValue="90" />
  357. <userControls:Pipe2 Canvas.Left="640" Canvas.Top="535" HorizontalAlignment="Left" VerticalAlignment="Center" RotateTransformValue="90" />
  358. <userControls:Pipe2 Canvas.Left="515" Canvas.Top="628" HorizontalAlignment="Left" VerticalAlignment="Center" RotateTransformValue="90" />
  359. <userControls:Pipe2 Canvas.Left="774" Canvas.Top="628" HorizontalAlignment="Left" VerticalAlignment="Center" RotateTransformValue="90" />
  360. <userControls:Pipe2 Canvas.Left="741" Canvas.Top="665" HorizontalAlignment="Center" VerticalAlignment="Top" RotateTransformValue="90" />
  361. <userControls:Pipe2 Canvas.Left="396" Canvas.Top="207" HorizontalAlignment="Left" VerticalAlignment="Center" RotateTransformValue="90" />
  362. <userControls:Pipe2 Canvas.Left="242" Canvas.Top="162" HorizontalAlignment="Left" VerticalAlignment="Center" RotateTransformValue="-90" />
  363. <userControls:Pipe2 Canvas.Left="439" Canvas.Top="588" HorizontalAlignment="Left" VerticalAlignment="Center" RotateTransformValue="-90" />
  364. <userControls:Pipe2 Canvas.Left="698" Canvas.Top="588" HorizontalAlignment="Left" VerticalAlignment="Center" RotateTransformValue="-90" />
  365. <userControls:Pipe2 Canvas.Left="1061" Canvas.Top="9" HorizontalAlignment="Left" VerticalAlignment="Center" RotateTransformValue="0" />
  366. <userControls:Pipe2 Canvas.Left="211" Canvas.Top="328" HorizontalAlignment="Left" VerticalAlignment="Center" RotateTransformValue="-90" />
  367. <userControls:Pipe2 Canvas.Left="566" Canvas.Top="493" HorizontalAlignment="Left" VerticalAlignment="Center" RotateTransformValue="-90" />
  368. <userControls:Pipe2 Canvas.Left="837" Canvas.Top="336" HorizontalAlignment="Center" VerticalAlignment="Top" RotateTransformValue="-90" />
  369. <userControls:Pipe2 Canvas.Left="850" Canvas.Top="391" HorizontalAlignment="Center" VerticalAlignment="Top" RotateTransformValue="180" />
  370. <userControls:Pipe2 Canvas.Left="255" Canvas.Top="220" HorizontalAlignment="Left" VerticalAlignment="Center" RotateTransformValue="180" />
  371. <userControls:Pipe2 Canvas.Left="224" Canvas.Top="389" HorizontalAlignment="Left" VerticalAlignment="Center" RotateTransformValue="180" />
  372. <userControls:Pipe2 Canvas.Left="579" Canvas.Top="548" HorizontalAlignment="Left" VerticalAlignment="Center" RotateTransformValue="180" />
  373. <userControls:Pipe2 Canvas.Left="452" Canvas.Top="641" HorizontalAlignment="Left" VerticalAlignment="Center" RotateTransformValue="180" />
  374. <userControls:Pipe2 Canvas.Left="711" Canvas.Top="641" HorizontalAlignment="Left" VerticalAlignment="Center" RotateTransformValue="180" />
  375. <userControls:Pipe2 Canvas.Left="486" Canvas.Top="678" HorizontalAlignment="Left" VerticalAlignment="Top" RotateTransformValue="180" />
  376. <userControls:Pipe2 Canvas.Left="150" Canvas.Top="355" HorizontalAlignment="Left" VerticalAlignment="Center" RotateTransformValue="180" />
  377. <!-- 文字 -->
  378. <TextBlock FontSize="12" Canvas.Left="259" Text="TM Fast Vent V5" HorizontalAlignment="Left" VerticalAlignment="Center" Canvas.Top="119"/>
  379. <TextBlock FontSize="12" Canvas.Top="231" Canvas.Left="333" HorizontalAlignment="Left" VerticalAlignment="Center" Height="43" Width="60"><Run Text="TM Soft "/><LineBreak/><Run Text="vent V4"/></TextBlock>
  380. <TextBlock FontSize="12" Canvas.Top="284" Canvas.Left="220" Text="VCEA Fast Vent V5" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  381. <TextBlock FontSize="12" Canvas.Top="398" Canvas.Left="220" Text="VCEA Soft Vent V4" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  382. <TextBlock FontSize="12" Canvas.Top="292" Canvas.Left="853" Text="VCEB Fast Vent V2" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  383. <TextBlock FontSize="12" Canvas.Top="397" Canvas.Left="852" Text="VCEB Soft Vent V2" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  384. <TextBlock FontSize="12" Canvas.Top="496" Canvas.Left="505" Text="TM Soft Pump V2" HorizontalAlignment="Left" VerticalAlignment="Center" Width="74" Height="42" TextWrapping="Wrap"/>
  385. <TextBlock FontSize="12" Canvas.Top="496" Canvas.Left="651" Text="TM Fast Pump V3" HorizontalAlignment="Left" VerticalAlignment="Center" Width="74" Height="42" TextWrapping="Wrap"/>
  386. <TextBlock FontSize="12" Canvas.Top="588" Canvas.Left="368" Text="VCEA Soft Pump V2" HorizontalAlignment="Left" VerticalAlignment="Center" Width="74" Height="42" TextWrapping="Wrap"/>
  387. <TextBlock FontSize="12" Canvas.Top="590" Canvas.Left="524" Text="VCEA Fast Pump V3" HorizontalAlignment="Center" VerticalAlignment="Top" Width="74" Height="42" TextWrapping="Wrap"/>
  388. <TextBlock FontSize="12" Canvas.Top="590" Canvas.Left="631" Text="VCEB Soft Pump V2" HorizontalAlignment="Left" VerticalAlignment="Top" Width="74" Height="42" TextWrapping="Wrap"/>
  389. <TextBlock FontSize="12" Canvas.Top="588" Canvas.Left="785" Text="VCEB Fast Pump V3" HorizontalAlignment="Center" VerticalAlignment="Center" Width="74" Height="42" TextWrapping="Wrap"/>
  390. <TextBlock FontSize="12" Canvas.Top="400" Canvas.Left="392" Text="ATM" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  391. <TextBlock FontSize="12" Canvas.Top="493" Canvas.Left="359" Text="VAC" HorizontalAlignment="Left" VerticalAlignment="Top"/>
  392. <TextBlock FontSize="12" Canvas.Top="399" Canvas.Left="790" Text="ATM" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  393. <TextBlock FontSize="12" Canvas.Top="493" Canvas.Left="822" Text="VAC" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  394. <TextBlock FontSize="12" Canvas.Top="124" Canvas.Left="802" Text="ATM" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  395. <TextBlock FontSize="12" Canvas.Top="205" Canvas.Left="777" Text="VAC" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  396. </Canvas>
  397. </Canvas>
  398. </Canvas>
  399. <!--选项卡-->
  400. <Canvas>
  401. <TabControl Height="500" Width="400" Canvas.Left="1370" Canvas.Top="14" Background="Transparent" TabStripPlacement="Top">
  402. <TabControl.Style>
  403. <Style TargetType="{x:Type TabControl}">
  404. <Setter Property="Background" Value="Transparent"></Setter>
  405. </Style>
  406. </TabControl.Style>
  407. <TabItem Header="TM" Style="{StaticResource CustomTab}">
  408. <Grid>
  409. <Grid.ColumnDefinitions>
  410. <ColumnDefinition Width="111*"/>
  411. <ColumnDefinition Width="284*"/>
  412. </Grid.ColumnDefinitions>
  413. <Grid.RowDefinitions>
  414. <RowDefinition Height="*"/>
  415. <RowDefinition Height="*"/>
  416. <RowDefinition Height="*"/>
  417. <RowDefinition Height="*"/>
  418. </Grid.RowDefinitions>
  419. <Border Grid.Row="0" Grid.Column="0" Background="#95b3d7" Margin="5,5,5,5" CornerRadius="5" Grid.ColumnSpan="2">
  420. <Grid>
  421. <Grid.RowDefinitions>
  422. <RowDefinition Height="*"></RowDefinition>
  423. <RowDefinition Height="*"></RowDefinition>
  424. </Grid.RowDefinitions>
  425. <Grid.ColumnDefinitions>
  426. <ColumnDefinition Width="*"/>
  427. <ColumnDefinition Width=".3*"/>
  428. <ColumnDefinition Width="1.5*"/>
  429. <ColumnDefinition Width=".3*"/>
  430. <ColumnDefinition Width="*"/>
  431. </Grid.ColumnDefinitions>
  432. <Grid Grid.ColumnSpan="5">
  433. <Grid.ColumnDefinitions>
  434. <ColumnDefinition Width="*"/>
  435. <ColumnDefinition Width="*"/>
  436. </Grid.ColumnDefinitions>
  437. <Button Grid.Column="0" Margin="10,5" IsEnabled="{Binding RtDataValues[DETM.IsOffline],Mode=TwoWay}" Command="{Binding TMSetOnline}">Online</Button>
  438. <Button Grid.Column="1" Margin="10,5" IsEnabled="{Binding RtDataValues[SETM.IsOnline],Mode=TwoWay}" Command="{Binding TMSetOffline}">Offline</Button>
  439. </Grid>
  440. <TextBlock Grid.Row="1" Grid.Column="0" TextAlignment="Center" VerticalAlignment="Center">leak Check</TextBlock>
  441. <TextBox Grid.Row="1" Grid.Column="2" TextAlignment="Center" VerticalAlignment="Center">0.34 mt/min</TextBox>
  442. <Grid Grid.Column="4" Grid.RowSpan="2">
  443. <Grid.RowDefinitions>
  444. <RowDefinition Height="*"></RowDefinition>
  445. <RowDefinition Height="*"></RowDefinition>
  446. <RowDefinition Height="*"></RowDefinition>
  447. <RowDefinition Height="*"></RowDefinition>
  448. </Grid.RowDefinitions>
  449. <Button Grid.Row="2" Margin="2" Command="{Binding TmHome}">Home</Button>
  450. <Button Grid.Row="3" Margin="2" Command="{Binding Abort}">Abort</Button>
  451. </Grid>
  452. </Grid>
  453. </Border>
  454. <Border Grid.Row="1" Grid.Column="0" Background="#95b3d7" Margin="5,5,5,5" Padding="20,10" CornerRadius="5" Grid.ColumnSpan="2">
  455. <Grid>
  456. <Grid.RowDefinitions>
  457. <RowDefinition Height="*"/>
  458. <RowDefinition Height="*"/>
  459. <RowDefinition Height="*"/>
  460. </Grid.RowDefinitions>
  461. <Grid.ColumnDefinitions>
  462. <ColumnDefinition Width="*"></ColumnDefinition>
  463. <ColumnDefinition Width=".5*"></ColumnDefinition>
  464. <ColumnDefinition Width="*"></ColumnDefinition>
  465. </Grid.ColumnDefinitions>
  466. <Button Grid.Column="0" Grid.Row="0">Leak Check</Button>
  467. <Button Grid.Column="2" Grid.Row="0" Command="{Binding PumpDown}" CommandParameter="DETM">Pump Down</Button>
  468. <Button Grid.Column="0" Grid.Row="2" Command="{Binding Vent}" CommandParameter="DETM">Vent</Button>
  469. <Button Grid.Column="2" Grid.Row="2">Pump Purge</Button>
  470. </Grid>
  471. </Border>
  472. <Border Grid.Row="2" Grid.Column="0" Grid.RowSpan="2" Background="#95b3d7" Margin="5" Padding="20,40" CornerRadius="5" Grid.ColumnSpan="2">
  473. <Grid>
  474. <Grid.RowDefinitions>
  475. <RowDefinition Height="*"/>
  476. <RowDefinition Height="*"/>
  477. <RowDefinition Height="*"/>
  478. <RowDefinition Height="*"/>
  479. <RowDefinition Height="*"/>
  480. </Grid.RowDefinitions>
  481. <Grid.ColumnDefinitions>
  482. <ColumnDefinition Width="*"></ColumnDefinition>
  483. <ColumnDefinition Width=".5*"></ColumnDefinition>
  484. <ColumnDefinition Width="*"></ColumnDefinition>
  485. </Grid.ColumnDefinitions>
  486. <Button Grid.Column="0" Grid.Row="0" Content="PMA Door Open" Command="{Binding ControlSlitDoorCommand}" CommandParameter="PMA,True" IsEnabled="{Binding PMADoorIsOpen,Converter={StaticResource BoolToBool}}"></Button>
  487. <Button Grid.Column="2" Grid.Row="0" Content="PMA Door Close" Command="{Binding ControlSlitDoorCommand}" CommandParameter="PMA,False" IsEnabled="{Binding PMADoorIsOpen}"></Button>
  488. <Button Grid.Column="0" Grid.Row="2" Content="PMB Door Open" Command="{Binding ControlSlitDoorCommand}" CommandParameter="PMB,True" IsEnabled="{Binding PMBDoorIsOpen,Converter={StaticResource BoolToBool}}"></Button>
  489. <Button Grid.Column="2" Grid.Row="2" Content="PMB Door Close" Command="{Binding ControlSlitDoorCommand}" CommandParameter="PMB,False" IsEnabled="{Binding PMBDoorIsOpen}"></Button>
  490. <Button Grid.Column="0" Grid.Row="4" Content="PMC Door Open" Command="{Binding ControlSlitDoorCommand}" CommandParameter="PMC,True" IsEnabled="{Binding PMCDoorIsOpen}"></Button>
  491. <Button Grid.Column="2" Grid.Row="4" Content="PMC Door Close" Command="{Binding ControlSlitDoorCommand}" CommandParameter="PMC,False" IsEnabled="{Binding PMCDoorIsOpen,Converter={StaticResource BoolToBool}}"></Button>
  492. </Grid>
  493. </Border>
  494. </Grid>
  495. </TabItem>
  496. <TabItem Header="VCEA" Style="{StaticResource CustomTab}">
  497. <Grid>
  498. <Grid.RowDefinitions>
  499. <RowDefinition Height="*"/>
  500. <RowDefinition Height="*"/>
  501. <RowDefinition Height="*"/>
  502. <RowDefinition Height="*"/>
  503. </Grid.RowDefinitions>
  504. <Border Grid.Row="0" Grid.Column="0" Background="#95b3d7" Margin="5" CornerRadius="5" >
  505. <Grid>
  506. <Grid.RowDefinitions>
  507. <RowDefinition Height="*"></RowDefinition>
  508. <RowDefinition Height="*"></RowDefinition>
  509. </Grid.RowDefinitions>
  510. <Grid.ColumnDefinitions>
  511. <ColumnDefinition Width="*"/>
  512. <ColumnDefinition Width=".3*"/>
  513. <ColumnDefinition Width="1.5*"/>
  514. <ColumnDefinition Width=".3*"/>
  515. <ColumnDefinition Width="*"/>
  516. </Grid.ColumnDefinitions>
  517. <Grid Grid.ColumnSpan="5">
  518. <Grid.ColumnDefinitions>
  519. <ColumnDefinition Width="*"/>
  520. <ColumnDefinition Width="*"/>
  521. </Grid.ColumnDefinitions>
  522. <Button Grid.Column="0" Margin="10,5" IsEnabled="{Binding RtDataValues[DETM.IsOffline],Mode=TwoWay}" Command="{Binding TMSetOnline}">Online</Button>
  523. <Button Grid.Column="1" Margin="10,5" IsEnabled="{Binding RtDataValues[SETM.IsOnline],Mode=TwoWay}" Command="{Binding TMSetOffline}">Offline</Button>
  524. </Grid>
  525. <TextBlock Grid.Row="1" Grid.Column="0" TextAlignment="Center" VerticalAlignment="Center">leak Check</TextBlock>
  526. <TextBox Grid.Row="1" Grid.Column="2" TextAlignment="Center" VerticalAlignment="Center">0.34 mt/min</TextBox>
  527. <Grid Grid.Column="4" Grid.Row="1">
  528. <Grid.RowDefinitions>
  529. <RowDefinition Height="*"></RowDefinition>
  530. <RowDefinition Height="*"></RowDefinition>
  531. </Grid.RowDefinitions>
  532. <Button Grid.Row="0" Margin="3" Command="{Binding VCEHome}">Home</Button>
  533. <Button Grid.Row="2" Margin="3" Command="{Binding VCEAbort}">Abort</Button>
  534. </Grid>
  535. </Grid>
  536. </Border>
  537. <Border Grid.Row="1" Grid.Column="0" Background="#95b3d7" Margin="5" Padding="20,10" CornerRadius="5">
  538. <Grid>
  539. <Grid.RowDefinitions>
  540. <RowDefinition Height="*"/>
  541. <RowDefinition Height="*"/>
  542. <RowDefinition Height="*"/>
  543. </Grid.RowDefinitions>
  544. <Grid.ColumnDefinitions>
  545. <ColumnDefinition Width="*"></ColumnDefinition>
  546. <ColumnDefinition Width=".5*"></ColumnDefinition>
  547. <ColumnDefinition Width="*"></ColumnDefinition>
  548. </Grid.ColumnDefinitions>
  549. <Button Grid.Column="0" Grid.Row="0">Leak check</Button>
  550. <Button Grid.Column="2" Grid.Row="0" Command="{Binding PumpDown}" CommandParameter="VCEA">Pump Down</Button>
  551. <Button Grid.Column="0" Grid.Row="2" Command="{Binding Vent}" CommandParameter="VCEA">Vent</Button>
  552. <Button Grid.Column="2" Grid.Row="2" Command="{Binding VCEClear}" CommandParameter="VCEA">Clear Error</Button>
  553. </Grid>
  554. </Border>
  555. <Border Grid.Row="2" Grid.Column="0" Padding="20,10" Background="#95b3d7" Margin="5" CornerRadius="5">
  556. <Grid>
  557. <Grid.RowDefinitions>
  558. <RowDefinition Height="*"/>
  559. <RowDefinition Height=".5*"/>
  560. <RowDefinition Height="*"/>
  561. </Grid.RowDefinitions>
  562. <Grid.ColumnDefinitions>
  563. <ColumnDefinition Width="*"></ColumnDefinition>
  564. <ColumnDefinition Width=".5*"></ColumnDefinition>
  565. <ColumnDefinition Width="*"></ColumnDefinition>
  566. </Grid.ColumnDefinitions>
  567. <Button Grid.Column="0" Grid.Row="0" Command="{Binding MapCommand}" CommandParameter="VCEA">Mapping</Button>
  568. <Button Grid.Column="2" Grid.Row="0" Command="{Binding GoToLoadCommand}" CommandParameter="VCEA">Go to load position</Button>
  569. <Grid Grid.Column="0" Grid.Row="2">
  570. <Grid.ColumnDefinitions>
  571. <ColumnDefinition Width="*"></ColumnDefinition>
  572. <ColumnDefinition Width="22"></ColumnDefinition>
  573. </Grid.ColumnDefinitions>
  574. <Button Grid.Column="0" Command="{Binding GoToSlotCommand}" CommandParameter="VCEA">Go to slot</Button>
  575. <TextBox Grid.Column="1" Width="22" Text="{Binding GoToSlotNumber,UpdateSourceTrigger=PropertyChanged,Mode=TwoWay}" VerticalAlignment="Center" Padding="0,10"></TextBox>
  576. </Grid>
  577. <Button Grid.Column="2" Grid.Row="2" Command="{Binding HOMECommand}" CommandParameter="VCEA">Home plant</Button>
  578. </Grid>
  579. </Border>
  580. <Border Grid.Row="3" Grid.Column="0" Padding="20,10" Background="#95b3d7" Margin="5" CornerRadius="5">
  581. <Grid>
  582. <Grid.RowDefinitions>
  583. <RowDefinition Height="*"/>
  584. <RowDefinition Height=".5*"/>
  585. <RowDefinition Height="*"/>
  586. </Grid.RowDefinitions>
  587. <Grid.ColumnDefinitions>
  588. <ColumnDefinition Width="*"></ColumnDefinition>
  589. <ColumnDefinition Width=".5*"></ColumnDefinition>
  590. <ColumnDefinition Width="*"></ColumnDefinition>
  591. </Grid.ColumnDefinitions>
  592. <Button Grid.Column="0" Grid.Row="0" Command="{Binding ControlSlitDoorCommand}" CommandParameter="VCE1,True" IsEnabled="{Binding VCEDoorIsOpen,Converter={StaticResource BoolToBool}}">Inner Door Open</Button>
  593. <Button Grid.Column="2" Grid.Row="0" Command="{Binding ControlSlitDoorCommand}" CommandParameter="VCE1,False" IsEnabled="{Binding VCEDoorIsOpen}">Inner Door Close</Button>
  594. <Button Grid.Column="0" Grid.Row="2" Command="{Binding OpenDoorCommand}" CommandParameter="VCEA" IsEnabled="{Binding VCEOutDoorIsOpen}">Outer Door open</Button>
  595. <Button Grid.Column="2" Grid.Row="2" Command="{Binding CloseDoorCommand}" CommandParameter="VCEA" IsEnabled="{Binding VCEOutDoorIsOpen,Converter={StaticResource BoolToBool}}">Outer Door Close</Button>
  596. </Grid>
  597. </Border>
  598. </Grid>
  599. </TabItem>
  600. <TabItem Header="VCEB" Style="{StaticResource CustomTab}">
  601. <Grid>
  602. <Grid.RowDefinitions>
  603. <RowDefinition Height="*"/>
  604. <RowDefinition Height="*"/>
  605. <RowDefinition Height="*"/>
  606. <RowDefinition Height="*"/>
  607. </Grid.RowDefinitions>
  608. <Border Grid.Row="0" Grid.Column="0" Background="#95b3d7" Margin="5" CornerRadius="5" >
  609. <Grid>
  610. <Grid.RowDefinitions>
  611. <RowDefinition Height="*"></RowDefinition>
  612. <RowDefinition Height="*"></RowDefinition>
  613. </Grid.RowDefinitions>
  614. <Grid.ColumnDefinitions>
  615. <ColumnDefinition Width="*"/>
  616. <ColumnDefinition Width=".3*"/>
  617. <ColumnDefinition Width="1.5*"/>
  618. <ColumnDefinition Width=".3*"/>
  619. <ColumnDefinition Width="*"/>
  620. </Grid.ColumnDefinitions>
  621. <Grid Grid.ColumnSpan="5">
  622. <Grid.ColumnDefinitions>
  623. <ColumnDefinition Width="*"/>
  624. <ColumnDefinition Width="*"/>
  625. </Grid.ColumnDefinitions>
  626. <Button Grid.Column="0" Margin="10,5" IsEnabled="{Binding RtDataValues[DETM.IsOffline],Mode=TwoWay}" Command="{Binding TMSetOnline}">Online</Button>
  627. <Button Grid.Column="1" Margin="10,5" IsEnabled="{Binding RtDataValues[SETM.IsOnline],Mode=TwoWay}" Command="{Binding TMSetOffline}">Offline</Button>
  628. </Grid>
  629. <TextBlock Grid.Row="1" Grid.Column="0" TextAlignment="Center" VerticalAlignment="Center">leak Check</TextBlock>
  630. <TextBox Grid.Row="1" Grid.Column="2" TextAlignment="Center" VerticalAlignment="Center">0.34 mt/min</TextBox>
  631. <Grid Grid.Column="4" Grid.Row="1">
  632. <Grid.RowDefinitions>
  633. <RowDefinition Height="*"></RowDefinition>
  634. <RowDefinition Height="*"></RowDefinition>
  635. </Grid.RowDefinitions>
  636. <Button Grid.Row="0" Margin="3" Command="{Binding VCEHome}">Home</Button>
  637. <Button Grid.Row="2" Margin="3" Command="{Binding VCEAbort}">Abort</Button>
  638. </Grid>
  639. </Grid>
  640. </Border>
  641. <Border Grid.Row="1" Grid.Column="0" Background="#95b3d7" Margin="5" Padding="20,10" CornerRadius="5">
  642. <Grid>
  643. <Grid.RowDefinitions>
  644. <RowDefinition Height="*"/>
  645. <RowDefinition Height="*"/>
  646. <RowDefinition Height="*"/>
  647. </Grid.RowDefinitions>
  648. <Grid.ColumnDefinitions>
  649. <ColumnDefinition Width="*"></ColumnDefinition>
  650. <ColumnDefinition Width=".5*"></ColumnDefinition>
  651. <ColumnDefinition Width="*"></ColumnDefinition>
  652. </Grid.ColumnDefinitions>
  653. <Button Grid.Column="0" Grid.Row="0">Leak check</Button>
  654. <Button Grid.Column="2" Grid.Row="0" Command="{Binding PumpDown}" CommandParameter="VCEB">Pump Down</Button>
  655. <Button Grid.Column="0" Grid.Row="2" Command="{Binding Vent}" CommandParameter="VCEB">Vent</Button>
  656. <Button Grid.Column="2" Grid.Row="2" Command="{Binding VCEClear}" CommandParameter="VCEB">Clear Error</Button>
  657. </Grid>
  658. </Border>
  659. <Border Grid.Row="2" Grid.Column="0" Padding="20,10" Background="#95b3d7" Margin="5" CornerRadius="5">
  660. <Grid>
  661. <Grid.RowDefinitions>
  662. <RowDefinition Height="*"/>
  663. <RowDefinition Height=".5*"/>
  664. <RowDefinition Height="*"/>
  665. </Grid.RowDefinitions>
  666. <Grid.ColumnDefinitions>
  667. <ColumnDefinition Width="*"></ColumnDefinition>
  668. <ColumnDefinition Width=".5*"></ColumnDefinition>
  669. <ColumnDefinition Width="*"></ColumnDefinition>
  670. </Grid.ColumnDefinitions>
  671. <Button Grid.Column="0" Grid.Row="0" Command="{Binding MapCommand}" CommandParameter="VCEB">Mapping</Button>
  672. <Button Grid.Column="2" Grid.Row="0" Command="{Binding GoToLoadCommand}" CommandParameter="VCEB">Go to load position</Button>
  673. <Grid Grid.Column="0" Grid.Row="2">
  674. <Grid.ColumnDefinitions>
  675. <ColumnDefinition Width="*"></ColumnDefinition>
  676. <ColumnDefinition Width="22"></ColumnDefinition>
  677. </Grid.ColumnDefinitions>
  678. <Button Grid.Column="0" Command="{Binding GoToSlotCommand}" CommandParameter="VCEB">Go to slot</Button>
  679. <TextBox Grid.Column="1" Width="22" Text="{Binding GoToSlotNumber,UpdateSourceTrigger=PropertyChanged,Mode=TwoWay}" VerticalAlignment="Center" Padding="0,10"></TextBox>
  680. </Grid>
  681. <Button Grid.Column="2" Grid.Row="2" Command="{Binding HOMECommand}" CommandParameter="VCEB">Home plant</Button>
  682. </Grid>
  683. </Border>
  684. <Border Grid.Row="3" Grid.Column="0" Padding="20,10" Background="#95b3d7" Margin="5" CornerRadius="5">
  685. <Grid>
  686. <Grid.RowDefinitions>
  687. <RowDefinition Height="*"/>
  688. <RowDefinition Height=".5*"/>
  689. <RowDefinition Height="*"/>
  690. </Grid.RowDefinitions>
  691. <Grid.ColumnDefinitions>
  692. <ColumnDefinition Width="*"></ColumnDefinition>
  693. <ColumnDefinition Width=".5*"></ColumnDefinition>
  694. <ColumnDefinition Width="*"></ColumnDefinition>
  695. </Grid.ColumnDefinitions>
  696. <Button Grid.Column="0" Grid.Row="0" Command="{Binding ControlSlitDoorCommand}" CommandParameter="VCE1,True" IsEnabled="{Binding VCEDoorIsOpen,Converter={StaticResource BoolToBool}}">Inner Door Open</Button>
  697. <Button Grid.Column="2" Grid.Row="0" Command="{Binding ControlSlitDoorCommand}" CommandParameter="VCE1,False" IsEnabled="{Binding VCEDoorIsOpen}">Inner Door Close</Button>
  698. <Button Grid.Column="0" Grid.Row="2" Command="{Binding OpenDoorCommand}" CommandParameter="VCEB" IsEnabled="{Binding VCEOutDoorIsOpen}">Outer Door open</Button>
  699. <Button Grid.Column="2" Grid.Row="2" Command="{Binding CloseDoorCommand}" CommandParameter="VCEB" IsEnabled="{Binding VCEOutDoorIsOpen,Converter={StaticResource BoolToBool}}">Outer Door Close</Button>
  700. </Grid>
  701. </Border>
  702. </Grid>
  703. </TabItem>
  704. <TabItem Header="SMIFA" Style="{StaticResource CustomTab}">
  705. <Grid>
  706. <Grid.RowDefinitions>
  707. <RowDefinition Height=".5*"/>
  708. <RowDefinition Height="*"/>
  709. <RowDefinition Height="*"/>
  710. <RowDefinition Height="*"/>
  711. </Grid.RowDefinitions>
  712. <Border Grid.Row="0" Grid.Column="0" Background="#95b3d7" Margin="5" CornerRadius="5" >
  713. <Grid>
  714. <Grid.RowDefinitions>
  715. <RowDefinition Height="*"></RowDefinition>
  716. <RowDefinition Height="*"></RowDefinition>
  717. </Grid.RowDefinitions>
  718. <Grid.ColumnDefinitions>
  719. <ColumnDefinition Width="*"/>
  720. <ColumnDefinition Width=".3*"/>
  721. <ColumnDefinition Width="1.5*"/>
  722. <ColumnDefinition Width=".3*"/>
  723. <ColumnDefinition Width="*"/>
  724. </Grid.ColumnDefinitions>
  725. <TextBlock Grid.Row="1" Grid.Column="0" TextAlignment="Center" VerticalAlignment="Center">Action Info</TextBlock>
  726. <TextBox Grid.Row="1" Grid.Column="2" TextAlignment="Center" VerticalAlignment="Center">HOME OK</TextBox>
  727. <Grid Grid.Column="4" Grid.RowSpan="2">
  728. <Grid.RowDefinitions>
  729. <RowDefinition Height="*"></RowDefinition>
  730. <RowDefinition Height="*"></RowDefinition>
  731. <RowDefinition Height="*"></RowDefinition>
  732. </Grid.RowDefinitions>
  733. <Button Grid.Row="0" Margin="2">Online</Button>
  734. <Button Grid.Row="1" Margin="2">Offline</Button>
  735. <Button Grid.Row="2" Margin="2">Home</Button>
  736. </Grid>
  737. </Grid>
  738. </Border>
  739. <Border Grid.RowSpan="3" Grid.Row="1" Padding="20,40" Background="#95b3d7" Margin="5" CornerRadius="5">
  740. <Grid>
  741. <Grid.ColumnDefinitions>
  742. <ColumnDefinition></ColumnDefinition>
  743. <ColumnDefinition Width=".5*"></ColumnDefinition>
  744. <ColumnDefinition></ColumnDefinition>
  745. </Grid.ColumnDefinitions>
  746. <Grid.RowDefinitions>
  747. <RowDefinition></RowDefinition>
  748. <RowDefinition Height=".5*"></RowDefinition>
  749. <RowDefinition></RowDefinition>
  750. <RowDefinition Height=".5*"></RowDefinition>
  751. <RowDefinition></RowDefinition>
  752. <RowDefinition Height="3*"></RowDefinition>
  753. </Grid.RowDefinitions>
  754. <Button Grid.Column="0" Grid.Row="0" Content="Foup clamp"></Button>
  755. <Button Grid.Column="2" Grid.Row="0" Content="Foup unclamp"></Button>
  756. <Button Grid.Column="0" Grid.Row="2" Content="Open cassette"></Button>
  757. <Button Grid.Column="2" Grid.Row="2" Content="Close cassette"></Button>
  758. <Button Grid.Column="0" Grid.Row="4" Content="Load cassette"></Button>
  759. <Button Grid.Column="2" Grid.Row="4" Content="Unload cassette "></Button>
  760. </Grid>
  761. </Border>
  762. </Grid>
  763. </TabItem>
  764. <TabItem Header="SMIFB" Style="{StaticResource CustomTab}">
  765. <Grid>
  766. <Grid.ColumnDefinitions>
  767. <ColumnDefinition Width="132*"/>
  768. <ColumnDefinition Width="65*"/>
  769. </Grid.ColumnDefinitions>
  770. <Grid.RowDefinitions>
  771. <RowDefinition Height=".5*"/>
  772. <RowDefinition Height="*"/>
  773. <RowDefinition Height="*"/>
  774. <RowDefinition Height="*"/>
  775. </Grid.RowDefinitions>
  776. <Border Grid.Row="0" Grid.Column="0" Background="#95b3d7" Margin="5,5,5,5" CornerRadius="5" Grid.ColumnSpan="2" >
  777. <Grid>
  778. <Grid.RowDefinitions>
  779. <RowDefinition Height="*"></RowDefinition>
  780. <RowDefinition Height="*"></RowDefinition>
  781. </Grid.RowDefinitions>
  782. <Grid.ColumnDefinitions>
  783. <ColumnDefinition Width="*"/>
  784. <ColumnDefinition Width=".3*"/>
  785. <ColumnDefinition Width="1.5*"/>
  786. <ColumnDefinition Width=".3*"/>
  787. <ColumnDefinition Width="*"/>
  788. </Grid.ColumnDefinitions>
  789. <TextBlock Grid.Row="0" Grid.Column="0" TextAlignment="Center" VerticalAlignment="Center">Status</TextBlock>
  790. <TextBlock Grid.Row="1" Grid.Column="0" TextAlignment="Center" VerticalAlignment="Center">Action Info</TextBlock>
  791. <TextBox Grid.Row="1" Grid.Column="2" TextAlignment="Center" VerticalAlignment="Center">HOME OK</TextBox>
  792. <TextBox Grid.Row="0" Grid.Column="2" TextAlignment="Center" VerticalAlignment="Center">offline</TextBox>
  793. <Grid Grid.Column="4" Grid.RowSpan="2">
  794. <Grid.RowDefinitions>
  795. <RowDefinition Height="*"></RowDefinition>
  796. <RowDefinition Height="*"></RowDefinition>
  797. <RowDefinition Height="*"></RowDefinition>
  798. </Grid.RowDefinitions>
  799. <Button Grid.Row="0" Margin="2">Online</Button>
  800. <Button Grid.Row="1" Margin="2">Offline</Button>
  801. <Button Grid.Row="2" Margin="2">Home</Button>
  802. </Grid>
  803. </Grid>
  804. </Border>
  805. <Border Grid.RowSpan="3" Grid.Row="1" Padding="20,40" Background="#95b3d7" Margin="5,5,5,5" CornerRadius="5" Grid.ColumnSpan="2">
  806. <Grid>
  807. <Grid.ColumnDefinitions>
  808. <ColumnDefinition></ColumnDefinition>
  809. <ColumnDefinition Width=".5*"></ColumnDefinition>
  810. <ColumnDefinition></ColumnDefinition>
  811. </Grid.ColumnDefinitions>
  812. <Grid.RowDefinitions>
  813. <RowDefinition></RowDefinition>
  814. <RowDefinition Height=".5*"></RowDefinition>
  815. <RowDefinition></RowDefinition>
  816. <RowDefinition Height=".5*"></RowDefinition>
  817. <RowDefinition></RowDefinition>
  818. <RowDefinition Height="3*"></RowDefinition>
  819. </Grid.RowDefinitions>
  820. <Button Grid.Column="0" Grid.Row="0" Content="Foup clamp"></Button>
  821. <Button Grid.Column="2" Grid.Row="0" Content="Foup unclamp"></Button>
  822. <Button Grid.Column="0" Grid.Row="2" Content="Open cassette"></Button>
  823. <Button Grid.Column="2" Grid.Row="2" Content="Close cassette"></Button>
  824. <Button Grid.Column="0" Grid.Row="4" Content="Load cassette"></Button>
  825. <Button Grid.Column="2" Grid.Row="4" Content="Unload cassette "></Button>
  826. </Grid>
  827. </Border>
  828. </Grid>
  829. </TabItem>
  830. </TabControl>
  831. </Canvas>
  832. </Canvas>
  833. </UserControl>