| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508 | <UserControl x:Class="PunkHPX8_MainPages.Views.SystemSafetyView"             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_MainPages.Views"             xmlns:converters="clr-namespace:PunkHPX8_Themes.Converters;assembly=PunkHPX8_Themes"             xmlns:UserControls="clr-namespace:PunkHPX8_Themes.UserControls;assembly=PunkHPX8_Themes"             xmlns:prism="http://prismlibrary.com/"              prism:ViewModelLocator.AutoWireViewModel="True"                          mc:Ignorable="d"              d:DesignHeight="850" d:DesignWidth="1800">    <UserControl.Resources>        <converters:BoolToErrorColor x:Key="boolToErrorColor"></converters:BoolToErrorColor>        <converters:BoolToYellowColor x:Key="boolToYellowColor"></converters:BoolToYellowColor>        <converters:BoolToYellowColor2 x:Key="boolToYellowColor2"></converters:BoolToYellowColor2>        <converters:BoolToRedColor x:Key="boolToRedColor"></converters:BoolToRedColor>        <converters:boolToRedColor2 x:Key="boolToRedColor2"></converters:boolToRedColor2>        <converters:BoolToGreenRedColor x:Key="boolToGreenRedColor"></converters:BoolToGreenRedColor>        <converters:BoolToRedGreenColor x:Key="boolToRedGreenColor"></converters:BoolToRedGreenColor>        <converters:BoolToColor x:Key="boolToColor"></converters:BoolToColor>        <converters:BoolToColor4 x:Key="boolToColor4"></converters:BoolToColor4>        <converters:BoolToColor6 x:Key="boolToColor6"></converters:BoolToColor6>        <converters:BoolToColor7 x:Key="boolToColor7"></converters:BoolToColor7>        <converters:BoolToBool x:Key="boolReverse"></converters:BoolToBool>    </UserControl.Resources>    <Grid>        <Grid.ColumnDefinitions>            <ColumnDefinition Width="380"></ColumnDefinition>            <ColumnDefinition Width="420"></ColumnDefinition>            <ColumnDefinition Width="380"></ColumnDefinition>            <ColumnDefinition Width="500"></ColumnDefinition>            <ColumnDefinition/>        </Grid.ColumnDefinitions>        <Grid Grid.Column="0">            <Grid.RowDefinitions>                <RowDefinition Height="200"></RowDefinition>                <RowDefinition Height="1"></RowDefinition>                <RowDefinition Height="250"></RowDefinition>                <RowDefinition Height="150"></RowDefinition>            </Grid.RowDefinitions>            <GroupBox Grid.Row="3" Grid.Column="0" Header="Controls" Height="100"  Margin="5,0,5,0">                <Grid>                    <Grid.RowDefinitions>                        <RowDefinition Height="40"></RowDefinition>                        <RowDefinition Height="40"></RowDefinition>                    </Grid.RowDefinitions>                    <Grid.ColumnDefinitions>                        <ColumnDefinition Width="200"></ColumnDefinition>                        <ColumnDefinition Width="100"></ColumnDefinition>                    </Grid.ColumnDefinitions>                    <Label Grid.Row="0" Grid.Column="0" Content="Halt Button Left" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0" Grid.ColumnSpan="2"/>                    <Label Grid.Row="1" Grid.Column="0" Content="Halt Button Right" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0" Grid.ColumnSpan="2"/>                    <Ellipse Grid.Row="0" Grid.Column="1" Margin="0,7,-15,7" Width="16" Height="16"  Fill="{Binding CommonSafetyData.HaltButtonLeft,Converter={StaticResource boolToGreenRedColor}}" Stroke="Silver" HorizontalAlignment="Right"/>                    <Ellipse Grid.Row="1" Grid.Column="1" Margin="0,7,-15,7" Width="16" Height="16"  Fill="{Binding CommonSafetyData.HaltButtonRight,Converter={StaticResource boolToGreenRedColor}}" Stroke="Silver" HorizontalAlignment="Right"/>                </Grid>            </GroupBox>                        <GroupBox Grid.Row="0" Grid.RowSpan="3" Header="Safety I/O" VerticalAlignment="Top" Margin="5,0,5,0">                <Grid>                    <Grid.RowDefinitions>                        <RowDefinition Height="1"></RowDefinition>                        <RowDefinition Height="40"></RowDefinition>                        <RowDefinition Height="40"></RowDefinition>                        <RowDefinition Height="40"></RowDefinition>                        <RowDefinition Height="300"></RowDefinition>                    </Grid.RowDefinitions>                    <Grid.ColumnDefinitions>                        <ColumnDefinition Width="200"></ColumnDefinition>                        <ColumnDefinition Width="100"></ColumnDefinition>                        <ColumnDefinition Width="50"></ColumnDefinition>                    </Grid.ColumnDefinitions>                    <Button Grid.Row="2" Grid.Column="0" Style="{StaticResource SysBtnStyle}"  Content="Reset" Width="75" Height="30" HorizontalAlignment="Left" Command="{Binding ResetCommand}" Margin="35,0,0,0"></Button>                    <Label Grid.Row="1" Grid.Column="0" Grid.RowSpan="2" Margin="165,35,0,0">                        <TextBlock Text="State" FontWeight="Bold" HorizontalAlignment="Right" >                            <TextBlock.LayoutTransform>                                <RotateTransform Angle="-90"/>                            </TextBlock.LayoutTransform>                        </TextBlock>                    </Label>                    <Label Grid.Row="1" Grid.Column="1" Grid.RowSpan="2" Margin="65,20,0,0">                        <TextBlock Text="ComErr" FontWeight="Bold" HorizontalAlignment="Right" >                            <TextBlock.LayoutTransform>                                <RotateTransform Angle="-90"/>                            </TextBlock.LayoutTransform>                        </TextBlock>                    </Label>                    <Label Grid.Row="1" Grid.Column="2" Grid.RowSpan="2" Margin="0,30,0,0">                        <TextBlock Text="FbErr" FontWeight="Bold" HorizontalAlignment="Right" >                            <TextBlock.LayoutTransform>                                <RotateTransform Angle="-90"/>                            </TextBlock.LayoutTransform>                        </TextBlock>                    </Label>                    <Label Grid.Row="3" Grid.Column="0" Content="TwinCAT State" VerticalAlignment="Center" FontWeight="Bold" Margin="25,0,0,0"/>                    <Ellipse Grid.Row="3" Grid.Column="0" Margin="4,7,12,7" Width="16" Height="16" Stroke="Silver" HorizontalAlignment="Right">                        <Ellipse.Style>                            <Style TargetType="Ellipse">                                <Setter Property="Fill" Value="red"/>                                <Style.Triggers>                                    <DataTrigger Binding="{Binding CommonSafetyData.TwincatState}" Value="8">                                        <Setter Property="Fill" Value="lime" />                                    </DataTrigger>                                </Style.Triggers>                            </Style>                        </Ellipse.Style>                    </Ellipse>                    <Ellipse Grid.Row="3" Grid.Column="1" Margin="72,0,0,0" Width="16" Height="16"  Fill="{Binding CommonSafetyData.MainCommErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>                    <Ellipse Grid.Row="3" Grid.Column="2" Margin="0,0,0,0" Width="16" Height="16"  Fill="{Binding CommonSafetyData.MainFbErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>                    <TextBox Name="TwinCATState"  Margin="-37,0,0,0" Grid.Row="3" Grid.Column="1" Width="70" Height="25" HorizontalContentAlignment="Left" VerticalContentAlignment="Center" Text="{Binding CommonSafetyData.TwincatState}"/>                    <Grid Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="3" >                        <GroupBox Header="Controllers" Margin="10,10,20,20">                            <Grid>                                <Grid.RowDefinitions>                                    <RowDefinition Height="30"></RowDefinition>                                    <RowDefinition Height="30"></RowDefinition>                                    <RowDefinition Height="30"></RowDefinition>                                    <RowDefinition Height="30"></RowDefinition>                                    <RowDefinition Height="30"></RowDefinition>                                    <RowDefinition Height="30"></RowDefinition>                                    <RowDefinition Height="30"></RowDefinition>                                    <RowDefinition Height="30"></RowDefinition>                                </Grid.RowDefinitions>                                <Grid.ColumnDefinitions>                                    <ColumnDefinition Width="32"></ColumnDefinition>                                    <ColumnDefinition Width="118"/>                                    <ColumnDefinition Width="30"></ColumnDefinition>                                    <ColumnDefinition Width="70"></ColumnDefinition>                                    <ColumnDefinition Width="30"></ColumnDefinition>                                    <ColumnDefinition Width="30"></ColumnDefinition>                                </Grid.ColumnDefinitions>                                <Label Grid.Column="0" Content="Facility Ctrl" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0" Grid.ColumnSpan="2"/>                                <Label Grid.Row="1" Grid.Column="0" Content="VPW Ctrl" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0" Grid.ColumnSpan="2"/>                                <Label Grid.Row="2" Grid.Column="0" Content="Reservoir 1/2 Ctrl" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0" Grid.ColumnSpan="2"/>                                <Label Grid.Row="3" Grid.Column="0" Content="Reservoir 3/4 Ctrl" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0" Grid.ColumnSpan="2"/>                                <Label Grid.Row="4" Grid.Column="0" Content="PlatingCell 1/2 Ctrl" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0" Grid.ColumnSpan="2"/>                                <Label Grid.Row="5" Grid.Column="0" Content="PlatingCell 3/4 Ctrl" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0" Grid.ColumnSpan="2"/>                                <Label Grid.Row="6" Grid.Column="0" Content="SRD Ctrl" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0" Grid.ColumnSpan="2"/>                                <TextBox Grid.Row="0" Grid.Column="3" Width="70" Height="25" HorizontalContentAlignment="Left" VerticalContentAlignment="Center" Text="{Binding CommonSafetyData.FacilityHotConnectState}" Margin="0,2,0,2"/>                                <TextBox Grid.Row="1" Grid.Column="3" Width="70" Height="25" HorizontalContentAlignment="Left" VerticalContentAlignment="Center" Text="{Binding CommonSafetyData.VpwHotConnectState}" Margin="0,2,0,2"/>                                <TextBox Grid.Row="2" Grid.Column="3" Width="70" Height="25" HorizontalContentAlignment="Left" VerticalContentAlignment="Center" Text="{Binding CommonSafetyData.Res12HotConnectState}" Margin="0,2,0,2"/>                                <TextBox Grid.Row="3" Grid.Column="3" Width="70" Height="25" HorizontalContentAlignment="Left" VerticalContentAlignment="Center" Text="{Binding CommonSafetyData.Res34HotConnectState}" Margin="0,2,0,2"/>                                <TextBox Grid.Row="4" Grid.Column="3" Width="70" Height="25" HorizontalContentAlignment="Left" VerticalContentAlignment="Center" Text="{Binding CommonSafetyData.Plating12HotConnectState}" Margin="0,2,0,2"/>                                <TextBox Grid.Row="5" Grid.Column="3" Width="70" Height="25" HorizontalContentAlignment="Left" VerticalContentAlignment="Center" Text="{Binding CommonSafetyData.Plating34HotConnectState}" Margin="0,2,0,2"/>                                <TextBox Grid.Row="6" Grid.Column="3" Width="70" Height="25" HorizontalContentAlignment="Left" VerticalContentAlignment="Center" Text="{Binding CommonSafetyData.SrdHotConnectState}" Margin="0,2,0,2"/>                                <Ellipse Grid.Row="0" Grid.Column="4" Margin="5,7,0,7" Width="16" Height="16"  Fill="{Binding CommonSafetyData.FacilityCommErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>                                <Ellipse Grid.Row="1" Grid.Column="4" Margin="5,7,0,7" Width="16" Height="16"  Fill="{Binding CommonSafetyData.VpwCommErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>                                <Ellipse Grid.Row="2" Grid.Column="4" Margin="5,7,0,7" Width="16" Height="16"  Fill="{Binding CommonSafetyData.Res12CommErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>                                <Ellipse Grid.Row="3" Grid.Column="4" Margin="5,7,0,7" Width="16" Height="16"  Fill="{Binding CommonSafetyData.Res34CommErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>                                <Ellipse Grid.Row="4" Grid.Column="4" Margin="5,7,0,7" Width="16" Height="16"  Fill="{Binding CommonSafetyData.Plating12CommErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>                                <Ellipse Grid.Row="5" Grid.Column="4" Margin="5,7,0,7" Width="16" Height="16"  Fill="{Binding CommonSafetyData.Plating34CommErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>                                <Ellipse Grid.Row="6" Grid.Column="4" Margin="5,7,0,7" Width="16" Height="16"  Fill="{Binding CommonSafetyData.SrdCommErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>                                <Ellipse Grid.Row="0" Grid.Column="5" Margin="5,7,0,7" Width="16" Height="16"  Fill="{Binding CommonSafetyData.FacilityFbErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>                                <Ellipse Grid.Row="1" Grid.Column="5" Margin="5,7,0,7" Width="16" Height="16"  Fill="{Binding CommonSafetyData.VpwFbErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>                                <Ellipse Grid.Row="2" Grid.Column="5" Margin="5,7,0,7" Width="16" Height="16"  Fill="{Binding CommonSafetyData.Res12FbErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>                                <Ellipse Grid.Row="3" Grid.Column="5" Margin="5,7,0,7" Width="16" Height="16"  Fill="{Binding CommonSafetyData.Res34FbErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>                                <Ellipse Grid.Row="4" Grid.Column="5" Margin="5,7,0,7" Width="16" Height="16"  Fill="{Binding CommonSafetyData.Plating12FbErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>                                <Ellipse Grid.Row="5" Grid.Column="5" Margin="5,7,0,7" Width="16" Height="16"  Fill="{Binding CommonSafetyData.Plating34FbErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>                                <Ellipse Grid.Row="6" Grid.Column="5" Margin="5,7,0,7" Width="16" Height="16"  Fill="{Binding CommonSafetyData.SrdFbErr,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Left"/>                                <Ellipse Grid.Row="0" Grid.Column="2" Margin="4,7,0,7" Width="16" Height="16" Stroke="Silver" HorizontalAlignment="Left">                                    <Ellipse.Style>                                        <Style TargetType="Ellipse">                                            <Setter Property="Fill" Value="red"/>                                            <Style.Triggers>                                                <DataTrigger Binding="{Binding CommonSafetyData.FacilityHotConnectState}" Value="8">                                                    <Setter Property="Fill" Value="lime" />                                                </DataTrigger>                                            </Style.Triggers>                                        </Style>                                    </Ellipse.Style>                                </Ellipse>                                <Ellipse Grid.Row="1" Grid.Column="2" Margin="4,7,0,7" Width="16" Height="16"   Stroke="Silver" HorizontalAlignment="Left">                                    <Ellipse.Style>                                        <Style TargetType="Ellipse">                                            <Setter Property="Fill" Value="red"/>                                            <Style.Triggers>                                                <DataTrigger Binding="{Binding CommonSafetyData.VpwHotConnectState}" Value="8">                                                    <Setter Property="Fill" Value="lime" />                                                </DataTrigger>                                            </Style.Triggers>                                        </Style>                                    </Ellipse.Style>                                </Ellipse>                                <Ellipse Grid.Row="2" Grid.Column="2" Margin="4,7,0,7" Width="16" Height="16"   Stroke="Silver" HorizontalAlignment="Left">                                    <Ellipse.Style>                                        <Style TargetType="Ellipse">                                            <Setter Property="Fill" Value="red"/>                                            <Style.Triggers>                                                <DataTrigger Binding="{Binding CommonSafetyData.Res12HotConnectState}" Value="8">                                                    <Setter Property="Fill" Value="lime" />                                                </DataTrigger>                                            </Style.Triggers>                                        </Style>                                    </Ellipse.Style>                                </Ellipse>                                <Ellipse Grid.Row="3" Grid.Column="2" Margin="4,7,0,7" Width="16" Height="16"   Stroke="Silver" HorizontalAlignment="Left">                                    <Ellipse.Style>                                        <Style TargetType="Ellipse">                                            <Setter Property="Fill" Value="red"/>                                            <Style.Triggers>                                                <DataTrigger Binding="{Binding CommonSafetyData.Res34HotConnectState}" Value="8">                                                    <Setter Property="Fill" Value="lime" />                                                </DataTrigger>                                            </Style.Triggers>                                        </Style>                                    </Ellipse.Style>                                </Ellipse>                                <Ellipse Grid.Row="4" Grid.Column="2" Margin="4,7,0,7" Width="16" Height="16"   Stroke="Silver" HorizontalAlignment="Left">                                    <Ellipse.Style>                                        <Style TargetType="Ellipse">                                            <Setter Property="Fill" Value="red"/>                                            <Style.Triggers>                                                <DataTrigger Binding="{Binding CommonSafetyData.Plating12HotConnectState}" Value="8">                                                    <Setter Property="Fill" Value="lime" />                                                </DataTrigger>                                            </Style.Triggers>                                        </Style>                                    </Ellipse.Style>                                </Ellipse>                                <Ellipse Grid.Row="5" Grid.Column="2" Margin="4,7,0,7" Width="16" Height="16"   Stroke="Silver" HorizontalAlignment="Left">                                    <Ellipse.Style>                                        <Style TargetType="Ellipse">                                            <Setter Property="Fill" Value="red"/>                                            <Style.Triggers>                                                <DataTrigger Binding="{Binding CommonSafetyData.Plating34HotConnectState}" Value="8">                                                    <Setter Property="Fill" Value="lime" />                                                </DataTrigger>                                            </Style.Triggers>                                        </Style>                                    </Ellipse.Style>                                </Ellipse>                                <Ellipse Grid.Row="6" Grid.Column="2" Margin="4,7,0,7" Width="16" Height="16"   Stroke="Silver" HorizontalAlignment="Left">                                    <Ellipse.Style>                                        <Style TargetType="Ellipse">                                            <Setter Property="Fill" Value="red"/>                                            <Style.Triggers>                                                <DataTrigger Binding="{Binding CommonSafetyData.SrdHotConnectState}" Value="8">                                                    <Setter Property="Fill" Value="lime" />                                                </DataTrigger>                                            </Style.Triggers>                                        </Style>                                    </Ellipse.Style>                                </Ellipse>                            </Grid>                        </GroupBox>                    </Grid>                </Grid>            </GroupBox>        </Grid>                <Grid Grid.Column="1">            <Grid.RowDefinitions>                <RowDefinition Height="600"></RowDefinition>                <RowDefinition Height="250"></RowDefinition>            </Grid.RowDefinitions>            <Grid>                    <Grid.RowDefinitions>                        <RowDefinition Height="150"></RowDefinition>                        <RowDefinition Height="270"></RowDefinition>                        <RowDefinition Height="180"></RowDefinition>                    </Grid.RowDefinitions>                <Grid.ColumnDefinitions>                    <ColumnDefinition Width="420"></ColumnDefinition>                    <ColumnDefinition Width="220"></ColumnDefinition>                </Grid.ColumnDefinitions>                <GroupBox Grid.Row="0" Grid.Column="0" Grid.RowSpan="2" Header="Motion Access" Margin="5,0,5,80">                        <Grid>                            <Grid.RowDefinitions>                                <RowDefinition Height="40"></RowDefinition>                                <RowDefinition Height="40"></RowDefinition>                                <RowDefinition Height="40"></RowDefinition>                                <RowDefinition Height="40"></RowDefinition>                                <RowDefinition Height="40"></RowDefinition>                                <RowDefinition Height="40"></RowDefinition>                                <RowDefinition Height="50"></RowDefinition>                            </Grid.RowDefinitions>                            <Grid.ColumnDefinitions>                                <ColumnDefinition Width="180"></ColumnDefinition>                                <ColumnDefinition Width="80"></ColumnDefinition>                                <ColumnDefinition Width="80"></ColumnDefinition>                                <ColumnDefinition Width="30"></ColumnDefinition>                            </Grid.ColumnDefinitions>                            <Label Grid.Row="0" Grid.Column="0" Content="Cassette Door Left" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                            <Label Grid.Row="1" Grid.Column="0" Content="Cassette Door Right" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                            <Label Grid.Row="2" Grid.Column="0" Content="Cell 1/2 Door Left" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                            <Label Grid.Row="3" Grid.Column="0" Content="Cell 1/2 Door Right" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                            <Label Grid.Row="4" Grid.Column="0" Content="Cell 3/4 Door Left" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                            <Label Grid.Row="5" Grid.Column="0" Content="Cell 3/4 Door Right" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                            <Label Grid.Row="6" Grid.Column="0" Content="Aligner Door" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                        <Button Grid.Row="0" Grid.Column="1" Grid.RowSpan="2" Style="{StaticResource SysBtnStyle}"  Content="Lock" Width="65" Height="25" HorizontalAlignment="Left" Margin="4,0,0,0" Command="{Binding LockCassetteDoorsCommand}"></Button>                        <Button Grid.Row="0" Grid.Column="2" Grid.RowSpan="2" Style="{StaticResource SysBtnStyle}"  Content="Unlock" Width="65" Height="25" HorizontalAlignment="Left" Command="{Binding UnlockCassetteDoorsCommand}"></Button>                        <Button Grid.Row="2" Grid.Column="1" Grid.RowSpan="2" Style="{StaticResource SysBtnStyle}"  Content="Lock" Width="65" Height="25" HorizontalAlignment="Left" Margin="4,0,0,0" Command="{Binding LockCell12DoorsCommand}"></Button>                        <Button Grid.Row="2" Grid.Column="2" Grid.RowSpan="2" Style="{StaticResource SysBtnStyle}"  Content="Unlock" Width="65" Height="25" HorizontalAlignment="Left" Command="{Binding UnlockCell12DoorsCommand}"></Button>                        <Button Grid.Row="4" Grid.Column="1" Grid.RowSpan="2" Style="{StaticResource SysBtnStyle}"  Content="Lock" Width="65" Height="25" HorizontalAlignment="Left" Margin="4,0,0,0" Command="{Binding LockCell34DoorsCommand}"></Button>                        <Button Grid.Row="4" Grid.Column="2" Grid.RowSpan="2" Style="{StaticResource SysBtnStyle}"  Content="Unlock" Width="65" Height="25" HorizontalAlignment="Left" Command="{Binding UnlockCell34DoorsCommand}"></Button>                        <Button Grid.Row="6" Grid.Column="1" Grid.RowSpan="2" Style="{StaticResource SysBtnStyle}"  Content="Lock" Width="65" Height="25" HorizontalAlignment="Left" Margin="4,0,0,0" Command="{Binding LockAlignerDoorsCommand}"></Button>                        <Button Grid.Row="6" Grid.Column="2" Grid.RowSpan="2" Style="{StaticResource SysBtnStyle}"  Content="Unlock" Width="65" Height="25" HorizontalAlignment="Left" Command="{Binding UnlockAlignerDoorsCommand}"></Button>                        <UserControls:LockControl  Grid.Row="0" Grid.Column="3" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,0,5" IsLocked="{Binding CommonSafetyData.CassetteDoorsLeftLocked}"/>                        <UserControls:LockControl  Grid.Row="1" Grid.Column="3" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,0,5" IsLocked="{Binding CommonSafetyData.CassetteDoorsRightLocked}"/>                        <UserControls:LockControl  Grid.Row="2" Grid.Column="3" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,0,5" IsLocked="{Binding CommonSafetyData.Cell12DoorsLeftLocked}"/>                        <UserControls:LockControl  Grid.Row="3" Grid.Column="3" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,0,5" IsLocked="{Binding CommonSafetyData.Cell12DoorsRightLocked}"/>                        <UserControls:LockControl  Grid.Row="4" Grid.Column="3" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,0,5" IsLocked="{Binding CommonSafetyData.Cell34DoorsLeftLocked}"/>                        <UserControls:LockControl  Grid.Row="5" Grid.Column="3" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,0,5" IsLocked="{Binding CommonSafetyData.Cell34DoorsRightLocked}"/>                        <UserControls:LockControl  Grid.Row="6" Grid.Column="3" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,0,5" IsLocked="{Binding CommonSafetyData.AlignerDoorClosed}"/>                    </Grid>                    </GroupBox>                <GroupBox Grid.Row="1" Grid.Column="0" Grid.RowSpan="2" Header="Door And Access Panels" VerticalAlignment="Center" Margin="5,150,5,0" >                    <Grid Height="200">                        <Grid.RowDefinitions>                            <RowDefinition Height="40"></RowDefinition>                            <RowDefinition Height="40"></RowDefinition>                            <RowDefinition Height="40"></RowDefinition>                            <RowDefinition Height="40"></RowDefinition>                            <RowDefinition Height="40"></RowDefinition>                        </Grid.RowDefinitions>                        <Grid.ColumnDefinitions>                            <ColumnDefinition Width="200"></ColumnDefinition>                            <ColumnDefinition Width="100"></ColumnDefinition>                        </Grid.ColumnDefinitions>                        <Label Grid.Row="0" Grid.Column="0" Content="Reservoir 1/2 Door" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                        <Label Grid.Row="1" Grid.Column="0" Content="Reservoir 3/4 Door" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                        <Label Grid.Row="2" Grid.Column="0" Content="VPW Top/Bottom Door" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                        <Label Grid.Row="3" Grid.Column="0" Content="Plumbing Panels" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                        <Label Grid.Row="4" Grid.Column="0" Content="SRD Panel" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                        <Ellipse Grid.Row="0" Grid.Column="1" Margin="0,0,6,0" Width="16" Height="16"  Fill="{Binding CommonSafetyData.Res12DoorClosed,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Right"/>                        <Ellipse Grid.Row="1" Grid.Column="1" Margin="0,0,6,0" Width="16" Height="16"  Fill="{Binding CommonSafetyData.Res34DoorClosed,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Right"/>                        <Ellipse Grid.Row="2" Grid.Column="1" Margin="0,0,6,0" Width="16" Height="16"  Fill="{Binding CommonSafetyData.VpwDoorClosed,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Right"/>                        <Ellipse Grid.Row="3" Grid.Column="1" Margin="0,0,6,0" Width="16" Height="16"  Fill="{Binding CommonSafetyData.PlumblingDoorClosed,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Right"/>                        <Ellipse Grid.Row="4" Grid.Column="1" Margin="0,0,6,0" Width="16" Height="16"  Fill="{Binding CommonSafetyData.SrdPanelClosed,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Right"/>                    </Grid>                </GroupBox>            </Grid>            <Grid Grid.Row="1" Grid.Column="0" Grid.RowSpan="2" Margin="0,-40,0,0">                <Grid.ColumnDefinitions>                    <ColumnDefinition Width="420"></ColumnDefinition>                </Grid.ColumnDefinitions>                <GroupBox Grid.Column="0" Header="Containment Fluid Detection" Margin="5,0,5,20">                    <Grid>                        <Grid.ColumnDefinitions>                            <ColumnDefinition Width="220"></ColumnDefinition>                            <ColumnDefinition Width="100"></ColumnDefinition>                        </Grid.ColumnDefinitions>                        <Grid.RowDefinitions>                            <RowDefinition Height="40"></RowDefinition>                            <RowDefinition Height="40"></RowDefinition>                            <RowDefinition Height="40"></RowDefinition>                            <RowDefinition Height="40"></RowDefinition>                            <RowDefinition Height="40"></RowDefinition>                            <RowDefinition Height="40"></RowDefinition>                        </Grid.RowDefinitions>                                                                    <Label Grid.Row="0" Grid.Column="0" Content="Plating Cell 1/2 Leak Detect" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                        <Label Grid.Row="1" Grid.Column="0" Content="Plating Cell 3/4 Leak Detect" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                        <Label Grid.Row="2" Grid.Column="0" Content="Vacuum Prewet Leak Detect" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                        <Label Grid.Row="3" Grid.Column="0" Content="Sammple #1 Leak Detect" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                        <Label Grid.Row="4" Grid.Column="0" Content="Sammple #2 Leak Detect" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                        <Label Grid.Row="5" Grid.Column="0" Content="Frame Containment Leak Detect" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                        <Ellipse Grid.Row="0" Grid.Column="1" Margin="60,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.PlatingCell12LeakDetected,Converter={StaticResource boolToYellowColor}}"  Stroke="Silver" HorizontalAlignment="Left"/>                        <Ellipse Grid.Row="1" Grid.Column="1" Margin="60,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.PlatingCell34LeakDetected,Converter={StaticResource boolToYellowColor}}"  Stroke="Silver" HorizontalAlignment="Left"/>                        <Ellipse Grid.Row="2" Grid.Column="1" Margin="60,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.VacuumPrewetLeakDetected,Converter={StaticResource boolToYellowColor}}"   Stroke="Silver" HorizontalAlignment="Left"/>                        <Ellipse Grid.Row="3" Grid.Column="1" Margin="60,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.SampleStation1LeakDetected,Converter={StaticResource boolToYellowColor}}"   Stroke="Silver" HorizontalAlignment="Left"/>                        <Ellipse Grid.Row="4" Grid.Column="1" Margin="60,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.SampleStation2LeakDetected,Converter={StaticResource boolToYellowColor}}"   Stroke="Silver" HorizontalAlignment="Left"/>                        <Ellipse Grid.Row="5" Grid.Column="1" Margin="60,0,0,0" Width="16" Height="16" Fill="{Binding CommonSafetyData.FrameContainmentLeakDetected,Converter={StaticResource boolToYellowColor}}"  Stroke="Silver" HorizontalAlignment="Left"/>                    </Grid>                </GroupBox>            </Grid>        </Grid>        <Grid Grid.Column="2">            <Grid.RowDefinitions>                <RowDefinition Height="320"></RowDefinition>                <RowDefinition Height="250"></RowDefinition>            </Grid.RowDefinitions>            <GroupBox Grid.Row="0" Header="Pump Interlocks(EDM)" Margin="5,0,5,0">                <Grid>                    <Grid.RowDefinitions>                        <RowDefinition Height="40"></RowDefinition>                        <RowDefinition Height="40"></RowDefinition>                        <RowDefinition Height="40"></RowDefinition>                        <RowDefinition Height="40"></RowDefinition>                        <RowDefinition Height="40"></RowDefinition>                        <RowDefinition Height="40"></RowDefinition>                        <RowDefinition Height="40"></RowDefinition>                    </Grid.RowDefinitions>                    <Grid.ColumnDefinitions>                        <ColumnDefinition Width="300"></ColumnDefinition>                        <ColumnDefinition Width="50"></ColumnDefinition>                    </Grid.ColumnDefinitions>                    <Label Grid.Row="0" Grid.Column="0" Content="Reservoir 1/2 CA Pump"  Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                    <Label Grid.Row="1" Grid.Column="0" Content="Reservoir 3/4 CA Pump" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                    <Label Grid.Row="2" Grid.Column="0" Content="RES Degas 1 Pump" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                    <Label Grid.Row="3" Grid.Column="0" Content="RES Degas 2 Pump" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                    <Label Grid.Row="4" Grid.Column="0" Content="VPW Vacuum Pump" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                    <Label Grid.Row="5" Grid.Column="0" Content="VPW Booster Pump" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                    <Label Grid.Row="6" Grid.Column="0" Content="EXT Fluid Enable" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                    <Ellipse Grid.Row="0" Grid.Column="1" Width="16" Height="16"  Fill="{Binding CommonSafetyData.Reservoir12CAPumpEdm,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="1" Grid.Column="1" Width="16" Height="16"  Fill="{Binding CommonSafetyData.Reservoir34CAPumpEdm,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="2" Grid.Column="1" Width="16" Height="16"  Fill="{Binding CommonSafetyData.ResDegas1PumpEdm,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="3" Grid.Column="1" Width="16" Height="16"  Fill="{Binding CommonSafetyData.ResDegas2PumpEdm,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="4" Grid.Column="1" Width="16" Height="16"  Fill="{Binding CommonSafetyData.VpwVacuumPumpEdm,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="5" Grid.Column="1" Width="16" Height="16"  Fill="{Binding CommonSafetyData.VpwBoosterPumpEdm,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="6" Grid.Column="1" Width="16" Height="16"  Fill="{Binding CommonSafetyData.ExtFluidEnableEdm,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                             </Grid>            </GroupBox>            <GroupBox Grid.Row="1" Header="Level High" VerticalAlignment="Top" Margin="5,0,5,0">                <Grid Height="160">                    <Grid.ColumnDefinitions>                        <ColumnDefinition Width="200"></ColumnDefinition>                        <ColumnDefinition Width="100"></ColumnDefinition>                    </Grid.ColumnDefinitions>                    <Grid.RowDefinitions>                        <RowDefinition Height="40"></RowDefinition>                        <RowDefinition Height="40"></RowDefinition>                        <RowDefinition Height="40"></RowDefinition>                        <RowDefinition Height="40"></RowDefinition>                    </Grid.RowDefinitions>                    <Label Grid.Row="0" Grid.Column="0" Content="Reservoir 1 CA" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                    <Ellipse Grid.Row="0" Grid.Column="1"  Margin="0,0,-32,0" Width="16" Height="16"  Fill="{Binding CommonSafetyData.Reservoir1CALevelHigh,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Right"/>                    <Label Grid.Row="1" Grid.Column="0" Content="Reservoir 2 CA" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                    <Ellipse Grid.Row="1" Grid.Column="1"  Margin="0,0,-32,0" Width="16" Height="16"  Fill="{Binding CommonSafetyData.Reservoir2CALevelHigh,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Right"/>                    <Label Grid.Row="2" Grid.Column="0" Content="Reservoir 3 CA" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                    <Ellipse Grid.Row="2" Grid.Column="1"  Margin="0,0,-32,0" Width="16" Height="16"  Fill="{Binding CommonSafetyData.Reservoir3CALevelHigh,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Right"/>                    <Label Grid.Row="3" Grid.Column="0" Content="Reservoir 4 CA" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                    <Ellipse Grid.Row="3" Grid.Column="1"  Margin="0,0,-32,0" Width="16" Height="16"  Fill="{Binding CommonSafetyData.Reservoir4CALevelHigh,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver" HorizontalAlignment="Right"/>                </Grid>            </GroupBox>        </Grid>        <Grid Grid.Column="3">            <Grid.RowDefinitions>                <RowDefinition Height="530"></RowDefinition>            </Grid.RowDefinitions>            <GroupBox Grid.Row="0" Header="Motion" VerticalAlignment="Center" Margin="5,0,5,0">                <Grid Height="530">                    <Grid.ColumnDefinitions>                        <ColumnDefinition Width="300"></ColumnDefinition>                        <ColumnDefinition Width="80"></ColumnDefinition>                        <ColumnDefinition Width="80"></ColumnDefinition>                    </Grid.ColumnDefinitions>                    <Grid.RowDefinitions>                        <RowDefinition Height="60"></RowDefinition>                        <RowDefinition Height="30"></RowDefinition>                        <RowDefinition Height="40"></RowDefinition>                        <RowDefinition Height="40"></RowDefinition>                        <RowDefinition Height="40"></RowDefinition>                        <RowDefinition Height="40"></RowDefinition>                        <RowDefinition Height="40"></RowDefinition>                        <RowDefinition Height="40"></RowDefinition>                        <RowDefinition Height="40"></RowDefinition>                        <RowDefinition Height="40"></RowDefinition>                        <RowDefinition Height="40"></RowDefinition>                        <RowDefinition Height="40"></RowDefinition>                    </Grid.RowDefinitions>                    <Button Grid.Row="0" Grid.Column="0" Style="{StaticResource SysBtnStyle}"  Margin="35,0,0,0" Content="On" Width="65" Height="20" HorizontalAlignment="Left" Command="{Binding AllOnCommand}"></Button>                    <Label Grid.Row="0" Grid.Column="0" Content="All Amplifiers" Margin="0,0,25,0" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Right"/>                    <Label Grid.Row="1" Grid.Column="0" Content="Amplifiers"   VerticalAlignment="Center" HorizontalAlignment="Center"/>                    <Label Grid.Row="1" Grid.Column="1" Content="On"  FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>                    <Label Grid.Row="1" Grid.Column="2" Content="Disable"  FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>                                        <Label Grid.Row="2" Grid.Column="0" Content="VPW Cell 1 Rotate" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                    <Label Grid.Row="3" Grid.Column="0" Content="VPW Cell 2 Rotate" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                    <Label Grid.Row="4" Grid.Column="0" Content="Plating Cell 1 Rotate" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                    <Label Grid.Row="5" Grid.Column="0" Content="Plating Cell 2 Rotate" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                    <Label Grid.Row="6" Grid.Column="0" Content="Plating Cell 3 Rotate" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                    <Label Grid.Row="7" Grid.Column="0" Content="Plating Cell 4 Rotate" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                    <Label Grid.Row="8" Grid.Column="0" Content="Plating Cell 1/2 Lift" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                    <Label Grid.Row="9" Grid.Column="0" Content="Plating Cell 3/4 Lift" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                    <Label Grid.Row="10" Grid.Column="0" Content="SRD Cell 1 Rotate" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                    <Label Grid.Row="11" Grid.Column="0" Content="SRD Cell 2 Rotate" Margin="5,0,0,0" FontWeight="Bold" VerticalAlignment="Center"/>                    <Ellipse Grid.Row="2" Grid.Column="1"  Width="16" Height="16"  Fill="{Binding IsVpw1RotationOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="2" Grid.Column="2"  Width="16" Height="16"  Fill="{Binding CommonSafetyData.VpwCell1RotationStoEdm,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="3" Grid.Column="1"  Width="16" Height="16"  Fill="{Binding IsVpw2RotationOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="3" Grid.Column="2"  Width="16" Height="16"  Fill="{Binding CommonSafetyData.VpwCell2RotationStoEdm,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="4" Grid.Column="1"  Width="16" Height="16"  Fill="{Binding IsSrd2RotationOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="4" Grid.Column="2"  Width="16" Height="16"  Fill="{Binding CommonSafetyData.PlatingCell1RotationStoEdm,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="5" Grid.Column="1"  Width="16" Height="16"  Fill="{Binding IsSrd2RotationOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="5" Grid.Column="2"  Width="16" Height="16"  Fill="{Binding CommonSafetyData.PlatingCell2RotationStoEdm,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="6" Grid.Column="1"  Width="16" Height="16"  Fill="{Binding IsSrd2RotationOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="6" Grid.Column="2"  Width="16" Height="16"  Fill="{Binding CommonSafetyData.PlatingCell3RotationStoEdm,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="7" Grid.Column="1"  Width="16" Height="16"  Fill="{Binding IsSrd2RotationOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="7" Grid.Column="2"  Width="16" Height="16"  Fill="{Binding CommonSafetyData.PlatingCell4RotationStoEdm,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="8" Grid.Column="1"  Width="16" Height="16"  Fill="{Binding IsSrd2RotationOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="8" Grid.Column="2"  Width="16" Height="16"  Fill="{Binding CommonSafetyData.PlatingCell12VerticalStoEdm,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="9" Grid.Column="1"  Width="16" Height="16"  Fill="{Binding IsSrd2RotationOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="9" Grid.Column="2"  Width="16" Height="16"  Fill="{Binding CommonSafetyData.PlatingCell34VerticalStoEdm,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="10" Grid.Column="1"  Width="16" Height="16"  Fill="{Binding IsSrd2RotationOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="10" Grid.Column="2"  Width="16" Height="16"  Fill="{Binding CommonSafetyData.Srd1RotationStoEdm,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="11" Grid.Column="1"  Width="16" Height="16"  Fill="{Binding IsSrd2RotationOn,Converter={StaticResource boolToColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                    <Ellipse Grid.Row="11" Grid.Column="2"  Width="16" Height="16"  Fill="{Binding CommonSafetyData.Srd2RotationStoEdm,Converter={StaticResource boolToErrorColor}}" Stroke="Silver" HorizontalAlignment="Center"/>                </Grid>            </GroupBox>        </Grid>    </Grid></UserControl>
 |