| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 | <UserControl x:Class="PunkHPX8_Themes.UserControls.ReservoirsRecipeParametersPanel"             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:local="clr-namespace:PunkHPX8_Themes.UserControls"             xmlns:converters="clr-namespace:PunkHPX8_Themes.Converters"             mc:Ignorable="d"             x:Name="self"             d:DesignHeight="450" d:DesignWidth="700">    <UserControl.Resources>        <converters:BoolToColor x:Key="boolToColor"/>        <converters:BoolToYellowColor x:Key="boolToYellowColor"/>    </UserControl.Resources>    <Border BorderBrush="Gray">        <Grid  VerticalAlignment="Top">            <GroupBox Header="Recipe Parameters"  BorderBrush="DarkGray">                <Grid Height="320">                    <Grid.RowDefinitions>                        <RowDefinition Height="40"/>                        <RowDefinition Height="40"/>                        <RowDefinition Height="40"/>                        <RowDefinition Height="40"/>                        <RowDefinition Height="*"/>                    </Grid.RowDefinitions>                    <Grid.ColumnDefinitions>                        <ColumnDefinition Width="150"/>                        <ColumnDefinition Width="80"/>                        <ColumnDefinition Width="100"/>                        <ColumnDefinition Width="150"/>                        <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="1">                        <Label Grid.Row="0" Content="Burn In Enable" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>                        <Ellipse Margin="122 0 0 0"  Width="16" Height="16"  Fill="{Binding ElementName=self,Path=ResRecipeCommonData.BurnInEnable,Converter={StaticResource boolToColor}}" Stroke="Silver"/>                    </Grid>                    <Grid Grid.Column ="3" Grid.Row="2">                        <Label Grid.Row="0" Content="MicroCurrent" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>                    </Grid>                    <Border Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="2" Margin="5,5,15,5" Background="Black">                        <TextBlock Text="{Binding ElementName=self,Path=ResRecipeCommonData.Metal}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>                    </Border>                    <Grid Grid.Row="1" Grid.Column="1">                        <Label Grid.Row="0" Content="Method" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>                    </Grid>                    <Border Background="Black"  Grid.Row="1" Grid.Column="2" Margin="5,5,5,5">                        <TextBlock Text="" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>                    </Border>                    <Border Background="Black"  Grid.Row="2" Grid.Column="4" Margin="5,5,5,5">                        <TextBlock Text="" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>                    </Border>                    <Grid Grid.Column ="3" Grid.Row="1">                        <Label Grid.Row="0" Content="Sequence" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"/>                    </Grid>                    <Border Grid.Column="4" Grid.Row="1" Background="Black" Margin="5,5,5,5">                        <TextBlock Text="" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>                    </Border>                    <Grid Grid.Column="0" Grid.Row="3" Grid.ColumnSpan="3" Grid.RowSpan="2" Margin="0,0,0,0">                        <GroupBox Margin="10,10,10,10" Header="Catholyte"  BorderBrush="DarkGray">                            <Grid Width="300">                                <Grid.RowDefinitions>                                    <RowDefinition Height="40"/>                                    <RowDefinition Height="40"/>                                    <RowDefinition Height="40"/>                                    <RowDefinition Height="40"/>                                    <RowDefinition Height="40"/>                                </Grid.RowDefinitions>                                <Grid.ColumnDefinitions>                                    <ColumnDefinition Width="*" />                                    <ColumnDefinition Width="*" />                                </Grid.ColumnDefinitions>                                <Grid Grid.Column ="0" Grid.Row="0">                                    <Label Grid.Row="0" Content="DI Replen Enable" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>                                </Grid>                                <Grid Grid.Column ="0" Grid.Row="1">                                    <Label Grid.Row="0" Content="CA Level" 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="Flow Rate" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>                                </Grid>                                <Grid Grid.Column ="0" Grid.Row="3">                                    <Label Grid.Row="0" Content="Temp Setpoint" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>                                </Grid>                                <Grid Grid.Row="0" Grid.Column="1">                                    <Ellipse Margin="0 0 100 0"  Width="16" Height="16"  Fill="{Binding ElementName=self,Path=ResRecipeCommonData.DIReplenEnable,Converter={StaticResource boolToColor}}"   Stroke="Silver"/>                                </Grid>                                <Border Background="Black"  Grid.Row="1" Grid.Column="1" Margin="5,5,5,5">                                    <TextBlock  Text="{Binding ElementName=self,Path=ResRecipeCommonData.ReservoirCALevel, StringFormat={}{0:F2}}"  Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>                                </Border>                                <Border Background="Black" Grid.Row="2" Grid.Column="1" Margin="5,5,5,5">                                    <TextBlock  Text="{Binding ElementName=self,Path=ResRecipeCommonData.CAFlowSetPoint, StringFormat={}{0:F2}}"  Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>                                </Border>                                <Border Background="Black"  Grid.Row="3" Grid.Column="1" Margin="5,5,5,5">                                    <TextBlock  Text="{Binding ElementName=self,Path=ResRecipeCommonData.TemperatureSetPoint, StringFormat={}{0:F2}}"  Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>                                </Border>                            </Grid>                        </GroupBox>                    </Grid>                    <Grid Grid.Column="3" Grid.Row="3" Grid.ColumnSpan="3" Grid.RowSpan="2" Margin="0,0,0,0">                        <GroupBox Margin="10,10,10,10" Header="Anolyte"  BorderBrush="DarkGray">                            <Grid Width="300">                                <Grid.RowDefinitions>                                    <RowDefinition Height="40"/>                                    <RowDefinition Height="40"/>                                    <RowDefinition Height="40"/>                                    <RowDefinition Height="40"/>                                    <RowDefinition Height="40"/>                                </Grid.RowDefinitions>                                <Grid.ColumnDefinitions>                                    <ColumnDefinition Width="*" />                                    <ColumnDefinition Width="*" />                                </Grid.ColumnDefinitions>                                <Grid Grid.Column ="0" Grid.Row="0">                                    <Label Grid.Row="0" Content="DI Replen Enable" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>                                </Grid>                                <Grid Grid.Column ="0" Grid.Row="1">                                    <Label Grid.Row="0" Content="AN Level" 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="Flow Rate" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>                                </Grid>                                <Grid Grid.Row="0" Grid.Column="1">                                    <Ellipse Margin="0 0 100 0"  Width="16" Height="16"  Fill="{Binding ElementName=self,Path=ResRecipeCommonData.ANDIReplenEnable,Converter={StaticResource boolToColor}}"   Stroke="Silver"/>                                </Grid>                                <Border Background="Black"  Grid.Row="1" Grid.Column="1" Margin="5,5,5,5">                                    <TextBlock  Text="{Binding ElementName=self,Path=ResRecipeCommonData.ReservoirANLevel, StringFormat={}{0:F2}}"  Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>                                </Border>                                <Border Background="Black"  Grid.Row="2" Grid.Column="1" Margin="5,5,5,5">                                    <TextBlock  Text="{Binding ElementName=self,Path=ResRecipeCommonData.ANFlowSetPoint, StringFormat={}{0:F2}}"  Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>                                </Border>                            </Grid>                        </GroupBox>                    </Grid>                </Grid>                            </GroupBox>        </Grid>    </Border></UserControl>
 |