<UserControl 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="CyberX8_Themes.UserControls" xmlns:converters="clr-namespace:CyberX8_Themes.Converters" xmlns:customControls="clr-namespace:CyberX8_Themes.CustomControls" xmlns:Control="clr-namespace:MECF.Framework.UI.Core.Control;assembly=MECF.Framework.UI.Core" x:Class="CyberX8_Themes.UserControls.LoaderDetectionControl" mc:Ignorable="d" x:Name="self" d:DesignHeight="260" d:DesignWidth="400"> <UserControl.Resources> <converters:BoolToColor x:Key="boolToColor"/> </UserControl.Resources> <Grid> <GroupBox Header="Plate Out Detection" Background="{DynamicResource Table_BD_Title}" BorderBrush="DarkGray"> <Grid> <Grid.RowDefinitions> <RowDefinition Height="60"/> <RowDefinition Height="30"/> <RowDefinition/> </Grid.RowDefinitions> <TextBlock Grid.Row="0" Grid.ColumnSpan="2" Text="{Binding ElementName=self,Path=Status}" TextWrapping="Wrap" Background="Black" Foreground="Lime" FontSize="16" FontWeight="Bold"/> <Label Grid.Row="1" Content="Plate Out Sequence" VerticalAlignment="Center" Margin="2" FontSize="14" FontWeight="Bold"/> <Button Grid.Row="1" Width="40" Height="30" Style="{StaticResource SysBtnStyle}" Content="Run" Click="RunPlateOut_Click" HorizontalAlignment="Center" /> <GroupBox Header="Low Level IO" Grid.Row="2"> <Grid> <Grid.RowDefinitions> <RowDefinition Height="30"></RowDefinition> <RowDefinition Height="30"></RowDefinition> <RowDefinition Height="30"></RowDefinition> <RowDefinition Height="30"></RowDefinition> <RowDefinition/> </Grid.RowDefinitions> <Label Grid.Row="0" Content="Camera Trigger" VerticalAlignment="Center" Margin="2" FontSize="14" FontWeight="Bold"/> <Ellipse Grid.Row="0" Width="16" Height="16" Fill="{Binding ElementName=self,Path=CameraTrigger, Converter={StaticResource boolToColor}}" Stroke="Silver" Margin="200,7,160,7"/> <Button Grid.Row="0" Width="40" Height="30" Style="{StaticResource SysBtnStyle}" Content="Pulse" Click="RunPlateOut_Click" HorizontalAlignment="Left" Margin="236,0,0,0" /> <Button Grid.Row="0" Width="40" Height="30" Style="{StaticResource SysBtnStyle}" Content="On" Click="RunPlateOut_Click" HorizontalAlignment="Left" Margin="281,0,0,0" /> <Button Grid.Row="0" Width="40" Height="30" Style="{StaticResource SysBtnStyle}" Content="Off" Click="RunPlateOut_Click" HorizontalAlignment="Left" Margin="326,-2,0,2" /> <Label Grid.Row="1" Content="Plate Out Detected" VerticalAlignment="Center" Margin="2" FontSize="14" FontWeight="Bold"/> <Ellipse Grid.Row="1" Width="16" Height="16" Fill="{Binding ElementName=self,Path=PlateOutDetected, Converter={StaticResource boolToColor}}" Stroke="Silver" Margin="200,7,160,7"/> <Label Grid.Row="2" Content="Plate Out Not Detected" VerticalAlignment="Center" Margin="2" FontSize="14" FontWeight="Bold"/> <Ellipse Grid.Row="2" Width="16" Height="16" Fill="{Binding ElementName=self,Path=PlateOutNotDetected, Converter={StaticResource boolToColor}}" Stroke="Silver" Margin="200,7,160,7"/> <Label Grid.Row="3" Content="Vision System Online" VerticalAlignment="Center" Margin="2" FontSize="14" FontWeight="Bold"/> <Ellipse Grid.Row="3" Width="16" Height="16" Fill="{Binding ElementName=self,Path=VisionSystemOnline, Converter={StaticResource boolToColor}}" Stroke="Silver" Margin="200,7,160,7"/> </Grid> </GroupBox> </Grid> </GroupBox> </Grid> </UserControl>