VPWMainUIControl.xaml 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  1. <UserControl x:Class="PunkHPX8_Themes.UserControls.VPWMainUIControl"
  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:userControls="clr-namespace:PunkHPX8_Themes.UserControls"
  7. xmlns:customControls="clr-namespace:PunkHPX8_Themes.CustomControls"
  8. xmlns:converters="clr-namespace:PunkHPX8_Themes.Converters"
  9. xmlns:local="clr-namespace:PunkHPX8_Themes.UserControls"
  10. mc:Ignorable="d" Name="self"
  11. d:DesignHeight="800" d:DesignWidth="800">
  12. <UserControl.Resources>
  13. <converters:BoolToVisibility2 x:Key="boolToVisibility2"></converters:BoolToVisibility2>
  14. <converters:BoolToVisibility x:Key="boolToVisibility"></converters:BoolToVisibility>
  15. <converters:BoolToOrientation x:Key="boolToOrientation"></converters:BoolToOrientation>
  16. <converters:MutiBoolToBool x:Key="mutiBoolToBool"/>
  17. <Style x:Key="DisableContextMenuStyle" TargetType="userControls:Pump1">
  18. <Setter Property="IsEnabled" Value="False"/>
  19. </Style>
  20. <ContextMenu x:Key="DIWProcessValve">
  21. <MenuItem Header="Open" Click="OpenDIWProcessValve_Click"/>
  22. <MenuItem Header="Close" Click="CloseDIWProcessValve_Click"/>
  23. </ContextMenu>
  24. <ContextMenu x:Key="DIWDegasValve">
  25. <MenuItem Header="Open" Click="OpenDIWDegasValve_Click"/>
  26. <MenuItem Header="Close" Click="CloseDIWDegasValve_Click"/>
  27. </ContextMenu>
  28. <ContextMenu x:Key="DegasAdjustValve">
  29. <MenuItem Header="Open" Click="OpenDegasAdjustValve_Click"/>
  30. <MenuItem Header="Close" Click="CloseDegasAdjustValve_Click"/>
  31. </ContextMenu>
  32. <ContextMenu x:Key="VPW1VACValve">
  33. <MenuItem Header="Open" Click="OpenVPW1VACValve_Click"/>
  34. <MenuItem Header="Close" Click="CloseVPW1VACValve_Click"/>
  35. </ContextMenu>
  36. <ContextMenu x:Key="VPW2VACValve">
  37. <MenuItem Header="Open" Click="OpenVPW2VACValve_Click"/>
  38. <MenuItem Header="Close" Click="CloseVPW2VACValve_Click"/>
  39. </ContextMenu>
  40. </UserControl.Resources>
  41. <Canvas>
  42. <Grid Height="50" Width="100" Canvas.Left="206" Canvas.Top="83" HorizontalAlignment="Center" VerticalAlignment="Top" >
  43. <Grid.RowDefinitions>
  44. <RowDefinition Height="30"></RowDefinition>
  45. <RowDefinition Height="20"></RowDefinition>
  46. </Grid.RowDefinitions>
  47. <Grid Grid.Row="0">
  48. <customControls:CommonValveControl Height="16" Width="16" ValveOrientation="Horizontal"
  49. Status="{Binding ElementName=self,Path=DIWProcessValve}"
  50. IsCanEdit="True"
  51. ContextMenu="{StaticResource DIWProcessValve}"/>
  52. </Grid>
  53. <Grid Grid.Row="1">
  54. <Label Margin="12,0,0,0" Height="20" Width="100" FontSize="10" FontWeight="Bold" Content="DIW Process" />
  55. </Grid>
  56. </Grid>
  57. <Grid Height="50" Width="100" Canvas.Left="575" Canvas.Top="83" HorizontalAlignment="Center" VerticalAlignment="Top" >
  58. <Grid.RowDefinitions>
  59. <RowDefinition Height="30"></RowDefinition>
  60. <RowDefinition Height="20"></RowDefinition>
  61. </Grid.RowDefinitions>
  62. <Grid Grid.Row="0">
  63. <customControls:CommonValveControl Height="16" Width="16" ValveOrientation="Horizontal"
  64. Status="{Binding ElementName=self,Path=DIWDegasValve}"
  65. IsCanEdit="True"
  66. ContextMenu="{StaticResource DIWDegasValve}"/>
  67. </Grid>
  68. <Grid Grid.Row="1">
  69. <Label Margin="12,0,0,0" Height="20" Width="100" FontSize="10" FontWeight="Bold" Content="DIW Degas" />
  70. </Grid>
  71. </Grid>
  72. <Grid Height="50" Width="100" Canvas.Left="206" Canvas.Top="202" HorizontalAlignment="Center" VerticalAlignment="Top" >
  73. <Grid.RowDefinitions>
  74. <RowDefinition Height="30"></RowDefinition>
  75. <RowDefinition Height="20"></RowDefinition>
  76. </Grid.RowDefinitions>
  77. <Grid Grid.Row="0">
  78. <customControls:CommonValveControl Height="16" Width="16" ValveOrientation="Horizontal"
  79. Status="{Binding ElementName=self,Path=DegasAdjustValve}"
  80. IsCanEdit="True"
  81. ContextMenu="{StaticResource DegasAdjustValve}"/>
  82. </Grid>
  83. <Grid Grid.Row="1">
  84. <Label Margin="12,0,0,0" Height="20" Width="100" FontSize="10" FontWeight="Bold" Content="Degas Adjust" />
  85. </Grid>
  86. </Grid>
  87. <Grid Height="50" Width="100" Canvas.Left="250" Canvas.Top="600" HorizontalAlignment="Center" VerticalAlignment="Top" >
  88. <Grid.RowDefinitions>
  89. <RowDefinition Height="30"></RowDefinition>
  90. <RowDefinition Height="20"></RowDefinition>
  91. </Grid.RowDefinitions>
  92. <Grid Grid.Row="0">
  93. <customControls:CommonValveControl Height="16" Width="16" ValveOrientation="Horizontal"
  94. Status="{Binding ElementName=self,Path=VPW1VACValve}"
  95. IsCanEdit="True"
  96. ContextMenu="{StaticResource VPW1VACValve}"/>
  97. </Grid>
  98. <Grid Grid.Row="1">
  99. <Label Margin="12,0,0,0" Height="20" Width="100" FontSize="10" FontWeight="Bold" Content="VPW 1 VAC" />
  100. </Grid>
  101. </Grid>
  102. <Grid Height="50" Width="100" Canvas.Left="510" Canvas.Top="600" HorizontalAlignment="Center" VerticalAlignment="Top" >
  103. <Grid.RowDefinitions>
  104. <RowDefinition Height="30"></RowDefinition>
  105. <RowDefinition Height="20"></RowDefinition>
  106. </Grid.RowDefinitions>
  107. <Grid Grid.Row="0">
  108. <customControls:CommonValveControl Height="16" Width="16" ValveOrientation="Horizontal"
  109. Status="{Binding ElementName=self,Path=VPW2VACValve}"
  110. IsCanEdit="True"
  111. ContextMenu="{StaticResource VPW2VACValve}"/>
  112. </Grid>
  113. <Grid Grid.Row="1">
  114. <Label Margin="12,0,0,0" Height="20" Width="100" FontSize="10" FontWeight="Bold" Content="VPW 2 VAC" />
  115. </Grid>
  116. </Grid>
  117. <Grid Height="50" Width="120" Canvas.Left="282" Canvas.Top="42" HorizontalAlignment="Center" VerticalAlignment="Top" >
  118. <Grid.RowDefinitions>
  119. <RowDefinition Height="20"></RowDefinition>
  120. <RowDefinition Height="30"></RowDefinition>
  121. </Grid.RowDefinitions>
  122. <Grid.ColumnDefinitions>
  123. <ColumnDefinition Width="60"></ColumnDefinition>
  124. <ColumnDefinition Width="60"></ColumnDefinition>
  125. </Grid.ColumnDefinitions>
  126. <Grid Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Center" Margin="0,0,10,0">
  127. <Label Content="Total Flow" FontSize="10" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="5,0,0,0"/>
  128. </Grid>
  129. <Border Grid.Row="1" Grid.Column="0" Margin="5,5,5,5" Background="Black" Width="50" VerticalAlignment="Center" HorizontalAlignment="Right">
  130. <TextBlock Text="{Binding ElementName=self,Path=TotalFlow}" Foreground="Lime" FontSize="16" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  131. </Border>
  132. <Border Grid.Row="1" Grid.Column="1" Margin="0,5,0,5 " Background="Black" Height="22" Width="40" VerticalAlignment="Center" HorizontalAlignment="Left">
  133. <TextBlock Text="L/min" Foreground="Lime" FontSize="12" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  134. </Border>
  135. </Grid>
  136. <userControls:ReservoirPump IsEnabled="True" ModuleName="{Binding ModuleName,ElementName=self}" PumpType="BoosterPump" RotateTransformValue="0" IsOpenPump="{Binding IsBoosterPumpOpen,Mode=TwoWay,ElementName=self}" Height="60" Width="60" Tag="26" HorizontalAlignment="Center" VerticalAlignment="Top" Canvas.Left="99" Canvas.Top="46" />
  137. <userControls:ReservoirPump IsEnabled="True" ModuleName="{Binding ModuleName,ElementName=self}" PumpType="DegasPump" RotateTransformValue="0" IsOpenPump="{Binding IsDegasPumpOpen,Mode=TwoWay,ElementName=self}" Height="60" Width="60" Tag="26" HorizontalAlignment="Center" VerticalAlignment="Top" Canvas.Left="99" Canvas.Top="163" />
  138. <userControls:ReservoirPump IsEnabled="True" ModuleName="{Binding ModuleName,ElementName=self}" PumpType="VacuumPump" RotateTransformValue="0" IsOpenPump="{Binding IsVacuumPumpOpen,Mode=TwoWay,ElementName=self}" Height="60" Width="60" Tag="26" HorizontalAlignment="Center" VerticalAlignment="Top" Canvas.Left="396" Canvas.Top="670" RenderTransformOrigin="0.25,0.517" >
  139. <local:ReservoirPump.RenderTransform>
  140. <TransformGroup>
  141. <ScaleTransform/>
  142. <SkewTransform/>
  143. <RotateTransform Angle="-89.495"/>
  144. <TranslateTransform/>
  145. </TransformGroup>
  146. </local:ReservoirPump.RenderTransform>
  147. </userControls:ReservoirPump>
  148. <Label Height="20" Width="100" FontSize="10" FontWeight="Bold" Content="Booster Pump" Canvas.Left="86" Canvas.Top="112" HorizontalAlignment="Center" VerticalAlignment="Top" />
  149. <Label Height="20" Width="100" FontSize="10" FontWeight="Bold" Content="Degas Pump" Canvas.Left="86" Canvas.Top="239" HorizontalAlignment="Center" VerticalAlignment="Top" />
  150. <Label Height="20" Width="100" FontSize="10" FontWeight="Bold" Content="Vacuum Pump" Canvas.Left="376" Canvas.Top="716" HorizontalAlignment="Center" VerticalAlignment="Top" />
  151. <Label Height="20" Width="51" FontSize="10" FontWeight="Bold" Content="DIW In" Canvas.Left="17" Canvas.Top="86" HorizontalAlignment="Center" VerticalAlignment="Top" />
  152. <Label Height="26" Width="63" FontSize="10" FontWeight="Bold" Content="N2 Purge" Canvas.Left="698" Canvas.Top="18" HorizontalAlignment="Center" VerticalAlignment="Top" />
  153. <Image Source="pack://application:,,,/PunkHPX8_Themes;component/Themes/Images/parts/VpwUp.png" Height="84" Width="254" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="182" Canvas.Top="280"/>
  154. <Image Source="pack://application:,,,/PunkHPX8_Themes;component/Themes/Images/parts/VpwUp.png" Height="84" Width="254" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="446" Canvas.Top="280"/>
  155. <Image Source="pack://application:,,,/PunkHPX8_Themes;component/Themes/Images/parts/VpwCell.png" Height="236" Width="236" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="183" Canvas.Top="368"/>
  156. <Image Source="pack://application:,,,/PunkHPX8_Themes;component/Themes/Images/parts/VpwCell.png" Height="236" Width="236" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="440" Canvas.Top="368"/>
  157. <Image Source="pack://application:,,,/PunkHPX8_Themes;component/Themes/Images/parts/VpwShelf.png" Height="186" Width="292" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="276" Canvas.Top="398"/>
  158. <userControls:FlowPipe Height="6" Width="180" IsFlowing="{Binding IsBoosterPumpOpen,ElementName=self}" IsReverse="False" Panel.ZIndex="-1" Canvas.Left="71" Canvas.Top="95" HorizontalAlignment="Center" VerticalAlignment="Top" />
  159. <userControls:FlowPipe Height="6" Width="360" IsReverse="False" Panel.ZIndex="-1" Canvas.Left="261" Canvas.Top="95" HorizontalAlignment="Center" VerticalAlignment="Top" >
  160. <userControls:FlowPipe.IsFlowing>
  161. <MultiBinding Converter="{StaticResource mutiBoolToBool}">
  162. <Binding ElementName="self" Path="IsBoosterPumpOpen" />
  163. <Binding ElementName="self" Path="DIWProcessValve"/>
  164. </MultiBinding>
  165. </userControls:FlowPipe.IsFlowing>
  166. </userControls:FlowPipe>
  167. <userControls:FlowPipe Height="6" Width="400" IsReverse="True" Panel.ZIndex="-1" Canvas.Left="330" Canvas.Top="241" HorizontalAlignment="Center" VerticalAlignment="Top" >
  168. <userControls:FlowPipe.IsFlowing>
  169. <MultiBinding Converter="{StaticResource mutiBoolToBool}">
  170. <Binding ElementName="self" Path="IsBoosterPumpOpen" />
  171. <Binding ElementName="self" Path="DIWDegasValve"/>
  172. </MultiBinding>
  173. </userControls:FlowPipe.IsFlowing>
  174. </userControls:FlowPipe>
  175. <userControls:FlowPipe Height="6" Width="100" IsReverse="False" Panel.ZIndex="-1" Canvas.Left="630" Canvas.Top="95" HorizontalAlignment="Center" VerticalAlignment="Top" >
  176. <userControls:FlowPipe.IsFlowing>
  177. <MultiBinding Converter="{StaticResource mutiBoolToBool}">
  178. <Binding ElementName="self" Path="IsBoosterPumpOpen" />
  179. <Binding ElementName="self" Path="DIWDegasValve"/>
  180. </MultiBinding>
  181. </userControls:FlowPipe.IsFlowing>
  182. </userControls:FlowPipe>
  183. <userControls:FlowPipe Height="8" Width="124" IsReverse="True" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="418" Canvas.Top="95">
  184. <userControls:FlowPipe.IsFlowing>
  185. <MultiBinding Converter="{StaticResource mutiBoolToBool}">
  186. <Binding ElementName="self" Path="IsDegasPumpOpen" />
  187. <Binding ElementName="self" Path="DegasAdjustValve"/>
  188. </MultiBinding>
  189. </userControls:FlowPipe.IsFlowing>
  190. </userControls:FlowPipe>
  191. <userControls:FlowPipe Height="8" Width="150" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="730" Canvas.Top="95">
  192. <userControls:FlowPipe.IsFlowing>
  193. <MultiBinding Converter="{StaticResource mutiBoolToBool}">
  194. <Binding ElementName="self" Path="IsBoosterPumpOpen" />
  195. <Binding ElementName="self" Path="DIWDegasValve"/>
  196. </MultiBinding>
  197. </userControls:FlowPipe.IsFlowing>
  198. </userControls:FlowPipe>
  199. <userControls:FlowPipe Height="8" Width="80" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="530" Canvas.Top="241">
  200. <userControls:FlowPipe.IsFlowing>
  201. <MultiBinding Converter="{StaticResource mutiBoolToBool}">
  202. <Binding ElementName="self" Path="IsBoosterPumpOpen" />
  203. <Binding ElementName="self" Path="DIWDegasValve"/>
  204. </MultiBinding>
  205. </userControls:FlowPipe.IsFlowing>
  206. </userControls:FlowPipe>
  207. <userControls:FlowPipe Height="8" Width="80" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="338" Canvas.Top="241">
  208. <userControls:FlowPipe.IsFlowing>
  209. <MultiBinding Converter="{StaticResource mutiBoolToBool}">
  210. <Binding ElementName="self" Path="IsBoosterPumpOpen" />
  211. <Binding ElementName="self" Path="DIWDegasValve"/>
  212. </MultiBinding>
  213. </userControls:FlowPipe.IsFlowing>
  214. </userControls:FlowPipe>
  215. <userControls:FlowPipe IsReverse="True" IsFlowing="{Binding IsVacuumPumpOpen,Mode=TwoWay,ElementName=self}" Height="8" Width="40" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="437" Canvas.Top="617"/>
  216. <userControls:FlowPipe Height="8" Width="40" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="304" Canvas.Top="569">
  217. <userControls:FlowPipe.IsFlowing>
  218. <MultiBinding Converter="{StaticResource mutiBoolToBool}">
  219. <Binding ElementName="self" Path="IsVacuumPumpOpen" />
  220. <Binding ElementName="self" Path="VPW1VACValve"/>
  221. </MultiBinding>
  222. </userControls:FlowPipe.IsFlowing>
  223. </userControls:FlowPipe>
  224. <userControls:FlowPipe Height="8" Width="40" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="1" Canvas.Left="564" Canvas.Top="569">
  225. <userControls:FlowPipe.IsFlowing>
  226. <MultiBinding Converter="{StaticResource mutiBoolToBool}">
  227. <Binding ElementName="self" Path="IsVacuumPumpOpen" />
  228. <Binding ElementName="self" Path="VPW2VACValve"/>
  229. </MultiBinding>
  230. </userControls:FlowPipe.IsFlowing>
  231. </userControls:FlowPipe>
  232. <userControls:FlowPipe Height="6" Width="160" IsFlowing="{Binding IsDegasPumpOpen,ElementName=self}" IsReverse="False" Panel.ZIndex="-1" Canvas.Left="100" Canvas.Top="213" HorizontalAlignment="Center" VerticalAlignment="Top" />
  233. <userControls:FlowPipe Height="6" Width="160" IsReverse="False" Panel.ZIndex="-1" Canvas.Left="255" Canvas.Top="213" HorizontalAlignment="Center" VerticalAlignment="Top" >
  234. <userControls:FlowPipe.IsFlowing>
  235. <MultiBinding Converter="{StaticResource mutiBoolToBool}">
  236. <Binding ElementName="self" Path="IsDegasPumpOpen" />
  237. <Binding ElementName="self" Path="DegasAdjustValve"/>
  238. </MultiBinding>
  239. </userControls:FlowPipe.IsFlowing>
  240. </userControls:FlowPipe>
  241. <userControls:FlowPipe Height="6" Width="135" IsFlowing="{Binding IsVacuumPumpOpen,ElementName=self}" IsReverse="True" Panel.ZIndex="-1" Canvas.Left="296" Canvas.Top="612" HorizontalAlignment="Center" VerticalAlignment="Top" />
  242. <userControls:FlowPipe Height="6" Width="135" IsFlowing="{Binding IsVacuumPumpOpen,ElementName=self}" IsReverse="False" Panel.ZIndex="-1" Canvas.Left="430" Canvas.Top="612" HorizontalAlignment="Center" VerticalAlignment="Top" />
  243. <Canvas Width="40" Height="20" Canvas.Left="710" Canvas.Top="55" HorizontalAlignment="Center" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5" >
  244. <Canvas.RenderTransform>
  245. <TransformGroup>
  246. <ScaleTransform/>
  247. <SkewTransform/>
  248. <RotateTransform Angle="-89.31"/>
  249. <TranslateTransform/>
  250. </TransformGroup>
  251. </Canvas.RenderTransform>
  252. <Polygon Width="10" Points="0,10 20,0 20,20" StrokeThickness="1" HorizontalAlignment="Left" VerticalAlignment="Center">
  253. <Polygon.Style>
  254. <Style TargetType="Polygon">
  255. <Setter Property="Fill" Value="Black"/>
  256. <Style.Triggers>
  257. <DataTrigger Binding="{Binding N2Valve,ElementName=self}" Value="true">
  258. <Setter Property="Fill" Value="lime" />
  259. </DataTrigger>
  260. </Style.Triggers>
  261. </Style>
  262. </Polygon.Style>
  263. </Polygon>
  264. <Polygon Points="0,0 30,0 30,4 0,4" StrokeThickness="1" Canvas.Left="10" Canvas.Top="8" HorizontalAlignment="Left" VerticalAlignment="Center">
  265. <Polygon.Style>
  266. <Style TargetType="Polygon">
  267. <Setter Property="Fill" Value="Black"/>
  268. <Style.Triggers>
  269. <DataTrigger Binding="{Binding N2Valve,ElementName=self}" Value="true">
  270. <Setter Property="Fill" Value="lime" />
  271. </DataTrigger>
  272. </Style.Triggers>
  273. </Style>
  274. </Polygon.Style>
  275. </Polygon>
  276. </Canvas>
  277. <Grid Height="50" Width="120" Canvas.Left="229" Canvas.Top="265" HorizontalAlignment="Left" VerticalAlignment="Top" >
  278. <Grid.RowDefinitions>
  279. <RowDefinition Height="20"></RowDefinition>
  280. <RowDefinition Height="30"></RowDefinition>
  281. </Grid.RowDefinitions>
  282. <Grid.ColumnDefinitions>
  283. <ColumnDefinition Width="60"></ColumnDefinition>
  284. <ColumnDefinition Width="60"></ColumnDefinition>
  285. </Grid.ColumnDefinitions>
  286. <Grid Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Center" Margin="0,0,10,0">
  287. <Label Content="Cell1 Flow" FontSize="10" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="5,0,0,0"/>
  288. </Grid>
  289. <Border Grid.Row="1" Grid.Column="0" Margin="5,5,5,5" Background="Black" Width="50" VerticalAlignment="Center" HorizontalAlignment="Right">
  290. <TextBlock Text="{Binding ElementName=self,Path=Cell1DIWFlow}" Foreground="Lime" FontSize="16" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  291. </Border>
  292. <Border Grid.Row="1" Grid.Column="1" Margin="0,5,0,5 " Background="Black" Height="22" Width="40" VerticalAlignment="Center" HorizontalAlignment="Left">
  293. <TextBlock Text="L/min" Foreground="Lime" FontSize="12" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  294. </Border>
  295. </Grid>
  296. <Grid Height="50" Width="120" Canvas.Left="529" Canvas.Top="265" HorizontalAlignment="Left" VerticalAlignment="Top" >
  297. <Grid.RowDefinitions>
  298. <RowDefinition Height="20"></RowDefinition>
  299. <RowDefinition Height="30"></RowDefinition>
  300. </Grid.RowDefinitions>
  301. <Grid.ColumnDefinitions>
  302. <ColumnDefinition Width="60"></ColumnDefinition>
  303. <ColumnDefinition Width="60"></ColumnDefinition>
  304. </Grid.ColumnDefinitions>
  305. <Grid Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Center" Margin="0,0,10,0">
  306. <Label Content="Cell2 Flow" FontSize="10" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="5,0,0,0"/>
  307. </Grid>
  308. <Border Grid.Row="1" Grid.Column="0" Margin="5,5,5,5" Background="Black" Width="50" VerticalAlignment="Center" HorizontalAlignment="Right">
  309. <TextBlock Text="{Binding ElementName=self,Path=Cell2DIWFlow}" Foreground="Lime" FontSize="16" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  310. </Border>
  311. <Border Grid.Row="1" Grid.Column="1" Margin="0,5,0,5 " Background="Black" Height="22" Width="40" VerticalAlignment="Center" HorizontalAlignment="Left">
  312. <TextBlock Text="L/min" Foreground="Lime" FontSize="12" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  313. </Border>
  314. </Grid>
  315. <Canvas Height="30" Width="150" Canvas.Left="228" Canvas.Top="354" RenderTransformOrigin="0.5,0.5" Panel.ZIndex="2">
  316. <Viewbox Canvas.Left="5" Canvas.Top="2.5" HorizontalAlignment="Left" VerticalAlignment="Top" Panel.ZIndex="5">
  317. <local:VPWWaferCtrl Width="140" Height="25" WaferData="{Binding ElementName=self, Path=VPW1WaferInfo}"/>
  318. </Viewbox>
  319. </Canvas>
  320. <Canvas Height="30" Width="150" Canvas.Left="488" Canvas.Top="354" RenderTransformOrigin="0.5,0.5" Panel.ZIndex="2">
  321. <Viewbox Canvas.Left="5" Canvas.Top="2.5" HorizontalAlignment="Left" VerticalAlignment="Top" Panel.ZIndex="5">
  322. <local:VPWWaferCtrl Width="140" Height="25" WaferData="{Binding ElementName=self, Path=VPW2WaferInfo}"/>
  323. </Viewbox>
  324. </Canvas>
  325. </Canvas>
  326. </UserControl>