| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642 | 
							- <UserControl x:Class="CyberX8_MainPages.Views.StandardHotReservoirsView"
 
-              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 
-              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 
-              xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
 
-              xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
 
-              xmlns:ctrls="clr-namespace:CyberX8_Themes.UserControls;assembly=CyberX8_Themes"
 
-              xmlns:local="clr-namespace:CyberX8_MainPages.Views"
 
-              xmlns:customControls="clr-namespace:CyberX8_Themes.CustomControls;assembly=CyberX8_Themes"
 
-              xmlns:userControls="clr-namespace:CyberX8_Themes.UserControls;assembly=CyberX8_Themes"
 
-              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"
 
-              prism:ViewModelLocator.AutoWireViewModel="True"
 
-              mc:Ignorable="d" 
 
-              d:DesignHeight="800" d:DesignWidth="1500">
 
-     <UserControl.Resources>
 
-         <converters:BoolToOrientation x:Key="boolToOrientation"/>
 
-         <converters:BoolToVisibility2 x:Key="boolToVisibility2"/>
 
-         <converters:BoolToBool x:Key="boolToBool"/>
 
-         <converters:BoolToColor x:Key="boolToColor"/>
 
-         <converters:BoolToRedColor x:Key="boolToRedColor"/>
 
-         <converters:BoolToRedGreenColor1 x:Key="boolToRedGreenColor1"/>
 
-         <converters:BoolToRedGreenColor x:Key="boolToRedGreenColor"/>
 
-         <converters:BoolToGreenRedColor x:Key="boolToGreenRedColor"/>
 
-         <converters:BoolToYellowColor x:Key="boolToYellowColor"/>
 
-         <converters:StringToString x:Key="stringToString"/>
 
-         <converters:StringToColorConverter1 x:Key="stringToColorConverter1"/>
 
-         <ContextMenu x:Key="Cell0CirculationValve">
 
-             <MenuItem Header="Flow" Command="{Binding OpenCellFlow1Command}" />
 
-             <MenuItem Header="Bypass" Command="{Binding OpenCellBypass1Command}"/>
 
-         </ContextMenu>
 
-         <ContextMenu x:Key="Cell1CirculationValve">
 
-             <MenuItem Header="Flow" Command="{Binding OpenCellFlow2Command}"/>
 
-             <MenuItem Header="Bypass" Command="{Binding OpenCellBypass2Command}"/>
 
-         </ContextMenu>
 
-         <ContextMenu x:Key="Cell0ClampValve">
 
-             <MenuItem Header="Open" Command="{Binding OpenClampValve1Command}"/>
 
-             <MenuItem Header="Close" Command="{Binding CloseClampValve1Command}"/>
 
-         </ContextMenu>
 
-         <ContextMenu x:Key="Cell1ClampValve">
 
-             <MenuItem Header="Open" Command="{Binding OpenClampValve2Command}"/>
 
-             <MenuItem Header="Close" Command="{Binding CloseClampValve2Command}"/>
 
-         </ContextMenu>
 
-         <ContextMenu x:Key="DIReplenValve">
 
-             <MenuItem Header="Open" Command="{Binding OpenDIReplenValveCommand}"/>
 
-             <MenuItem Header="Close" Command="{Binding CloseDIReplenValveCommand}"/>
 
-         </ContextMenu>
 
-     </UserControl.Resources>
 
-     <Canvas>
 
-         <StackPanel Canvas.Left="220" Canvas.Top="40" Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="-220,-40,0,0">
 
-             <Grid>
 
-                 <Grid.RowDefinitions>
 
-                     <RowDefinition Height="5"/>
 
-                     <RowDefinition Height="140"/>
 
-                     <RowDefinition Height="130"/>
 
-                     <RowDefinition Height="175"/>
 
-                     <RowDefinition Height="250"/>
 
-                     <RowDefinition/>
 
-                     <RowDefinition/>
 
-                 </Grid.RowDefinitions>
 
-                 <Grid.ColumnDefinitions>
 
-                     <ColumnDefinition Width="480"></ColumnDefinition>
 
-                     <ColumnDefinition Width="380"></ColumnDefinition>
 
-                     <ColumnDefinition Width="370"></ColumnDefinition>
 
-                     <ColumnDefinition Width="460"></ColumnDefinition>
 
-                     <ColumnDefinition Width="200"></ColumnDefinition>
 
-                     <ColumnDefinition/>
 
-                 </Grid.ColumnDefinitions>
 
-                 <Grid Grid.Row="1" Grid.Column="0">
 
-                     <ctrls:ReservoirsInformationPanel HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Center" 
 
-                                            ModuleTitle="{Binding Module}" IsEnabled="{Binding IsEnabled}"
 
-                                            RecipeContentValue="{Binding CurrentRecipe.Ppid}"
 
-                                            StateValue="{Binding State}"
 
-                                            OperatingModeValue="{Binding ReservoirsPersistent.OperatingMode}"
 
-                                            />
 
-                 </Grid>
 
-                 <Canvas Grid.Row="2" Grid.Column="1" Grid.RowSpan="3" Margin="-110 0 0 0">
 
-                     <Viewbox Stretch="Fill" Height="650" Width="480">
 
-                         <Image Width="440" Height="450" Source="pack://application:,,,/CyberX8_Themes;component/Themes/Images/parts/Clamp1.png"></Image>
 
-                     </Viewbox>
 
-                     <Rectangle x:Name="ErrorRectangle" Fill="Red" Height="450" Width="440" VerticalAlignment="Center" Opacity="0.5" Panel.ZIndex="3"
 
- Visibility="{Binding IsError,Converter={StaticResource boolToVisibility2}}" Canvas.Left="20" Canvas.Top="105" HorizontalAlignment="Center"/>
 
-                     <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"/>
 
-                     <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"/>
 
-                 </Canvas>
 
-                 <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">
 
-                     <Grid>
 
-                         <Grid.RowDefinitions>
 
-                             <RowDefinition Height="40"/>
 
-                             <RowDefinition Height="200"/>
 
-                             <RowDefinition Height="40"/>
 
-                             <RowDefinition Height="40"/>
 
-                             <RowDefinition Height="40"/>
 
-                             <RowDefinition Height="40"/>
 
-                             <RowDefinition Height="40"/>
 
-                             <RowDefinition Height="40"/>
 
-                         </Grid.RowDefinitions>
 
-                         <Grid.ColumnDefinitions>
 
-                             <ColumnDefinition Width="150"/>
 
-                             <ColumnDefinition Width="100"/>
 
-                             <ColumnDefinition/>
 
-                         </Grid.ColumnDefinitions>
 
-                         <Grid Grid.Column ="0" Grid.Row="0">
 
-                             <Label Grid.Row="0" Content="Chemistry" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
 
-                         </Grid>
 
-                         <Grid Grid.Column ="0" Grid.Row="2">
 
-                             <Label Grid.Row="0" Content="MicroCurrent" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
 
-                         </Grid>
 
-                         <Grid Grid.Column ="0" Grid.Row="4">
 
-                             <Label Grid.Row="0" Content="DI Replen Enable" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
 
-                         </Grid>
 
-                         <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"/>
 
-                         <Grid Grid.Column ="0" Grid.Row="5">
 
-                             <Label Grid.Row="0" Content="Level Setpoint" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
 
-                         </Grid>
 
-                         <Grid Grid.Column ="0" Grid.Row="6">
 
-                             <Label Grid.Row="0" Content="Idle Flow" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
 
-                         </Grid>
 
-                         <Grid Grid.Column ="0" Grid.Row="7">
 
-                             <Label Grid.Row="0" Content="Temp Setpoint" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
 
-                         </Grid>
 
-                         <GroupBox Header="Burn In" Grid.Column ="0" Grid.Row="1" Grid.ColumnSpan="3" Margin="5" Padding="3">
 
-                             <Grid>
 
-                                 <Grid.RowDefinitions>
 
-                                     <RowDefinition Height="30"></RowDefinition>
 
-                                     <RowDefinition Height="30"></RowDefinition>
 
-                                     <RowDefinition Height="40"></RowDefinition>
 
-                                     <RowDefinition Height="30"></RowDefinition>
 
-                                     <RowDefinition Height="40"></RowDefinition>
 
-                                 </Grid.RowDefinitions>
 
-                                 <Grid.ColumnDefinitions>
 
-                                     <ColumnDefinition Width="*"></ColumnDefinition>
 
-                                 </Grid.ColumnDefinitions>
 
-                                 <Label Grid.Row="0" Content="Enable" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
 
-                                 <Ellipse Grid.Row="0" Margin="290,7,14,7"  Width="16" Height="16"  Fill="{Binding CurrentRecipe.BurnInEnable, Converter={StaticResource boolToColor}}"   Stroke="Gray"/>
 
-                                 <Label Grid.Row="1" Content="Method" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
 
-                                 <Border Background="Black"  Grid.Row="2" Margin="5,5,5,5">
 
-                                     <TextBlock Text="" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
 
-                                 </Border>
 
-                                 <Label Grid.Row="3" Content="Sequence" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Left"/>
 
-                                 <Border Background="Black"  Grid.Row="5" Margin="5,5,5,5">
 
-                                     <TextBlock Text="" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
 
-                                 </Border>
 
-                             </Grid>
 
-                         </GroupBox>
 
-                         <Border Grid.Row="0" Grid.Column="2" Margin="5,5,15,5" Background="Black">
 
-                             <TextBlock Text="{Binding CurrentRecipe.Metal}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
 
-                         </Border>
 
-                         <Border Background="Black"  Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="3" Margin="5,5,15,5">
 
-                             <TextBlock Text="" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
 
-                         </Border>
 
-                         <Border Grid.Row="5" Grid.Column="3" Margin="5,5,15,5" Background="Black">
 
-                             <TextBlock Text="{Binding CurrentRecipe.ReservoirCALevel,StringFormat=\{0:F1\} L}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
 
-                         </Border>
 
-                         <Border Grid.Row="6" Grid.Column="3" Margin="5,5,15,5" Background="Black">
 
-                             <TextBlock Text="" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
 
-                         </Border>
 
-                         <Border Grid.Row="7" Grid.Column="3" Margin="5,5,15,5" Background="Black">
 
-                             <TextBlock Text="{Binding CurrentRecipe.TemperatureSetPoint,StringFormat=\{0:F1\} ℃}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
 
-                         </Border>
 
-                     </Grid>
 
-                 </GroupBox>
 
-                 <Grid Grid.Row="1" Grid.Column="3" Grid.RowSpan="2" Margin="10 10 0 0">
 
-                     <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}"/>
 
-                 </Grid>
 
-                 <GroupBox Header="Chemical Maintenance Module(CMM)" Margin="10,22,0,-28" Grid.Row="3" Grid.Column="3" Grid.RowSpan="4">
 
-                     <Grid>
 
-                         <Grid.ColumnDefinitions>
 
-                             <ColumnDefinition Width="34*"/>
 
-                             <ColumnDefinition Width="293*"/>
 
-                             <ColumnDefinition Width="111*"/>
 
-                         </Grid.ColumnDefinitions>
 
-                         <Grid.RowDefinitions>
 
-                             <RowDefinition Height="135"></RowDefinition>
 
-                             <RowDefinition Height="75"></RowDefinition>
 
-                             <RowDefinition Height="130"></RowDefinition>
 
-                             <RowDefinition Height="*"></RowDefinition>
 
-                         </Grid.RowDefinitions>
 
-                         <GroupBox Header="Power Supply" Grid.Column="0" Grid.Row="0" Margin="5,5,5,5" Grid.ColumnSpan="3">
 
-                             <Grid>
 
-                                 <Grid.ColumnDefinitions>
 
-                                     <ColumnDefinition Width="120"></ColumnDefinition>
 
-                                     <ColumnDefinition Width="120"></ColumnDefinition>
 
-                                     <ColumnDefinition Width="*"></ColumnDefinition>
 
-                                     <ColumnDefinition Width="50"></ColumnDefinition>
 
-                                     <ColumnDefinition Width="65"></ColumnDefinition>
 
-                                 </Grid.ColumnDefinitions>
 
-                                 <Grid.RowDefinitions>
 
-                                     <RowDefinition Height="25"></RowDefinition>
 
-                                     <RowDefinition Height="25"></RowDefinition>
 
-                                     <RowDefinition Height="25"></RowDefinition>
 
-                                     <RowDefinition Height="25"></RowDefinition>
 
-                                 </Grid.RowDefinitions>
 
-                                 <Grid Grid.Column="0" Grid.Row="0">
 
-                                     <Label Content="Current Set Point" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
 
-                                 </Grid>
 
-                                 <Grid Grid.Column="0" Grid.Row="2">
 
-                                     <Label Content="Min Voltage" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
 
-                                 </Grid>
 
-                                 <Grid Grid.Column="1" Grid.Row="0">
 
-                                     <Label Content="Current" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
 
-                                 </Grid>
 
-                                 <Grid Grid.Column="1" Grid.Row="2">
 
-                                     <Label Content="Voltage" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
 
-                                 </Grid>
 
-                                 <Grid Grid.Column="3" Grid.Row="0">
 
-                                     <Label Content="High" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
 
-                                 </Grid>
 
-                                 <Grid Grid.Column="4" Grid.Row="0">
 
-                                     <Label Content="Low" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
 
-                                 </Grid>
 
-                                 <Grid Grid.Column="4" Grid.Row="2">
 
-                                     <Label Content="Low" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
 
-                                 </Grid>
 
-                                 <Border Grid.Row="1" Grid.Column="0" Margin="5,0,5,0" Background="Black">
 
-                                     <TextBlock Text="{Binding CmmPowerSupplierData.SetPoint,StringFormat=\{0:F3\} A}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
 
-                                 </Border>
 
-                                 <Border Grid.Row="3" Grid.Column="0" Margin="5,0,5,0" Background="Black">
 
-                                     <TextBlock Text="{Binding CurrentRecipe.CMMMinVoltage,StringFormat=\{0:F2\} V}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
 
-                                 </Border>
 
-                                 <Border Grid.Row="1" Grid.Column="1" Margin="5,0,5,0" Background="Black">
 
-                                     <TextBlock Text="{Binding CmmPowerSupplierData.Current,StringFormat=\{0:F3\} A}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
 
-                                 </Border>
 
-                                 <Border Grid.Row="3" Grid.Column="1" Margin="5,0,5,0" Background="Black">
 
-                                     <TextBlock Text="{Binding CmmPowerSupplierData.Voltage,StringFormat=\{0:F2\} V}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
 
-                                 </Border>
 
-                                 <Ellipse Grid.Row="1" Grid.Column ="3" Margin="0 0 0 0"  Width="16" Height="16"  Fill="{Binding CurrentHighStatus,Converter={StaticResource stringToColorConverter1}}"   Stroke="Gray"/>
 
-                                 <Ellipse Grid.Row="1" Grid.Column ="4" Margin="0 0 0 0"  Width="16" Height="16"  Fill="{Binding CurrentLowStatus,Converter={StaticResource stringToColorConverter1}}"   Stroke="Gray"/>
 
-                                 <Ellipse Grid.Row="4" Grid.Column ="4" Margin="0 0 0 0"  Width="16" Height="16"  Fill="{Binding IsBelowMinVoltage,Converter={StaticResource boolToRedGreenColor1}}"   Stroke="Gray"/>
 
-                             </Grid>
 
-                         </GroupBox>
 
-                         <GroupBox Header="Flow" Grid.Column="0" Grid.Row="1" Margin="5,0,5,0" Grid.ColumnSpan="3">
 
-                             <Grid>
 
-                                 <Grid.ColumnDefinitions>
 
-                                     <ColumnDefinition Width="120"></ColumnDefinition>
 
-                                     <ColumnDefinition Width="120"></ColumnDefinition>
 
-                                     <ColumnDefinition Width="*"></ColumnDefinition>
 
-                                     <ColumnDefinition Width="50"></ColumnDefinition>
 
-                                     <ColumnDefinition Width="65"></ColumnDefinition>
 
-                                 </Grid.ColumnDefinitions>
 
-                                 <Grid.RowDefinitions>
 
-                                     <RowDefinition Height="25"></RowDefinition>
 
-                                     <RowDefinition Height="25"></RowDefinition>
 
-                                 </Grid.RowDefinitions>
 
-                                 <Grid Grid.Column="0" Grid.Row="0">
 
-                                     <Label Content="Flow" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
 
-                                 </Grid>
 
-                                 <Grid Grid.Column="3" Grid.Row="0">
 
-                                     <Label Content="High" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
 
-                                 </Grid>
 
-                                 <Grid Grid.Column="4" Grid.Row="0">
 
-                                     <Label Content="Low" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
 
-                                 </Grid>
 
-                                 <Border Grid.Row="1" Grid.Column="0" Margin="5,0,5,0" Background="Black">
 
-                                     <TextBlock Text="{Binding ReservoirData.Flow, StringFormat=\{0:F1\} L/min}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
 
-                                 </Border>
 
-                                 <Ellipse Grid.Row="1" Grid.Column ="3" Margin="0 0 0 0"  Width="16" Height="16"  Fill="{Binding FlowHighStatus,Converter={StaticResource stringToColorConverter1}}"   Stroke="Gray"/>
 
-                                 <Ellipse Grid.Row="1" Grid.Column ="4" Margin="0 0 0 0"  Width="16" Height="16"  Fill="{Binding FlowLowStatus,Converter={StaticResource stringToColorConverter1}}"   Stroke="Gray"/>
 
-                             </Grid>
 
-                         </GroupBox>
 
-                         <GroupBox Header="Anode Usage" Grid.Column="0" Grid.Row="2" Margin="5,0,5,0" Grid.ColumnSpan="3">
 
-                             <Grid>
 
-                                 <Grid.ColumnDefinitions>
 
-                                     <ColumnDefinition Width="120"></ColumnDefinition>
 
-                                     <ColumnDefinition Width="120"></ColumnDefinition>
 
-                                     <ColumnDefinition Width="*"></ColumnDefinition>
 
-                                     <ColumnDefinition Width="40"></ColumnDefinition>
 
-                                     <ColumnDefinition Width="65"></ColumnDefinition>
 
-                                 </Grid.ColumnDefinitions>
 
-                                 <Grid.RowDefinitions>
 
-                                     <RowDefinition Height="25"></RowDefinition>
 
-                                     <RowDefinition Height="25"></RowDefinition>
 
-                                     <RowDefinition Height="25"></RowDefinition>
 
-                                     <RowDefinition Height="25"></RowDefinition>
 
-                                 </Grid.RowDefinitions>
 
-                                 <Grid Grid.Column="0" Grid.Row="0">
 
-                                     <Label Content="Anode AHrs" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
 
-                                 </Grid>
 
-                                 <Grid Grid.Column="0" Grid.Row="2">
 
-                                     <Label Content="Cathode AHrs" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
 
-                                 </Grid>
 
-                                 <Grid Grid.Column="1" Grid.Row="0">
 
-                                     <Label Content="LifeTime AHrs" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
 
-                                 </Grid>
 
-                                 <Grid Grid.Column="1" Grid.Row="2">
 
-                                     <Label Content="LifeTime AHrs" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
 
-                                 </Grid>
 
-                                 <Grid Grid.Column="3" Grid.Row="0">
 
-                                     <Label Content="Fault" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
 
-                                 </Grid>
 
-                                 <Grid Grid.Column="4" Grid.Row="0">
 
-                                     <Label Content="Warning" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
 
-                                 </Grid>
 
-                                 <Grid Grid.Column="3" Grid.Row="2">
 
-                                     <Label Content="Fault" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
 
-                                 </Grid>
 
-                                 <Grid Grid.Column="4" Grid.Row="2">
 
-                                     <Label Content="Warning" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
 
-                                 </Grid>
 
-                                 <Border Grid.Row="1" Grid.Column="0" Margin="5,0,5,0" Background="Black">
 
-                                     <TextBlock Text="{Binding CMMAnodeUsage,StringFormat=\{0:F2\} Ah}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
 
-                                 </Border>
 
-                                 <Border Grid.Row="3" Grid.Column="0" Margin="5,0,5,0" Background="Black">
 
-                                     <TextBlock Text="{Binding CMMCathodeUsage,StringFormat=\{0:F2\} Ah}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
 
-                                 </Border>
 
-                                 <Border Grid.Row="1" Grid.Column="1" Margin="5,0,5,0" Background="Black">
 
-                                     <TextBlock Text="{Binding CMMAnodeLifeTimeAHrs,StringFormat=\{0:F2\} Ah}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
 
-                                 </Border>
 
-                                 <Border Grid.Row="3" Grid.Column="1" Margin="5,0,5,0" Background="Black">
 
-                                     <TextBlock Text="{Binding CMMCathodeLifeTimeAHrs,StringFormat=\{0:F2\} Ah}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
 
-                                 </Border>
 
-                                 <Ellipse  Grid.Row="1" Grid.Column ="3" Margin="0 0 0 0"  Width="16" Height="16" Fill="{Binding IsCMMAnodeTotalAmpHoursFault,Converter={StaticResource boolToRedColor}}" Stroke="Gray"/>
 
-                                 <Ellipse Grid.Row="1" Grid.Column ="4" Margin="0 0 0 0"  Width="16" Height="16"  Fill="{Binding IsCMMAnodeTotalAmpHoursWarning,Converter={StaticResource boolToYellowColor}}" Stroke="Gray"/>
 
-                                 <Ellipse Grid.Row="4" Grid.Column ="3" Margin="0 0 0 0"  Width="16" Height="16"  Fill="{Binding IsCMMCathodeTotalAmpHoursFault,Converter={StaticResource boolToRedColor}}" Stroke="Gray"/>
 
-                                 <Ellipse Grid.Row="4" Grid.Column ="4" Margin="0 0 0 0"  Width="16" Height="16"  Fill="{Binding IsCMMCathodeTotalAmpHoursWarning,Converter={StaticResource boolToYellowColor}}" Stroke="Gray"/>
 
-                             </Grid>
 
-                         </GroupBox>
 
-                         <GroupBox Header="PH Probe" Grid.Column="0" Grid.Row="3" Margin="5,0,5,10" Grid.ColumnSpan="3">
 
-                             <Grid>
 
-                                 <Grid.ColumnDefinitions>
 
-                                     <ColumnDefinition Width="120"></ColumnDefinition>
 
-                                     <ColumnDefinition Width="120"></ColumnDefinition>
 
-                                     <ColumnDefinition Width="*"></ColumnDefinition>
 
-                                     <ColumnDefinition Width="40"></ColumnDefinition>
 
-                                     <ColumnDefinition Width="65"></ColumnDefinition>
 
-                                 </Grid.ColumnDefinitions>
 
-                                 <Grid.RowDefinitions>
 
-                                     <RowDefinition Height="25"></RowDefinition>
 
-                                     <RowDefinition Height="25"></RowDefinition>
 
-                                     <RowDefinition Height="25"></RowDefinition>
 
-                                     <RowDefinition Height="25"></RowDefinition>
 
-                                 </Grid.RowDefinitions>
 
-                                 <Grid Grid.Column="0" Grid.Row="0">
 
-                                     <Label Content="PH" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
 
-                                 </Grid>
 
-                                 <Grid Grid.Column="0" Grid.Row="2">
 
-                                     <Label Content="Low Limit" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
 
-                                 </Grid>
 
-                                 <Grid Grid.Column="1" Grid.Row="2">
 
-                                     <Label Content="High Limit" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
 
-                                 </Grid>
 
-                                 <Grid Grid.Column="3" Grid.Row="0">
 
-                                     <Label Content="Flow" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
 
-                                 </Grid>
 
-                                 <Grid Grid.Column="3" Grid.Row="2">
 
-                                     <Label Content="High" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
 
-                                 </Grid>
 
-                                 <Grid Grid.Column="4" Grid.Row="2">
 
-                                     <Label Content="Low" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
 
-                                 </Grid>
 
-                                 <Border Grid.Row="1" Grid.Column="0" Margin="5,0,5,0" Background="Black">
 
-                                     <TextBlock Text="{Binding ReservoirData.PHValue,StringFormat=\{0:F1\}}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
 
-                                 </Border>
 
-                                 <Border Grid.Row="3" Grid.Column="0" Margin="5,0,5,0" Background="Black">
 
-                                     <TextBlock Text="{Binding CurrentRecipe.PHErrorLow,StringFormat=\{0:F1\}}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
 
-                                 </Border>
 
-                                 <Border Grid.Row="3" Grid.Column="1" Margin="5,0,5,0" Background="Black">
 
-                                     <TextBlock Text="{Binding CurrentRecipe.PHErrorHigh,StringFormat=\{0:F1\}}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
 
-                                 </Border>
 
-                                 <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"/>
 
-                                 <Ellipse Grid.Row="3" Grid.Column ="3" Margin="0 0 0 0"  Width="16" Height="16"  Fill="{Binding IsPHHighLimit, Converter={StaticResource boolToRedGreenColor1}}"    Stroke="Gray"/>
 
-                                 <Ellipse Grid.Row="4" Grid.Column ="4" Margin="0 0 0 0"  Width="16" Height="16"  Fill="{Binding IsPHLowLimit, Converter={StaticResource boolToRedGreenColor1}}"    Stroke="Gray"/>
 
-                             </Grid>
 
-                         </GroupBox>
 
-                     </Grid>
 
-                 </GroupBox>
 
-                 <Grid Grid.Row="5" Grid.Column="4" Margin="0 0 0 10">
 
-                     <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>
 
-                 </Grid>
 
-                 <GroupBox Header="DI Replen" FontWeight="Bold" FontSize="15" Grid.Row="4" Grid.Column="4" Margin="10 -40 0 0">
 
-                     <Grid>
 
-                         <Grid.RowDefinitions>
 
-                             <RowDefinition Height="25"></RowDefinition>
 
-                             <RowDefinition Height="25"></RowDefinition>
 
-                             <RowDefinition Height="35"></RowDefinition>
 
-                             <RowDefinition Height="25"></RowDefinition>
 
-                             <RowDefinition Height="25"></RowDefinition>
 
-                             <RowDefinition Height="25"></RowDefinition>
 
-                             <RowDefinition Height="30"></RowDefinition>
 
-                             <RowDefinition Height="35"></RowDefinition>
 
-                             <RowDefinition Height="35"></RowDefinition>
 
-                         </Grid.RowDefinitions>
 
-                         <Grid Grid.Row="0">
 
-                             <Label Content="Total On Time" FontSize="14" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" />
 
-                         </Grid>
 
-                         <Border Grid.Row="1" Background="Black" Width="130" Margin="0 -3 0 0">
 
-                             <TextBlock Text="{Binding ReservoirsPersistent.TotalReplen}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
 
-                         </Border>
 
-                         <Grid Grid.Row="2">
 
-                             <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>
 
-                         </Grid>
 
-                         <Grid Grid.Row="3">
 
-                             <Label Content="Max On Time" FontSize="14" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" />
 
-                         </Grid>
 
-                         <Border Grid.Row="4" Background="Black" Width="130" Margin="0 -3 0 0">
 
-                             <TextBlock Text="{Binding DIValveMaxOnTime}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
 
-                         </Border>
 
-                         <Grid Grid.Row="5">
 
-                             <Label Content="Manual Fill Time" FontSize="14" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" />
 
-                         </Grid>
 
-                         <Grid Grid.Row="6">
 
-                             <Control:IntegerTextBox TextboxName="ManualFillTime" Value="{Binding ManualFillSeconds,Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="25,-3,0,0" Height="25" Width="100"/>
 
-                             <Label Content="sec" HorizontalAlignment="Right" VerticalAlignment="Center" Height="30" Width="55"  Margin="0 -3 0 0"></Label>
 
-                         </Grid>
 
-                         <Grid Grid.Row="7">
 
-                             <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>
 
-                             <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 0 30 0" Fill="{Binding IsManualReplen, Converter={StaticResource boolToColor}}" Stroke="Silver"/>
 
-                         </Grid>
 
-                         <Grid Grid.Row="8">
 
-                             <Label Content="DI Replen Fault" HorizontalAlignment="Left" FontSize="14" VerticalAlignment="Center" Height="30" Margin="10 -3 0 0"></Label>
 
-                             <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 -3 30 0" Fill="{Binding IsDiReplenFault,Converter={StaticResource boolToRedGreenColor}}"   Stroke="Silver"/>
 
-                         </Grid>
 
-                     </Grid>
 
-                 </GroupBox>
 
-                 <Grid Grid.Row="3" Grid.Column="4">
 
-                     <Grid.RowDefinitions>
 
-                         <RowDefinition Height="30"></RowDefinition>
 
-                         <RowDefinition Height="100"></RowDefinition>
 
-                     </Grid.RowDefinitions>
 
-                     <Grid Grid.Row="0">
 
-                       
 
-                     </Grid>
 
-                     <Grid Grid.Row="1">
 
-                        
 
-                     </Grid>
 
-                 </Grid>
 
-                 <Grid Grid.Row="2" Grid.Column="4">
 
-                     <ctrls:OperatingModeControl HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Top" 
 
-                                                 ModuleName="{Binding Module}"
 
-                                                 OperationModeValue="{Binding ReservoirsPersistent.OperatingMode}"/>
 
-                 </Grid>
 
-                 <Grid Grid.Row="1" Grid.Column="4">
 
-                     <Grid.RowDefinitions>
 
-                         <RowDefinition Height="60"></RowDefinition>
 
-                         <RowDefinition Height="40"></RowDefinition>
 
-                         <RowDefinition Height="35"></RowDefinition>
 
-                     </Grid.RowDefinitions>
 
-                     <Grid Grid.Row="0">
 
-                         <Label Content="{Binding Module}"  FontSize="35" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Center" Margin="0,0,0,13"></Label>
 
-                     </Grid>
 
-                     <Grid Grid.Row="1">
 
-                         <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>
 
-                     </Grid>
 
-                     <Grid Grid.Row="2">
 
-                         <Label Content="Operating Mode"  FontSize="15" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Center"></Label>
 
-                     </Grid>
 
-                 </Grid>
 
-             </Grid>
 
-         </StackPanel>
 
-         <Canvas Canvas.Left="-10">
 
-             <ctrls:Pipe2    Canvas.Left="465"  Canvas.Top="220" RotateTransformValue="-180" HorizontalAlignment="Center" VerticalAlignment="Top" />
 
-             <!--Cell1 Clamp-->
 
-             <ctrls:FlowPipe IsFlowing="{Binding MetalDataCollection[1].WaferHolderClamp}" Height="8"  Width="30"  Canvas.Left="460"  Canvas.Top="212" RotateTransformValue="0" HorizontalAlignment="Center" VerticalAlignment="Top" />
 
-             <ctrls:FlowPipe IsFlowing="{Binding MetalDataCollection[1].WaferHolderClamp}" Height="8"  Width="40"  Canvas.Left="460"  Canvas.Top="170" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center" />
 
-             <customControls:CommonValveControl IsEnabled="{Binding IsEnabled}" Status="{Binding MetalDataCollection[1].WaferHolderClamp}"
 
-                                        Height="20" Width="20"  Canvas.Left="446"  Canvas.Top="182" ValveOrientation="Vertical" 
 
-                                        ContextMenu="{StaticResource Cell1ClampValve}" IsCanEdit="True" Tag="26"/>
 
-             <TextBlock FontSize="14" Width="50" Canvas.Top="183" Canvas.Left="411" HorizontalAlignment="Left" VerticalAlignment="Center" Text="Clamp" RenderTransformOrigin="0.5,0.5">
 
-                 <TextBlock.RenderTransform>
 
-                     <TransformGroup>
 
-                         <ScaleTransform/>
 
-                         <SkewTransform/>
 
-                         <RotateTransform Angle="-90"/>
 
-                         <TranslateTransform/>
 
-                     </TransformGroup>
 
-                 </TextBlock.RenderTransform>
 
-             </TextBlock>
 
-         </Canvas>
 
-         <Canvas Canvas.Left="210">
 
-             <ctrls:Pipe2    Canvas.Left="465"  Canvas.Top="220" RotateTransformValue="-180" HorizontalAlignment="Center" VerticalAlignment="Top" />
 
-             <!--Cell2 Clamp-->
 
-             <ctrls:FlowPipe IsFlowing="{Binding MetalDataCollection[0].WaferHolderClamp}" Height="8"  Width="30"  Canvas.Left="460"  Canvas.Top="212" RotateTransformValue="0" HorizontalAlignment="Center" VerticalAlignment="Top" />
 
-             <ctrls:FlowPipe IsFlowing="{Binding MetalDataCollection[0].WaferHolderClamp}" Height="8"  Width="40"  Canvas.Left="460"  Canvas.Top="170" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center" />
 
-             <customControls:CommonValveControl Status="{Binding MetalDataCollection[0].WaferHolderClamp}" IsEnabled="{Binding IsEnabled}"
 
-                                        Height="20" Width="20"  Canvas.Left="446"  Canvas.Top="182" ValveOrientation="Vertical"
 
-                                        ContextMenu="{StaticResource Cell0ClampValve}" IsCanEdit="True" Tag="26"/>
 
-             <TextBlock FontSize="14" Width="50" Canvas.Top="183" Canvas.Left="411" HorizontalAlignment="Left" VerticalAlignment="Center" Text="Clamp" RenderTransformOrigin="0.5,0.5">
 
-                 <TextBlock.RenderTransform>
 
-                     <TransformGroup>
 
-                         <ScaleTransform/>
 
-                         <SkewTransform/>
 
-                         <RotateTransform Angle="-90"/>
 
-                         <TranslateTransform/>
 
-                     </TransformGroup>
 
-                 </TextBlock.RenderTransform>
 
-             </TextBlock>
 
-         </Canvas>
 
-         <Grid Canvas.Left="260" Canvas.Top="220">
 
-             <Grid.ColumnDefinitions>
 
-                 <ColumnDefinition Width="120"/>
 
-             </Grid.ColumnDefinitions>
 
-             <Grid.RowDefinitions>
 
-                 <RowDefinition Height="25"/>
 
-                 <RowDefinition Height="25"/>
 
-                 <RowDefinition Height="25"/>
 
-                 <RowDefinition Height="25"/>
 
-                 <RowDefinition Height="25"/>
 
-                 <RowDefinition Height="25"/>
 
-                 <RowDefinition Height="25"/>
 
-             </Grid.RowDefinitions>
 
-             <Grid Grid.Row="0" Grid.Column="0">
 
-                 <Label Content="Level" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
 
-             </Grid>
 
-             <Border Grid.Row="1" Grid.Column="0" Margin="5,0,15,0" Background="Black">
 
-                 <TextBlock Text="{Binding AvgLevel,StringFormat=\{0:F2\} L}" Foreground="Lime" FontSize="13" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
 
-             </Border>
 
-             <Grid Grid.Row="2" Grid.Column="0">
 
-                 <Label Content="Level Raw" FontSize="12" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center"/>
 
-             </Grid>
 
-             <Border Grid.Row="3" Grid.Column="0" Margin="5,0,15,0" Background="Black">
 
-                 <TextBlock Text="{Binding ReservoirData.WaterLevel,StringFormat=\{0:F1\} %}" Foreground="Lime" FontSize="13" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
 
-             </Border>
 
-             <Grid Grid.Row="4" Grid.Column="0">
 
-                 <Label Content="High" FontSize="12" FontWeight="Bold" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,25,0"/>
 
-                 <Ellipse Margin="80,2,20,2"  Width="16" Height="16"  Fill="{Binding IsHighLevel, Converter={StaticResource boolToRedGreenColor}}"  Stroke="Gray"/>
 
-             </Grid>
 
-             <Grid Grid.Row="5" Grid.Column="0">
 
-                 <Label Content="Low" FontSize="12" FontWeight="Bold" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,25,0"/>
 
-                 <Ellipse Margin="80,2,20,2"  Width="16" Height="16"  Fill="{Binding IsLowLevel, Converter={StaticResource boolToGreenRedColor}}"   Stroke="Gray"/>
 
-             </Grid>
 
-             <Grid Grid.Row="6" Grid.Column="0">
 
-                 <Ellipse Margin="80,2,20,2"  Width="16" Height="16"  Fill="{Binding IsHighSafety, Converter={StaticResource boolToRedColor}}"   Stroke="Gray"/>
 
-                 <Label Content="High Safety" FontSize="12" FontWeight="Bold" Margin="0,0,40,0" />
 
-             </Grid>
 
-         </Grid>
 
-         <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"/>
 
-         <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"/>
 
-         <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"/>
 
-         <TextBlock FontSize="14" Width="70" Canvas.Top="406" Canvas.Left="102" HorizontalAlignment="Left" VerticalAlignment="Center" Text="DI Replen" RenderTransformOrigin="0.5,0.5"></TextBlock>
 
-         <TextBlock FontSize="14" Width="72" Canvas.Top="625" Canvas.Left="475" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Circulation" RenderTransformOrigin="0.5,0.5"></TextBlock>
 
-         <TextBlock FontSize="14" Width="72" Canvas.Top="625" Canvas.Left="702" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Circulation" RenderTransformOrigin="0.5,0.5"></TextBlock>
 
-         <!--DIReplen pipe-->
 
-         <ctrls:FlowPipe IsFlowing="{Binding ReservoirData.DiReplen}" Height="8"  Width="281"  Canvas.Left="93"  Canvas.Top="431" RotateTransformValue="0" HorizontalAlignment="Center" VerticalAlignment="Top" />
 
-         <!--Bypass flow pipe-->
 
-         <ctrls:FlowPipe IsFlowing="true" Height="8"  Width="360"  Canvas.Left="239"  Canvas.Top="665" RotateTransformValue="0" HorizontalAlignment="Left" VerticalAlignment="Center" />
 
-         <ctrls:FlowPipe IsFlowing="true" Height="8"  Width="134"  Canvas.Left="374"  Canvas.Top="556" RotateTransformValue="180" HorizontalAlignment="Center" VerticalAlignment="Top" />
 
-         <ctrls:FlowPipe IsFlowing="true" Height="8"  Width="105"  Canvas.Left="237"  Canvas.Top="559" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" />
 
-         <!--HED Flow pipe-->
 
-         <ctrls:FlowPipe IsFlowing="{Binding HEDFlowIsOn}" Height="8"  Width="281"  Canvas.Left="93"  Canvas.Top="488" RotateTransformValue="0" HorizontalAlignment="Center" VerticalAlignment="Top" Loaded="FlowPipe_Loaded" />
 
-         <ctrls:FlowPipe IsFlowing="{Binding HEDFlowIsOn}" IsReverse="True" Height="8"  Width="194"  Canvas.Left="90"  Canvas.Top="493" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" />
 
-         <ctrls:FlowPipe IsFlowing="{Binding HEDFlowIsOn}" IsReverse="True" Height="8"  Width="592"  Canvas.Left="93"  Canvas.Top="688" RotateTransformValue="0" HorizontalAlignment="Left" VerticalAlignment="Center" />
 
-         <ctrls:FlowPipe IsFlowing="{Binding HEDFlowIsOn}" IsReverse="True" Height="8"  Width="96"  Canvas.Left="687"  Canvas.Top="684" RotateTransformValue="-90" HorizontalAlignment="Center" VerticalAlignment="Top" />
 
-         <ctrls:FlowPipe IsFlowing="{Binding HEDFlowIsOn}" IsReverse="True" Height="8"  Width="104"  Canvas.Left="458"  Canvas.Top="691" RotateTransformValue="-90" HorizontalAlignment="Center" VerticalAlignment="Top" />
 
-         <!--Cell1 pump Flow pipe-->
 
-         <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" />
 
-         <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" />
 
-         <!--Cell1 CellFlow pipe-->
 
-         <ctrls:FlowPipe IsFlowing="{Binding MetalDataCollection[1].Circulation}" Height="8"  Width="38"  Canvas.Left="498"  Canvas.Top="584" RotateTransformValue="-90" HorizontalAlignment="Center" VerticalAlignment="Top" />
 
-         <!--Cell1 CellBypass pipe-->
 
-         <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" />
 
-         <userControls:Fan Width="45" Height="45" Canvas.Top="563" Canvas.Left="480" HorizontalAlignment="Center" VerticalAlignment="Top"
 
-                   ContextMenu="{StaticResource Cell1CirculationValve}" IsEnabled="{Binding IsEnabled}"/>
 
-         <!--Cell2 pump Flow pipe-->
 
-         <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" />
 
-         <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" />
 
-         <!--Cell2 CellFlow pipe-->
 
-         <ctrls:FlowPipe IsFlowing="{Binding MetalDataCollection[0].Circulation}" Height="8"  Width="38"  Canvas.Left="721"  Canvas.Top="584" RotateTransformValue="-90" HorizontalAlignment="Center" VerticalAlignment="Top" />
 
-         <!--Cell2 CellBypass pipe-->
 
-         <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"/>
 
-         <userControls:Fan Width="45" Height="45" Canvas.Top="563" Canvas.Left="703" HorizontalAlignment="Left" VerticalAlignment="Center" 
 
-                   ContextMenu="{StaticResource Cell0CirculationValve}"/>
 
-         <ctrls:Pipe2    Canvas.Left="242"  Canvas.Top="673" RotateTransformValue="180" HorizontalAlignment="Left" VerticalAlignment="Center" />
 
-         <ctrls:Pipe2    Canvas.Left="229"  Canvas.Top="561" RotateTransformValue="-90" HorizontalAlignment="Left" VerticalAlignment="Center" />
 
-         <ctrls:Pipe2    Canvas.Left="82"  Canvas.Top="501" RotateTransformValue="-90" HorizontalAlignment="Center" VerticalAlignment="Top" />
 
-         <ctrls:Pipe2    Canvas.Left="95"  Canvas.Top="696" RotateTransformValue="-180" HorizontalAlignment="Center" VerticalAlignment="Top" />
 
-         <ctrls:Pipe2    Canvas.Left="610"  Canvas.Top="660" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top" />
 
-         <ctrls:Pipe2    Canvas.Left="695"  Canvas.Top="683" RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Center" />
 
-         <customControls:CommonValveControl ValveOrientation="Horizontal" Height="20" Width="20"  Canvas.Left="125"  Canvas.Top="425" 
 
-                                            ContextMenu="{StaticResource DIReplenValve}" Status="{Binding ReservoirData.DiReplen,Mode=TwoWay}" IsEnabled="{Binding IsEnabled}"
 
-                                            IsCanEdit="True" Tag="26" HorizontalAlignment="Left" VerticalAlignment="Center" 
 
-                                            />
 
-         <Canvas>
 
-             <ctrls:Pipe2    Canvas.Left="352"  Canvas.Top="595" RotateTransformValue="-90" HorizontalAlignment="Center" VerticalAlignment="Top" />
 
-             <userControls:PrewetTankControl Width="40" Height="70" Canvas.Top="581" Canvas.Left="401" HorizontalAlignment="Left" VerticalAlignment="Center"></userControls:PrewetTankControl>
 
-             <Rectangle Width="18" Height="38" Canvas.Left="412" Canvas.Top="608" HorizontalAlignment="Center" VerticalAlignment="Top" 
 
-                        Visibility="{Binding MetalDataCollection[1].CellPump,Converter={StaticResource boolToVisibility2}}" Fill="Lime"/>
 
-             <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" />
 
-             <TextBlock FontSize="14" Width="70" Canvas.Top="579" Canvas.Left="271" HorizontalAlignment="Center" VerticalAlignment="Top" Text="Cell Pump" RenderTransformOrigin="0.5,0.5"></TextBlock>
 
-             <Canvas Width="40" Height="20" Canvas.Left="347" Canvas.Top="615" HorizontalAlignment="Center" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5" >
 
-                 <Canvas.RenderTransform>
 
-                     <TransformGroup>
 
-                         <ScaleTransform/>
 
-                         <SkewTransform/>
 
-                         <RotateTransform Angle="90"/>
 
-                         <TranslateTransform/>
 
-                     </TransformGroup>
 
-                 </Canvas.RenderTransform>
 
-                 <Polygon Width="10" Points="0,10 20,0 20,20" Fill="Black" StrokeThickness="1" HorizontalAlignment="Left" VerticalAlignment="Center"></Polygon>
 
-                 <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>
 
-             </Canvas>
 
-         </Canvas>
 
-         <Canvas Canvas.Left="250">
 
-             <ctrls:Pipe2    Canvas.Left="352"  Canvas.Top="595" RotateTransformValue="-90" HorizontalAlignment="Center" VerticalAlignment="Top" />
 
-             <userControls:PrewetTankControl Width="40" Height="70" Canvas.Top="581" Canvas.Left="384" HorizontalAlignment="Left" VerticalAlignment="Center"></userControls:PrewetTankControl>
 
-             <Rectangle Width="18" Height="38" Canvas.Left="395" Canvas.Top="608" HorizontalAlignment="Left" VerticalAlignment="Center" 
 
-                        Visibility="{Binding MetalDataCollection[0].CellPump,Converter={StaticResource boolToVisibility2}}" Fill="Lime"/>
 
-             <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" />
 
-             <TextBlock FontSize="14" Width="70" Canvas.Top="579" Canvas.Left="271" HorizontalAlignment="Center" VerticalAlignment="Top" Text="Cell Pump" RenderTransformOrigin="0.5,0.5"></TextBlock>
 
-             <Canvas Width="40" Height="20" Canvas.Left="350" Canvas.Top="615" HorizontalAlignment="Center" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5" >
 
-                 <Canvas.RenderTransform>
 
-                     <TransformGroup>
 
-                         <ScaleTransform/>
 
-                         <SkewTransform/>
 
-                         <RotateTransform Angle="90"/>
 
-                         <TranslateTransform/>
 
-                     </TransformGroup>
 
-                 </Canvas.RenderTransform>
 
-                 <Polygon Width="10" Points="0,10 20,0 20,20" Fill="Black" StrokeThickness="1" HorizontalAlignment="Left" VerticalAlignment="Center"></Polygon>
 
-                 <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>
 
-             </Canvas>
 
-         </Canvas>
 
-         <Canvas Width="150" Height="100" Canvas.Left="10" Canvas.Top="506" HorizontalAlignment="Center" VerticalAlignment="Top">
 
-             <userControls:TempControl MouseLeftButtonUp="ClickJumpTCCommand"  HorizontalAlignment="Center" Canvas.Top="18" VerticalAlignment="Top" 
 
-                                       TempValue="{Binding TemperatureControlData.ReserviorTemperature}" ModuleName="{Binding TemperatureControlData.Name}"
 
-                                       Status="{Binding TemperatureControlData.Status}" DisableStatus="{Binding TCEnableStatus}"/>
 
-         </Canvas>
 
-         <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"/>
 
-     </Canvas>
 
- </UserControl>
 
 
  |