123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- <UserControl x:Class="CyberX8_Themes.UserControls.SRDLeftInformation"
- 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:converters="clr-namespace:CyberX8_Themes.Converters"
- xmlns:local="clr-namespace:CyberX8_Themes.UserControls"
- mc:Ignorable="d" x:Name="self"
- d:DesignHeight="240" d:DesignWidth="500">
- <UserControl.Resources>
- <converters:BoolToColor x:Key="boolToColor"/>
- <converters:BoolToYellowColor x:Key="boolToYellowColor"/>
- </UserControl.Resources>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="130"/>
- <ColumnDefinition Width="0"/>
- <ColumnDefinition Width="70"/>
- <ColumnDefinition Width="300"/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Grid Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3">
- <Label Grid.Row="0" Content="State Machine" FontSize="16" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
- </Grid>
- <Grid Grid.Row="1" Grid.ColumnSpan="4">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="150"/>
- <ColumnDefinition/>
- <ColumnDefinition Width="200"/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Grid Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="3">
- <Label Grid.Row="0" Content="Wafer Present" FontSize="16" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
- </Grid>
- <Grid Grid.Row="0" Grid.Column="1">
- <Ellipse Grid.Column="1" Width="16" Height="16" HorizontalAlignment="Left" VerticalAlignment="Center" Stroke="Silver"
- Fill="{Binding CommonData.WaferPresent, Converter={StaticResource boolToColor}, ElementName=self}" />
- </Grid>
- <Grid Grid.Row="1" Grid.Column="2">
- <Label Grid.Row="0" Content="Fluid In Containment" FontSize="16" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
- </Grid>
- <Ellipse Grid.Column="3" Width="16" Height="16" HorizontalAlignment="Left" VerticalAlignment="Center" Stroke="Silver"
- Fill="{Binding CommonData.FluidContainment, Converter={StaticResource boolToYellowColor}, ElementName=self}" />
- </Grid>
- <Grid Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3">
- <Label Grid.Row="0" Content="Water Pressure" FontSize="16" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
- </Grid>
- <Grid Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="3">
- <Label Grid.Row="0" Content="Water Flow" FontSize="16" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
- </Grid>
- <Grid Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="3">
- <Label Grid.Row="0" Content="Chuck Vacuum" FontSize="16" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
- </Grid>
- <Border Grid.Row="0" Grid.Column="3" Margin="5,5,15,5" Background="Black">
- <TextBlock Text="{Binding ElementName=self, Path=StateMachine}" Foreground="Lime" FontSize="16" FontWeight="Bold" VerticalAlignment="Center"/>
- </Border>
- <Grid Grid.Column ="3" Grid.Row="2">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="130"></ColumnDefinition>
- <ColumnDefinition Width="72"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Border Grid.Column="0" Margin="5,5,2,5" Background="Black">
- <TextBlock Text="{Binding CommonData.WaterPressure, ElementName=self, StringFormat=\{0:F2\}}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- </Border>
- <Border Grid.Column="1" Margin="2,5,5,5" Background="Black">
- <TextBlock Text="psi" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
- </Border>
- </Grid>
- <Grid Grid.Column ="3" Grid.Row="3">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="130"></ColumnDefinition>
- <ColumnDefinition Width="72"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Border Grid.Column="0" Margin="5,5,2,5" Background="Black">
- <TextBlock Text="{Binding CommonData.WaterFlow, ElementName=self, StringFormat=\{0:F2\}}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- </Border>
- <Border Grid.Column="1" Margin="2,5,5,5" Background="Black">
- <TextBlock Text="L/min" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
- </Border>
- </Grid>
- <Grid Grid.Column ="3" Grid.Row="4">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="130"></ColumnDefinition>
- <ColumnDefinition Width="72"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Border Grid.Column="0" Margin="5,5,2,5" Background="Black">
- <TextBlock Text="{Binding CommonData.VacuumValue, ElementName=self, StringFormat=\{0:F2\}}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- </Border>
- <Border Grid.Column="1" Margin="2,5,5,5" Background="Black">
- <TextBlock Text="mmH" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
- </Border>
- </Grid>
- <Grid Grid.Row="5" Grid.Column="0" Grid.ColumnSpan="3">
- <Label Grid.Row="0" Content="Chuck Vacuum OK" FontSize="16" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
- </Grid>
- <Grid Grid.Row="5" Grid.Column="3">
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <Ellipse Width="16" Height="16" HorizontalAlignment="Left" VerticalAlignment="Top" Stroke="Silver"
- Fill="{Binding CommonData.ChuckVacuumOK, Converter={StaticResource boolToColor}, ElementName=self}" Margin="-20,10,0,0" Grid.RowSpan="2" RenderTransformOrigin="0.312,1.25" />
- </Grid>
- </Grid>
- </UserControl>
|