StandardHotReservoirsView.xaml 58 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642
  1. <UserControl x:Class="CyberX8_MainPages.Views.StandardHotReservoirsView"
  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:ctrls="clr-namespace:CyberX8_Themes.UserControls;assembly=CyberX8_Themes"
  7. xmlns:local="clr-namespace:CyberX8_MainPages.Views"
  8. xmlns:customControls="clr-namespace:CyberX8_Themes.CustomControls;assembly=CyberX8_Themes"
  9. xmlns:userControls="clr-namespace:CyberX8_Themes.UserControls;assembly=CyberX8_Themes"
  10. xmlns:prism="http://prismlibrary.com/" xmlns:Control="clr-namespace:MECF.Framework.UI.Core.Control;assembly=MECF.Framework.UI.Core" xmlns:converters="clr-namespace:CyberX8_Themes.Converters;assembly=CyberX8_Themes"
  11. prism:ViewModelLocator.AutoWireViewModel="True"
  12. mc:Ignorable="d"
  13. d:DesignHeight="800" d:DesignWidth="1500">
  14. <UserControl.Resources>
  15. <converters:BoolToOrientation x:Key="boolToOrientation"/>
  16. <converters:BoolToVisibility2 x:Key="boolToVisibility2"/>
  17. <converters:BoolToBool x:Key="boolToBool"/>
  18. <converters:BoolToColor x:Key="boolToColor"/>
  19. <converters:BoolToRedColor x:Key="boolToRedColor"/>
  20. <converters:BoolToRedGreenColor1 x:Key="boolToRedGreenColor1"/>
  21. <converters:BoolToRedGreenColor x:Key="boolToRedGreenColor"/>
  22. <converters:BoolToGreenRedColor x:Key="boolToGreenRedColor"/>
  23. <converters:BoolToYellowColor x:Key="boolToYellowColor"/>
  24. <converters:StringToString x:Key="stringToString"/>
  25. <converters:StringToColorConverter1 x:Key="stringToColorConverter1"/>
  26. <ContextMenu x:Key="Cell0CirculationValve">
  27. <MenuItem Header="Flow" Command="{Binding OpenCellFlow1Command}" />
  28. <MenuItem Header="Bypass" Command="{Binding OpenCellBypass1Command}"/>
  29. </ContextMenu>
  30. <ContextMenu x:Key="Cell1CirculationValve">
  31. <MenuItem Header="Flow" Command="{Binding OpenCellFlow2Command}"/>
  32. <MenuItem Header="Bypass" Command="{Binding OpenCellBypass2Command}"/>
  33. </ContextMenu>
  34. <ContextMenu x:Key="Cell0ClampValve">
  35. <MenuItem Header="Open" Command="{Binding OpenClampValve1Command}"/>
  36. <MenuItem Header="Close" Command="{Binding CloseClampValve1Command}"/>
  37. </ContextMenu>
  38. <ContextMenu x:Key="Cell1ClampValve">
  39. <MenuItem Header="Open" Command="{Binding OpenClampValve2Command}"/>
  40. <MenuItem Header="Close" Command="{Binding CloseClampValve2Command}"/>
  41. </ContextMenu>
  42. <ContextMenu x:Key="DIReplenValve">
  43. <MenuItem Header="Open" Command="{Binding OpenDIReplenValveCommand}"/>
  44. <MenuItem Header="Close" Command="{Binding CloseDIReplenValveCommand}"/>
  45. </ContextMenu>
  46. </UserControl.Resources>
  47. <Canvas>
  48. <StackPanel Canvas.Left="220" Canvas.Top="40" Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="-220,-40,0,0">
  49. <Grid>
  50. <Grid.RowDefinitions>
  51. <RowDefinition Height="5"/>
  52. <RowDefinition Height="140"/>
  53. <RowDefinition Height="130"/>
  54. <RowDefinition Height="175"/>
  55. <RowDefinition Height="250"/>
  56. <RowDefinition/>
  57. <RowDefinition/>
  58. </Grid.RowDefinitions>
  59. <Grid.ColumnDefinitions>
  60. <ColumnDefinition Width="480"></ColumnDefinition>
  61. <ColumnDefinition Width="380"></ColumnDefinition>
  62. <ColumnDefinition Width="370"></ColumnDefinition>
  63. <ColumnDefinition Width="460"></ColumnDefinition>
  64. <ColumnDefinition Width="200"></ColumnDefinition>
  65. <ColumnDefinition/>
  66. </Grid.ColumnDefinitions>
  67. <Grid Grid.Row="1" Grid.Column="0">
  68. <ctrls:ReservoirsInformationPanel HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Center"
  69. ModuleTitle="{Binding Module}" IsEnabled="{Binding IsEnabled}"
  70. RecipeContentValue="{Binding CurrentRecipe.Ppid}"
  71. StateValue="{Binding State}"
  72. OperatingModeValue="{Binding ReservoirsPersistent.OperatingMode}"
  73. />
  74. </Grid>
  75. <Canvas Grid.Row="2" Grid.Column="1" Grid.RowSpan="3" Margin="-110 0 0 0">
  76. <Viewbox Stretch="Fill" Height="650" Width="480">
  77. <Image Width="440" Height="450" Source="pack://application:,,,/CyberX8_Themes;component/Themes/Images/parts/Clamp1.png"></Image>
  78. </Viewbox>
  79. <Rectangle x:Name="ErrorRectangle" Fill="Red" Height="450" Width="440" VerticalAlignment="Center" Opacity="0.5" Panel.ZIndex="3"
  80. Visibility="{Binding IsError,Converter={StaticResource boolToVisibility2}}" Canvas.Left="20" Canvas.Top="105" HorizontalAlignment="Center"/>
  81. <userControls:Clamp MouseLeftButtonUp="ClickJumpMetalCommand" IsShowSignal="False" LabelValue="{Binding CellModuleNameCollection[1],Converter={StaticResource stringToString}}" Width="85" Height="508" Canvas.Top="-103" Canvas.Left="90" HorizontalAlignment="Left" VerticalAlignment="Top"/>
  82. <userControls:Clamp MouseLeftButtonUp="ClickJumpMetalCommand" IsShowSignal="False" LabelValue="{Binding CellModuleNameCollection[0],Converter={StaticResource stringToString}}" Width="85" Height="508" Canvas.Top="-103" Canvas.Left="312" HorizontalAlignment="Center" VerticalAlignment="Top"/>
  83. </Canvas>
  84. <GroupBox Grid.Row="1" Grid.Column="2" Grid.RowSpan="4" Header="Recipe Settings" BorderBrush="DarkGray" Padding="5" Margin="0,10,0,0" Height="510" VerticalAlignment="Top">
  85. <Grid>
  86. <Grid.RowDefinitions>
  87. <RowDefinition Height="40"/>
  88. <RowDefinition Height="200"/>
  89. <RowDefinition Height="40"/>
  90. <RowDefinition Height="40"/>
  91. <RowDefinition Height="40"/>
  92. <RowDefinition Height="40"/>
  93. <RowDefinition Height="40"/>
  94. <RowDefinition Height="40"/>
  95. </Grid.RowDefinitions>
  96. <Grid.ColumnDefinitions>
  97. <ColumnDefinition Width="150"/>
  98. <ColumnDefinition Width="100"/>
  99. <ColumnDefinition/>
  100. </Grid.ColumnDefinitions>
  101. <Grid Grid.Column ="0" Grid.Row="0">
  102. <Label Grid.Row="0" Content="Chemistry" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  103. </Grid>
  104. <Grid Grid.Column ="0" Grid.Row="2">
  105. <Label Grid.Row="0" Content="MicroCurrent" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  106. </Grid>
  107. <Grid Grid.Column ="0" Grid.Row="4">
  108. <Label Grid.Row="0" Content="DI Replen Enable" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  109. </Grid>
  110. <Ellipse Grid.Column ="2" Grid.Row="4" Margin="55,12,27,12" Width="16" Height="16" Fill="{Binding CurrentRecipe.DIReplenEnable, Converter={StaticResource boolToColor}}" Stroke="Gray"/>
  111. <Grid Grid.Column ="0" Grid.Row="5">
  112. <Label Grid.Row="0" Content="Level Setpoint" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  113. </Grid>
  114. <Grid Grid.Column ="0" Grid.Row="6">
  115. <Label Grid.Row="0" Content="Idle Flow" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  116. </Grid>
  117. <Grid Grid.Column ="0" Grid.Row="7">
  118. <Label Grid.Row="0" Content="Temp Setpoint" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  119. </Grid>
  120. <GroupBox Header="Burn In" Grid.Column ="0" Grid.Row="1" Grid.ColumnSpan="3" Margin="5" Padding="3">
  121. <Grid>
  122. <Grid.RowDefinitions>
  123. <RowDefinition Height="30"></RowDefinition>
  124. <RowDefinition Height="30"></RowDefinition>
  125. <RowDefinition Height="40"></RowDefinition>
  126. <RowDefinition Height="30"></RowDefinition>
  127. <RowDefinition Height="40"></RowDefinition>
  128. </Grid.RowDefinitions>
  129. <Grid.ColumnDefinitions>
  130. <ColumnDefinition Width="*"></ColumnDefinition>
  131. </Grid.ColumnDefinitions>
  132. <Label Grid.Row="0" Content="Enable" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  133. <Ellipse Grid.Row="0" Margin="290,7,14,7" Width="16" Height="16" Fill="{Binding CurrentRecipe.BurnInEnable, Converter={StaticResource boolToColor}}" Stroke="Gray"/>
  134. <Label Grid.Row="1" Content="Method" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  135. <Border Background="Black" Grid.Row="2" Margin="5,5,5,5">
  136. <TextBlock Text="" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  137. </Border>
  138. <Label Grid.Row="3" Content="Sequence" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  139. <Border Background="Black" Grid.Row="5" Margin="5,5,5,5">
  140. <TextBlock Text="" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  141. </Border>
  142. </Grid>
  143. </GroupBox>
  144. <Border Grid.Row="0" Grid.Column="2" Margin="5,5,15,5" Background="Black">
  145. <TextBlock Text="{Binding CurrentRecipe.Metal}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  146. </Border>
  147. <Border Background="Black" Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="3" Margin="5,5,15,5">
  148. <TextBlock Text="" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  149. </Border>
  150. <Border Grid.Row="5" Grid.Column="3" Margin="5,5,15,5" Background="Black">
  151. <TextBlock Text="{Binding CurrentRecipe.ReservoirCALevel,StringFormat=\{0:F1\} L}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  152. </Border>
  153. <Border Grid.Row="6" Grid.Column="3" Margin="5,5,15,5" Background="Black">
  154. <TextBlock Text="" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  155. </Border>
  156. <Border Grid.Row="7" Grid.Column="3" Margin="5,5,15,5" Background="Black">
  157. <TextBlock Text="{Binding CurrentRecipe.TemperatureSetPoint,StringFormat=\{0:F1\} ℃}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  158. </Border>
  159. </Grid>
  160. </GroupBox>
  161. <Grid Grid.Row="1" Grid.Column="3" Grid.RowSpan="2" Margin="10 10 0 0">
  162. <ctrls:RecipeLoad HeadName="Res Recipe" IsEnabled="{Binding IsEnabled}" Name="recipeLoad" Height="270" VerticalAlignment="Top" Module="{Binding Module}" RecipeType="{Binding RecipeType}" SelectedRecipeNode="{Binding SelectedRecipeNode,Mode=TwoWay}"/>
  163. </Grid>
  164. <GroupBox Header="Chemical Maintenance Module(CMM)" Margin="10,22,0,-28" Grid.Row="3" Grid.Column="3" Grid.RowSpan="4">
  165. <Grid>
  166. <Grid.ColumnDefinitions>
  167. <ColumnDefinition Width="34*"/>
  168. <ColumnDefinition Width="293*"/>
  169. <ColumnDefinition Width="111*"/>
  170. </Grid.ColumnDefinitions>
  171. <Grid.RowDefinitions>
  172. <RowDefinition Height="135"></RowDefinition>
  173. <RowDefinition Height="75"></RowDefinition>
  174. <RowDefinition Height="130"></RowDefinition>
  175. <RowDefinition Height="*"></RowDefinition>
  176. </Grid.RowDefinitions>
  177. <GroupBox Header="Power Supply" Grid.Column="0" Grid.Row="0" Margin="5,5,5,5" Grid.ColumnSpan="3">
  178. <Grid>
  179. <Grid.ColumnDefinitions>
  180. <ColumnDefinition Width="120"></ColumnDefinition>
  181. <ColumnDefinition Width="120"></ColumnDefinition>
  182. <ColumnDefinition Width="*"></ColumnDefinition>
  183. <ColumnDefinition Width="50"></ColumnDefinition>
  184. <ColumnDefinition Width="65"></ColumnDefinition>
  185. </Grid.ColumnDefinitions>
  186. <Grid.RowDefinitions>
  187. <RowDefinition Height="25"></RowDefinition>
  188. <RowDefinition Height="25"></RowDefinition>
  189. <RowDefinition Height="25"></RowDefinition>
  190. <RowDefinition Height="25"></RowDefinition>
  191. </Grid.RowDefinitions>
  192. <Grid Grid.Column="0" Grid.Row="0">
  193. <Label Content="Current Set Point" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  194. </Grid>
  195. <Grid Grid.Column="0" Grid.Row="2">
  196. <Label Content="Min Voltage" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  197. </Grid>
  198. <Grid Grid.Column="1" Grid.Row="0">
  199. <Label Content="Current" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  200. </Grid>
  201. <Grid Grid.Column="1" Grid.Row="2">
  202. <Label Content="Voltage" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  203. </Grid>
  204. <Grid Grid.Column="3" Grid.Row="0">
  205. <Label Content="High" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  206. </Grid>
  207. <Grid Grid.Column="4" Grid.Row="0">
  208. <Label Content="Low" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  209. </Grid>
  210. <Grid Grid.Column="4" Grid.Row="2">
  211. <Label Content="Low" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  212. </Grid>
  213. <Border Grid.Row="1" Grid.Column="0" Margin="5,0,5,0" Background="Black">
  214. <TextBlock Text="{Binding CmmPowerSupplierData.SetPoint,StringFormat=\{0:F3\} A}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  215. </Border>
  216. <Border Grid.Row="3" Grid.Column="0" Margin="5,0,5,0" Background="Black">
  217. <TextBlock Text="{Binding CurrentRecipe.CMMMinVoltage,StringFormat=\{0:F2\} V}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  218. </Border>
  219. <Border Grid.Row="1" Grid.Column="1" Margin="5,0,5,0" Background="Black">
  220. <TextBlock Text="{Binding CmmPowerSupplierData.Current,StringFormat=\{0:F3\} A}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  221. </Border>
  222. <Border Grid.Row="3" Grid.Column="1" Margin="5,0,5,0" Background="Black">
  223. <TextBlock Text="{Binding CmmPowerSupplierData.Voltage,StringFormat=\{0:F2\} V}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  224. </Border>
  225. <Ellipse Grid.Row="1" Grid.Column ="3" Margin="0 0 0 0" Width="16" Height="16" Fill="{Binding CurrentHighStatus,Converter={StaticResource stringToColorConverter1}}" Stroke="Gray"/>
  226. <Ellipse Grid.Row="1" Grid.Column ="4" Margin="0 0 0 0" Width="16" Height="16" Fill="{Binding CurrentLowStatus,Converter={StaticResource stringToColorConverter1}}" Stroke="Gray"/>
  227. <Ellipse Grid.Row="4" Grid.Column ="4" Margin="0 0 0 0" Width="16" Height="16" Fill="{Binding IsBelowMinVoltage,Converter={StaticResource boolToRedGreenColor1}}" Stroke="Gray"/>
  228. </Grid>
  229. </GroupBox>
  230. <GroupBox Header="Flow" Grid.Column="0" Grid.Row="1" Margin="5,0,5,0" Grid.ColumnSpan="3">
  231. <Grid>
  232. <Grid.ColumnDefinitions>
  233. <ColumnDefinition Width="120"></ColumnDefinition>
  234. <ColumnDefinition Width="120"></ColumnDefinition>
  235. <ColumnDefinition Width="*"></ColumnDefinition>
  236. <ColumnDefinition Width="50"></ColumnDefinition>
  237. <ColumnDefinition Width="65"></ColumnDefinition>
  238. </Grid.ColumnDefinitions>
  239. <Grid.RowDefinitions>
  240. <RowDefinition Height="25"></RowDefinition>
  241. <RowDefinition Height="25"></RowDefinition>
  242. </Grid.RowDefinitions>
  243. <Grid Grid.Column="0" Grid.Row="0">
  244. <Label Content="Flow" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  245. </Grid>
  246. <Grid Grid.Column="3" Grid.Row="0">
  247. <Label Content="High" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  248. </Grid>
  249. <Grid Grid.Column="4" Grid.Row="0">
  250. <Label Content="Low" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  251. </Grid>
  252. <Border Grid.Row="1" Grid.Column="0" Margin="5,0,5,0" Background="Black">
  253. <TextBlock Text="{Binding ReservoirData.Flow, StringFormat=\{0:F1\} L/min}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  254. </Border>
  255. <Ellipse Grid.Row="1" Grid.Column ="3" Margin="0 0 0 0" Width="16" Height="16" Fill="{Binding FlowHighStatus,Converter={StaticResource stringToColorConverter1}}" Stroke="Gray"/>
  256. <Ellipse Grid.Row="1" Grid.Column ="4" Margin="0 0 0 0" Width="16" Height="16" Fill="{Binding FlowLowStatus,Converter={StaticResource stringToColorConverter1}}" Stroke="Gray"/>
  257. </Grid>
  258. </GroupBox>
  259. <GroupBox Header="Anode Usage" Grid.Column="0" Grid.Row="2" Margin="5,0,5,0" Grid.ColumnSpan="3">
  260. <Grid>
  261. <Grid.ColumnDefinitions>
  262. <ColumnDefinition Width="120"></ColumnDefinition>
  263. <ColumnDefinition Width="120"></ColumnDefinition>
  264. <ColumnDefinition Width="*"></ColumnDefinition>
  265. <ColumnDefinition Width="40"></ColumnDefinition>
  266. <ColumnDefinition Width="65"></ColumnDefinition>
  267. </Grid.ColumnDefinitions>
  268. <Grid.RowDefinitions>
  269. <RowDefinition Height="25"></RowDefinition>
  270. <RowDefinition Height="25"></RowDefinition>
  271. <RowDefinition Height="25"></RowDefinition>
  272. <RowDefinition Height="25"></RowDefinition>
  273. </Grid.RowDefinitions>
  274. <Grid Grid.Column="0" Grid.Row="0">
  275. <Label Content="Anode AHrs" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  276. </Grid>
  277. <Grid Grid.Column="0" Grid.Row="2">
  278. <Label Content="Cathode AHrs" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  279. </Grid>
  280. <Grid Grid.Column="1" Grid.Row="0">
  281. <Label Content="LifeTime AHrs" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  282. </Grid>
  283. <Grid Grid.Column="1" Grid.Row="2">
  284. <Label Content="LifeTime AHrs" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  285. </Grid>
  286. <Grid Grid.Column="3" Grid.Row="0">
  287. <Label Content="Fault" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  288. </Grid>
  289. <Grid Grid.Column="4" Grid.Row="0">
  290. <Label Content="Warning" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  291. </Grid>
  292. <Grid Grid.Column="3" Grid.Row="2">
  293. <Label Content="Fault" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  294. </Grid>
  295. <Grid Grid.Column="4" Grid.Row="2">
  296. <Label Content="Warning" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  297. </Grid>
  298. <Border Grid.Row="1" Grid.Column="0" Margin="5,0,5,0" Background="Black">
  299. <TextBlock Text="{Binding CMMAnodeUsage,StringFormat=\{0:F2\} Ah}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  300. </Border>
  301. <Border Grid.Row="3" Grid.Column="0" Margin="5,0,5,0" Background="Black">
  302. <TextBlock Text="{Binding CMMCathodeUsage,StringFormat=\{0:F2\} Ah}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  303. </Border>
  304. <Border Grid.Row="1" Grid.Column="1" Margin="5,0,5,0" Background="Black">
  305. <TextBlock Text="{Binding CMMAnodeLifeTimeAHrs,StringFormat=\{0:F2\} Ah}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  306. </Border>
  307. <Border Grid.Row="3" Grid.Column="1" Margin="5,0,5,0" Background="Black">
  308. <TextBlock Text="{Binding CMMCathodeLifeTimeAHrs,StringFormat=\{0:F2\} Ah}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  309. </Border>
  310. <Ellipse Grid.Row="1" Grid.Column ="3" Margin="0 0 0 0" Width="16" Height="16" Fill="{Binding IsCMMAnodeTotalAmpHoursFault,Converter={StaticResource boolToRedColor}}" Stroke="Gray"/>
  311. <Ellipse Grid.Row="1" Grid.Column ="4" Margin="0 0 0 0" Width="16" Height="16" Fill="{Binding IsCMMAnodeTotalAmpHoursWarning,Converter={StaticResource boolToYellowColor}}" Stroke="Gray"/>
  312. <Ellipse Grid.Row="4" Grid.Column ="3" Margin="0 0 0 0" Width="16" Height="16" Fill="{Binding IsCMMCathodeTotalAmpHoursFault,Converter={StaticResource boolToRedColor}}" Stroke="Gray"/>
  313. <Ellipse Grid.Row="4" Grid.Column ="4" Margin="0 0 0 0" Width="16" Height="16" Fill="{Binding IsCMMCathodeTotalAmpHoursWarning,Converter={StaticResource boolToYellowColor}}" Stroke="Gray"/>
  314. </Grid>
  315. </GroupBox>
  316. <GroupBox Header="PH Probe" Grid.Column="0" Grid.Row="3" Margin="5,0,5,10" Grid.ColumnSpan="3">
  317. <Grid>
  318. <Grid.ColumnDefinitions>
  319. <ColumnDefinition Width="120"></ColumnDefinition>
  320. <ColumnDefinition Width="120"></ColumnDefinition>
  321. <ColumnDefinition Width="*"></ColumnDefinition>
  322. <ColumnDefinition Width="40"></ColumnDefinition>
  323. <ColumnDefinition Width="65"></ColumnDefinition>
  324. </Grid.ColumnDefinitions>
  325. <Grid.RowDefinitions>
  326. <RowDefinition Height="25"></RowDefinition>
  327. <RowDefinition Height="25"></RowDefinition>
  328. <RowDefinition Height="25"></RowDefinition>
  329. <RowDefinition Height="25"></RowDefinition>
  330. </Grid.RowDefinitions>
  331. <Grid Grid.Column="0" Grid.Row="0">
  332. <Label Content="PH" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  333. </Grid>
  334. <Grid Grid.Column="0" Grid.Row="2">
  335. <Label Content="Low Limit" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  336. </Grid>
  337. <Grid Grid.Column="1" Grid.Row="2">
  338. <Label Content="High Limit" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  339. </Grid>
  340. <Grid Grid.Column="3" Grid.Row="0">
  341. <Label Content="Flow" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  342. </Grid>
  343. <Grid Grid.Column="3" Grid.Row="2">
  344. <Label Content="High" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  345. </Grid>
  346. <Grid Grid.Column="4" Grid.Row="2">
  347. <Label Content="Low" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  348. </Grid>
  349. <Border Grid.Row="1" Grid.Column="0" Margin="5,0,5,0" Background="Black">
  350. <TextBlock Text="{Binding ReservoirData.PHValue,StringFormat=\{0:F1\}}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  351. </Border>
  352. <Border Grid.Row="3" Grid.Column="0" Margin="5,0,5,0" Background="Black">
  353. <TextBlock Text="{Binding CurrentRecipe.PHErrorLow,StringFormat=\{0:F1\}}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  354. </Border>
  355. <Border Grid.Row="3" Grid.Column="1" Margin="5,0,5,0" Background="Black">
  356. <TextBlock Text="{Binding CurrentRecipe.PHErrorHigh,StringFormat=\{0:F1\}}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  357. </Border>
  358. <Ellipse Grid.Row="1" Grid.Column ="3" Margin="0 0 0 0" Width="16" Height="16" Fill="{Binding ReservoirData.PHFlowValve, Converter={StaticResource boolToColor}}" Stroke="Gray"/>
  359. <Ellipse Grid.Row="3" Grid.Column ="3" Margin="0 0 0 0" Width="16" Height="16" Fill="{Binding IsPHHighLimit, Converter={StaticResource boolToRedGreenColor1}}" Stroke="Gray"/>
  360. <Ellipse Grid.Row="4" Grid.Column ="4" Margin="0 0 0 0" Width="16" Height="16" Fill="{Binding IsPHLowLimit, Converter={StaticResource boolToRedGreenColor1}}" Stroke="Gray"/>
  361. </Grid>
  362. </GroupBox>
  363. </Grid>
  364. </GroupBox>
  365. <Grid Grid.Row="5" Grid.Column="4" Margin="0 0 0 10">
  366. <Button IsEnabled="{Binding IsAutoEnabled}" Style="{StaticResource SysBtnStyle}" Command="{Binding GotoPMCounterCommand}" Margin="10,0,0,0" Grid.Column="1" Height="30" Width="100" HorizontalAlignment="Center" VerticalAlignment="Bottom" Content="PM Counters"></Button>
  367. </Grid>
  368. <GroupBox Header="DI Replen" FontWeight="Bold" FontSize="15" Grid.Row="4" Grid.Column="4" Margin="10 -40 0 0">
  369. <Grid>
  370. <Grid.RowDefinitions>
  371. <RowDefinition Height="25"></RowDefinition>
  372. <RowDefinition Height="25"></RowDefinition>
  373. <RowDefinition Height="35"></RowDefinition>
  374. <RowDefinition Height="25"></RowDefinition>
  375. <RowDefinition Height="25"></RowDefinition>
  376. <RowDefinition Height="25"></RowDefinition>
  377. <RowDefinition Height="30"></RowDefinition>
  378. <RowDefinition Height="35"></RowDefinition>
  379. <RowDefinition Height="35"></RowDefinition>
  380. </Grid.RowDefinitions>
  381. <Grid Grid.Row="0">
  382. <Label Content="Total On Time" FontSize="14" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" />
  383. </Grid>
  384. <Border Grid.Row="1" Background="Black" Width="130" Margin="0 -3 0 0">
  385. <TextBlock Text="{Binding ReservoirsPersistent.TotalReplen}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  386. </Border>
  387. <Grid Grid.Row="2">
  388. <Button IsEnabled="{Binding IsEnabled}" Style="{StaticResource SysBtnStyle}" Grid.Column="1" Height="30" Width="130" HorizontalAlignment="Center" VerticalAlignment="Bottom" Content="Reset Total" Command="{Binding ResetTotalCommand}"></Button>
  389. </Grid>
  390. <Grid Grid.Row="3">
  391. <Label Content="Max On Time" FontSize="14" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" />
  392. </Grid>
  393. <Border Grid.Row="4" Background="Black" Width="130" Margin="0 -3 0 0">
  394. <TextBlock Text="{Binding DIValveMaxOnTime}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  395. </Border>
  396. <Grid Grid.Row="5">
  397. <Label Content="Manual Fill Time" FontSize="14" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" />
  398. </Grid>
  399. <Grid Grid.Row="6">
  400. <Control:IntegerTextBox TextboxName="ManualFillTime" Value="{Binding ManualFillSeconds,Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="25,-3,0,0" Height="25" Width="100"/>
  401. <Label Content="sec" HorizontalAlignment="Right" VerticalAlignment="Center" Height="30" Width="55" Margin="0 -3 0 0"></Label>
  402. </Grid>
  403. <Grid Grid.Row="7">
  404. <Button IsEnabled="{Binding IsEnabled}" Style="{StaticResource SysBtnStyle}" HorizontalContentAlignment="Left" Padding="10 0 0 0" Grid.Column="1" Height="30" Width="130" HorizontalAlignment="Center" VerticalAlignment="Center" Content="Manual Replen" Command="{Binding ManualDireplenCommand}"></Button>
  405. <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 0 30 0" Fill="{Binding IsManualReplen, Converter={StaticResource boolToColor}}" Stroke="Silver"/>
  406. </Grid>
  407. <Grid Grid.Row="8">
  408. <Label Content="DI Replen Fault" HorizontalAlignment="Left" FontSize="14" VerticalAlignment="Center" Height="30" Margin="10 -3 0 0"></Label>
  409. <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 -3 30 0" Fill="{Binding IsDiReplenFault,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver"/>
  410. </Grid>
  411. </Grid>
  412. </GroupBox>
  413. <Grid Grid.Row="3" Grid.Column="4">
  414. <Grid.RowDefinitions>
  415. <RowDefinition Height="30"></RowDefinition>
  416. <RowDefinition Height="100"></RowDefinition>
  417. </Grid.RowDefinitions>
  418. <Grid Grid.Row="0">
  419. </Grid>
  420. <Grid Grid.Row="1">
  421. </Grid>
  422. </Grid>
  423. <Grid Grid.Row="2" Grid.Column="4">
  424. <ctrls:OperatingModeControl HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Top"
  425. ModuleName="{Binding Module}"
  426. OperationModeValue="{Binding ReservoirsPersistent.OperatingMode}"/>
  427. </Grid>
  428. <Grid Grid.Row="1" Grid.Column="4">
  429. <Grid.RowDefinitions>
  430. <RowDefinition Height="60"></RowDefinition>
  431. <RowDefinition Height="40"></RowDefinition>
  432. <RowDefinition Height="35"></RowDefinition>
  433. </Grid.RowDefinitions>
  434. <Grid Grid.Row="0">
  435. <Label Content="{Binding Module}" FontSize="35" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Center" Margin="0,0,0,13"></Label>
  436. </Grid>
  437. <Grid Grid.Row="1">
  438. <Button IsEnabled="{Binding IsAutoEnabled}" Style="{StaticResource SysBtnStyle}" Grid.Column="1" Height="30" Width="100" HorizontalAlignment="Center" Content="Initialize" Command="{Binding InitializeCommand}" Click="Button_Click"></Button>
  439. </Grid>
  440. <Grid Grid.Row="2">
  441. <Label Content="Operating Mode" FontSize="15" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Center"></Label>
  442. </Grid>
  443. </Grid>
  444. </Grid>
  445. </StackPanel>
  446. <Canvas Canvas.Left="-10">
  447. <ctrls:Pipe2 Canvas.Left="465" Canvas.Top="220" RotateTransformValue="-180" HorizontalAlignment="Center" VerticalAlignment="Top" />
  448. <!--Cell1 Clamp-->
  449. <ctrls:FlowPipe IsFlowing="{Binding MetalDataCollection[1].WaferHolderClamp}" Height="8" Width="30" Canvas.Left="460" Canvas.Top="212" RotateTransformValue="0" HorizontalAlignment="Center" VerticalAlignment="Top" />
  450. <ctrls:FlowPipe IsFlowing="{Binding MetalDataCollection[1].WaferHolderClamp}" Height="8" Width="40" Canvas.Left="460" Canvas.Top="170" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center" />
  451. <customControls:CommonValveControl IsEnabled="{Binding IsEnabled}" Status="{Binding MetalDataCollection[1].WaferHolderClamp}"
  452. Height="20" Width="20" Canvas.Left="446" Canvas.Top="182" ValveOrientation="Vertical"
  453. ContextMenu="{StaticResource Cell1ClampValve}" IsCanEdit="True" Tag="26"/>
  454. <TextBlock FontSize="14" Width="50" Canvas.Top="183" Canvas.Left="411" HorizontalAlignment="Left" VerticalAlignment="Center" Text="Clamp" RenderTransformOrigin="0.5,0.5">
  455. <TextBlock.RenderTransform>
  456. <TransformGroup>
  457. <ScaleTransform/>
  458. <SkewTransform/>
  459. <RotateTransform Angle="-90"/>
  460. <TranslateTransform/>
  461. </TransformGroup>
  462. </TextBlock.RenderTransform>
  463. </TextBlock>
  464. </Canvas>
  465. <Canvas Canvas.Left="210">
  466. <ctrls:Pipe2 Canvas.Left="465" Canvas.Top="220" RotateTransformValue="-180" HorizontalAlignment="Center" VerticalAlignment="Top" />
  467. <!--Cell2 Clamp-->
  468. <ctrls:FlowPipe IsFlowing="{Binding MetalDataCollection[0].WaferHolderClamp}" Height="8" Width="30" Canvas.Left="460" Canvas.Top="212" RotateTransformValue="0" HorizontalAlignment="Center" VerticalAlignment="Top" />
  469. <ctrls:FlowPipe IsFlowing="{Binding MetalDataCollection[0].WaferHolderClamp}" Height="8" Width="40" Canvas.Left="460" Canvas.Top="170" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center" />
  470. <customControls:CommonValveControl Status="{Binding MetalDataCollection[0].WaferHolderClamp}" IsEnabled="{Binding IsEnabled}"
  471. Height="20" Width="20" Canvas.Left="446" Canvas.Top="182" ValveOrientation="Vertical"
  472. ContextMenu="{StaticResource Cell0ClampValve}" IsCanEdit="True" Tag="26"/>
  473. <TextBlock FontSize="14" Width="50" Canvas.Top="183" Canvas.Left="411" HorizontalAlignment="Left" VerticalAlignment="Center" Text="Clamp" RenderTransformOrigin="0.5,0.5">
  474. <TextBlock.RenderTransform>
  475. <TransformGroup>
  476. <ScaleTransform/>
  477. <SkewTransform/>
  478. <RotateTransform Angle="-90"/>
  479. <TranslateTransform/>
  480. </TransformGroup>
  481. </TextBlock.RenderTransform>
  482. </TextBlock>
  483. </Canvas>
  484. <Grid Canvas.Left="260" Canvas.Top="220">
  485. <Grid.ColumnDefinitions>
  486. <ColumnDefinition Width="120"/>
  487. </Grid.ColumnDefinitions>
  488. <Grid.RowDefinitions>
  489. <RowDefinition Height="25"/>
  490. <RowDefinition Height="25"/>
  491. <RowDefinition Height="25"/>
  492. <RowDefinition Height="25"/>
  493. <RowDefinition Height="25"/>
  494. <RowDefinition Height="25"/>
  495. <RowDefinition Height="25"/>
  496. </Grid.RowDefinitions>
  497. <Grid Grid.Row="0" Grid.Column="0">
  498. <Label Content="Level" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  499. </Grid>
  500. <Border Grid.Row="1" Grid.Column="0" Margin="5,0,15,0" Background="Black">
  501. <TextBlock Text="{Binding AvgLevel,StringFormat=\{0:F2\} L}" Foreground="Lime" FontSize="13" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  502. </Border>
  503. <Grid Grid.Row="2" Grid.Column="0">
  504. <Label Content="Level Raw" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  505. </Grid>
  506. <Border Grid.Row="3" Grid.Column="0" Margin="5,0,15,0" Background="Black">
  507. <TextBlock Text="{Binding ReservoirData.WaterLevel,StringFormat=\{0:F1\} %}" Foreground="Lime" FontSize="13" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  508. </Border>
  509. <Grid Grid.Row="4" Grid.Column="0">
  510. <Label Content="High" FontSize="12" FontWeight="Bold" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,25,0"/>
  511. <Ellipse Margin="80,2,20,2" Width="16" Height="16" Fill="{Binding IsHighLevel, Converter={StaticResource boolToRedGreenColor}}" Stroke="Gray"/>
  512. </Grid>
  513. <Grid Grid.Row="5" Grid.Column="0">
  514. <Label Content="Low" FontSize="12" FontWeight="Bold" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,25,0"/>
  515. <Ellipse Margin="80,2,20,2" Width="16" Height="16" Fill="{Binding IsLowLevel, Converter={StaticResource boolToGreenRedColor}}" Stroke="Gray"/>
  516. </Grid>
  517. <Grid Grid.Row="6" Grid.Column="0">
  518. <Ellipse Margin="80,2,20,2" Width="16" Height="16" Fill="{Binding IsHighSafety, Converter={StaticResource boolToRedColor}}" Stroke="Gray"/>
  519. <Label Content="High Safety" FontSize="12" FontWeight="Bold" Margin="0,0,40,0" />
  520. </Grid>
  521. </Grid>
  522. <ctrls:TextboxWithLabel TextBoxValue="{Binding MetalDataCollection[1].CellFlow,StringFormat=\{0:F1\} L/min}" Canvas.Top="533" Canvas.Left="389" LabelValue="Flow" TextBoxColor="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  523. <ctrls:TextboxWithLabel TextBoxValue="{Binding MetalDataCollection[0].CellFlow,StringFormat=\{0:F1\} L/min}" Canvas.Top="533" Canvas.Left="613" LabelValue="Flow" TextBoxColor="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  524. <ctrls:TextboxWithLabel TextBoxValue="{Binding ReservoirData.HedFlow,StringFormat=\{0:F1\} L/min}" Canvas.Top="445" Canvas.Left="102" LabelValue="HED Flow" TextBoxColor="Black" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  525. <TextBlock FontSize="14" Width="70" Canvas.Top="406" Canvas.Left="102" HorizontalAlignment="Left" VerticalAlignment="Center" Text="DI Replen" RenderTransformOrigin="0.5,0.5"></TextBlock>
  526. <TextBlock FontSize="14" Width="72" Canvas.Top="625" Canvas.Left="475" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Circulation" RenderTransformOrigin="0.5,0.5"></TextBlock>
  527. <TextBlock FontSize="14" Width="72" Canvas.Top="625" Canvas.Left="702" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Circulation" RenderTransformOrigin="0.5,0.5"></TextBlock>
  528. <!--DIReplen pipe-->
  529. <ctrls:FlowPipe IsFlowing="{Binding ReservoirData.DiReplen}" Height="8" Width="281" Canvas.Left="93" Canvas.Top="431" RotateTransformValue="0" HorizontalAlignment="Center" VerticalAlignment="Top" />
  530. <!--Bypass flow pipe-->
  531. <ctrls:FlowPipe IsFlowing="true" Height="8" Width="360" Canvas.Left="239" Canvas.Top="665" RotateTransformValue="0" HorizontalAlignment="Left" VerticalAlignment="Center" />
  532. <ctrls:FlowPipe IsFlowing="true" Height="8" Width="134" Canvas.Left="374" Canvas.Top="556" RotateTransformValue="180" HorizontalAlignment="Center" VerticalAlignment="Top" />
  533. <ctrls:FlowPipe IsFlowing="true" Height="8" Width="105" Canvas.Left="237" Canvas.Top="559" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" />
  534. <!--HED Flow pipe-->
  535. <ctrls:FlowPipe IsFlowing="{Binding HEDFlowIsOn}" Height="8" Width="281" Canvas.Left="93" Canvas.Top="488" RotateTransformValue="0" HorizontalAlignment="Center" VerticalAlignment="Top" Loaded="FlowPipe_Loaded" />
  536. <ctrls:FlowPipe IsFlowing="{Binding HEDFlowIsOn}" IsReverse="True" Height="8" Width="194" Canvas.Left="90" Canvas.Top="493" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" />
  537. <ctrls:FlowPipe IsFlowing="{Binding HEDFlowIsOn}" IsReverse="True" Height="8" Width="592" Canvas.Left="93" Canvas.Top="688" RotateTransformValue="0" HorizontalAlignment="Left" VerticalAlignment="Center" />
  538. <ctrls:FlowPipe IsFlowing="{Binding HEDFlowIsOn}" IsReverse="True" Height="8" Width="96" Canvas.Left="687" Canvas.Top="684" RotateTransformValue="-90" HorizontalAlignment="Center" VerticalAlignment="Top" />
  539. <ctrls:FlowPipe IsFlowing="{Binding HEDFlowIsOn}" IsReverse="True" Height="8" Width="104" Canvas.Left="458" Canvas.Top="691" RotateTransformValue="-90" HorizontalAlignment="Center" VerticalAlignment="Top" />
  540. <!--Cell1 pump Flow pipe-->
  541. <ctrls:FlowPipe IsFlowing="{Binding MetalDataCollection[1].CellPump,Mode=TwoWay}" Height="8" Width="80" Canvas.Left="352" Canvas.Top="669" RotateTransformValue="-90" HorizontalAlignment="Left" VerticalAlignment="Center" />
  542. <ctrls:FlowPipe IsFlowing="{Binding MetalDataCollection[1].CellPump,Mode=TwoWay}" Height="8" Width="138" Canvas.Left="363" Canvas.Top="582" RotateTransformValue="0" HorizontalAlignment="Left" VerticalAlignment="Center" />
  543. <!--Cell1 CellFlow pipe-->
  544. <ctrls:FlowPipe IsFlowing="{Binding MetalDataCollection[1].Circulation}" Height="8" Width="38" Canvas.Left="498" Canvas.Top="584" RotateTransformValue="-90" HorizontalAlignment="Center" VerticalAlignment="Top" />
  545. <!--Cell1 CellBypass pipe-->
  546. <ctrls:FlowPipe IsFlowing="{Binding MetalDataCollection[1].Circulation,Converter={StaticResource boolToBool}}" Height="8" Width="32" Canvas.Left="498" Canvas.Top="626" RotateTransformValue="-90" HorizontalAlignment="Center" VerticalAlignment="Top" />
  547. <userControls:Fan Width="45" Height="45" Canvas.Top="563" Canvas.Left="480" HorizontalAlignment="Center" VerticalAlignment="Top"
  548. ContextMenu="{StaticResource Cell1CirculationValve}" IsEnabled="{Binding IsEnabled}"/>
  549. <!--Cell2 pump Flow pipe-->
  550. <ctrls:FlowPipe IsFlowing="{Binding MetalDataCollection[0].CellPump,Mode=TwoWay}" Height="8" Width="73" Canvas.Left="602" Canvas.Top="663" RotateTransformValue="-90" HorizontalAlignment="Center" VerticalAlignment="Top" />
  551. <ctrls:FlowPipe IsFlowing="{Binding MetalDataCollection[0].CellPump,Mode=TwoWay}" Height="8" Width="106" Canvas.Left="613" Canvas.Top="582" RotateTransformValue="0" HorizontalAlignment="Left" VerticalAlignment="Center" />
  552. <!--Cell2 CellFlow pipe-->
  553. <ctrls:FlowPipe IsFlowing="{Binding MetalDataCollection[0].Circulation}" Height="8" Width="38" Canvas.Left="721" Canvas.Top="584" RotateTransformValue="-90" HorizontalAlignment="Center" VerticalAlignment="Top" />
  554. <!--Cell2 CellBypass pipe-->
  555. <ctrls:FlowPipe IsFlowing="{Binding MetalDataCollection[0].Circulation,Converter={StaticResource boolToBool}}" Height="8" Width="32" Canvas.Left="721" Canvas.Top="626" RotateTransformValue="-90" HorizontalAlignment="Center" VerticalAlignment="Top" IsReverse="True"/>
  556. <userControls:Fan Width="45" Height="45" Canvas.Top="563" Canvas.Left="703" HorizontalAlignment="Left" VerticalAlignment="Center"
  557. ContextMenu="{StaticResource Cell0CirculationValve}"/>
  558. <ctrls:Pipe2 Canvas.Left="242" Canvas.Top="673" RotateTransformValue="180" HorizontalAlignment="Left" VerticalAlignment="Center" />
  559. <ctrls:Pipe2 Canvas.Left="229" Canvas.Top="561" RotateTransformValue="-90" HorizontalAlignment="Left" VerticalAlignment="Center" />
  560. <ctrls:Pipe2 Canvas.Left="82" Canvas.Top="501" RotateTransformValue="-90" HorizontalAlignment="Center" VerticalAlignment="Top" />
  561. <ctrls:Pipe2 Canvas.Left="95" Canvas.Top="696" RotateTransformValue="-180" HorizontalAlignment="Center" VerticalAlignment="Top" />
  562. <ctrls:Pipe2 Canvas.Left="610" Canvas.Top="660" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" />
  563. <ctrls:Pipe2 Canvas.Left="695" Canvas.Top="683" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center" />
  564. <customControls:CommonValveControl ValveOrientation="Horizontal" Height="20" Width="20" Canvas.Left="125" Canvas.Top="425"
  565. ContextMenu="{StaticResource DIReplenValve}" Status="{Binding ReservoirData.DiReplen,Mode=TwoWay}" IsEnabled="{Binding IsEnabled}"
  566. IsCanEdit="True" Tag="26" HorizontalAlignment="Left" VerticalAlignment="Center"
  567. />
  568. <Canvas>
  569. <ctrls:Pipe2 Canvas.Left="352" Canvas.Top="595" RotateTransformValue="-90" HorizontalAlignment="Center" VerticalAlignment="Top" />
  570. <userControls:PrewetTankControl Width="40" Height="70" Canvas.Top="581" Canvas.Left="401" HorizontalAlignment="Left" VerticalAlignment="Center"></userControls:PrewetTankControl>
  571. <Rectangle Width="18" Height="38" Canvas.Left="412" Canvas.Top="608" HorizontalAlignment="Center" VerticalAlignment="Top"
  572. Visibility="{Binding MetalDataCollection[1].CellPump,Converter={StaticResource boolToVisibility2}}" Fill="Lime"/>
  573. <userControls:Pump1 IsEnabled="{Binding IsEnabled}" Name="pump1" ModuleName="{Binding CellModuleNameCollection[1]}" IsOpenPump="{Binding MetalDataCollection[1].CellPump,Mode=TwoWay}" RotateTransformValue="-90" Height="60" Width="60" Canvas.Left="303" Canvas.Top="597" Tag="26" HorizontalAlignment="Center" VerticalAlignment="Top" />
  574. <TextBlock FontSize="14" Width="70" Canvas.Top="579" Canvas.Left="271" HorizontalAlignment="Center" VerticalAlignment="Top" Text="Cell Pump" RenderTransformOrigin="0.5,0.5"></TextBlock>
  575. <Canvas Width="40" Height="20" Canvas.Left="347" Canvas.Top="615" HorizontalAlignment="Center" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5" >
  576. <Canvas.RenderTransform>
  577. <TransformGroup>
  578. <ScaleTransform/>
  579. <SkewTransform/>
  580. <RotateTransform Angle="90"/>
  581. <TranslateTransform/>
  582. </TransformGroup>
  583. </Canvas.RenderTransform>
  584. <Polygon Width="10" Points="0,10 20,0 20,20" Fill="Black" StrokeThickness="1" HorizontalAlignment="Left" VerticalAlignment="Center"></Polygon>
  585. <Polygon Points="0,0 30,0 30,4 0,4" Fill="Black" StrokeThickness="1" Canvas.Left="10" Canvas.Top="8" HorizontalAlignment="Left" VerticalAlignment="Center"></Polygon>
  586. </Canvas>
  587. </Canvas>
  588. <Canvas Canvas.Left="250">
  589. <ctrls:Pipe2 Canvas.Left="352" Canvas.Top="595" RotateTransformValue="-90" HorizontalAlignment="Center" VerticalAlignment="Top" />
  590. <userControls:PrewetTankControl Width="40" Height="70" Canvas.Top="581" Canvas.Left="384" HorizontalAlignment="Left" VerticalAlignment="Center"></userControls:PrewetTankControl>
  591. <Rectangle Width="18" Height="38" Canvas.Left="395" Canvas.Top="608" HorizontalAlignment="Left" VerticalAlignment="Center"
  592. Visibility="{Binding MetalDataCollection[0].CellPump,Converter={StaticResource boolToVisibility2}}" Fill="Lime"/>
  593. <userControls:Pump1 IsEnabled="{Binding IsEnabled}" Name="pump2" ModuleName="{Binding CellModuleNameCollection[0]}" IsOpenPump="{Binding MetalDataCollection[0].CellPump,Mode=TwoWay}" RotateTransformValue="-90" Height="60" Width="60" Canvas.Left="304" Canvas.Top="597" Tag="26" HorizontalAlignment="Left" VerticalAlignment="Center" />
  594. <TextBlock FontSize="14" Width="70" Canvas.Top="579" Canvas.Left="271" HorizontalAlignment="Center" VerticalAlignment="Top" Text="Cell Pump" RenderTransformOrigin="0.5,0.5"></TextBlock>
  595. <Canvas Width="40" Height="20" Canvas.Left="350" Canvas.Top="615" HorizontalAlignment="Center" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5" >
  596. <Canvas.RenderTransform>
  597. <TransformGroup>
  598. <ScaleTransform/>
  599. <SkewTransform/>
  600. <RotateTransform Angle="90"/>
  601. <TranslateTransform/>
  602. </TransformGroup>
  603. </Canvas.RenderTransform>
  604. <Polygon Width="10" Points="0,10 20,0 20,20" Fill="Black" StrokeThickness="1" HorizontalAlignment="Left" VerticalAlignment="Center"></Polygon>
  605. <Polygon Points="0,0 30,0 30,4 0,4" Fill="Black" StrokeThickness="1" Canvas.Left="10" Canvas.Top="8" HorizontalAlignment="Left" VerticalAlignment="Center"></Polygon>
  606. </Canvas>
  607. </Canvas>
  608. <Canvas Width="150" Height="100" Canvas.Left="10" Canvas.Top="506" HorizontalAlignment="Center" VerticalAlignment="Top">
  609. <userControls:TempControl MouseLeftButtonUp="ClickJumpTCCommand" HorizontalAlignment="Center" Canvas.Top="18" VerticalAlignment="Top"
  610. TempValue="{Binding TemperatureControlData.ReserviorTemperature}" ModuleName="{Binding TemperatureControlData.Name}"
  611. Status="{Binding TemperatureControlData.Status}" DisableStatus="{Binding TCEnableStatus}"/>
  612. </Canvas>
  613. <Button Visibility="{Binding IsDosingSystemEnabled,Converter={StaticResource boolToVisibility2}}" Style="{StaticResource SysBtnStyle}" Command="{Binding JumpDosingSystemCommand}" Grid.Column="1" Height="30" Width="100" HorizontalAlignment="Left" VerticalAlignment="Bottom" Content="Dosing System" Canvas.Left="1745" Canvas.Top="763"/>
  614. </Canvas>
  615. </UserControl>