123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- <UserControl x:Class="Aitex.Sorter.UI.Controls.SMIFStatus"
- 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:Aitex.Sorter.UI.Controls"
- xmlns:common="clr-namespace:Aitex.Sorter.Common;assembly=Aitex.Sorter.Common"
- xmlns:ctrlCommon="clr-namespace:Aitex.Sorter.UI.Controls.Common"
- xmlns:converter="clr-namespace:Aitex.Sorter.UI.Converter"
- mc:Ignorable="d"
- d:DesignHeight="320" d:DesignWidth="800">
- <UserControl.Resources>
- <converter:LedConverter x:Key="ledConverter" />
- </UserControl.Resources>
- <Grid x:Name="root" VerticalAlignment="Top">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="440" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="50" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <StackPanel Grid.Row="0" Grid.ColumnSpan="2" Orientation="Horizontal" VerticalAlignment="Center">
- <StackPanel.Resources>
- <Style TargetType="Label">
- <Setter Property="Margin" Value="0,0,16,0" />
- </Style>
- </StackPanel.Resources>
- <ctrlCommon:LED On="{Binding LoadPortLoaded}" />
- <Label Grid.Row="0" Grid.Column="1" Content="Load" />
- <ctrlCommon:LED On="{Binding LoadPortUnloaded}" />
- <Label Content="Unload" />
- <ctrlCommon:LED On="False" />
- <Label Content="Manual" />
- <ctrlCommon:LED On="{Binding Present}" />
- <Label Grid.Row="2" Grid.Column="1" Content="Presence" />
- <ctrlCommon:LED On="{Binding Placed}" />
- <Label Grid.Row="4" Grid.Column="1" Content="Placement" />
- <ctrlCommon:LED On="False" />
- <Label Content="Auto" />
- <ctrlCommon:LED On="False" />
- <Label Content="Reserve" />
- <ctrlCommon:LED IsRed="True" On="{Binding IsAlarm}" />
- <Label Grid.Row="3" Grid.Column="1" Content="Alarm" />
- </StackPanel>
- <StackPanel Orientation="Vertical" Grid.Row="1" Grid.Column="1" VerticalAlignment="Top"
- HorizontalAlignment="Center" TextBlock.Foreground="White" Height="280"
- ctrlCommon:GridHelper.Column0="LightBlue" ctrlCommon:GridHelper.Column1="LightBlue"
- ctrlCommon:GridHelper.Column2="Transparent">
- <StackPanel Grid.Row="0" Grid.Column="2" Orientation="Horizontal">
- <Button Content="Load" Command="{Binding DeviceOperationCommand}"
- CommandParameter="{x:Static common:DeviceOperationName.LoadportLoad}" />
- <Button Content="Unload" Command="{Binding DeviceOperationCommand}"
- CommandParameter="{x:Static common:DeviceOperationName.LoadportUnload}" />
- </StackPanel>
- <StackPanel Grid.Row="2" Grid.Column="2" Orientation="Horizontal">
- <Button Content="Latch Open" Command="{Binding DeviceOperationCommand}"
- CommandParameter="{x:Static common:DeviceOperationName.LoadportClamp}" />
- <Button Content="Latch Close" Command="{Binding DeviceOperationCommand}"
- CommandParameter="{x:Static common:DeviceOperationName.LoadportUnclamp}" />
- </StackPanel>
- <StackPanel Grid.Row="4" Grid.Column="2" Orientation="Horizontal">
- <Button Content="Pod Up" Command="{Binding DeviceOperationCommand}"
- CommandParameter="{x:Static common:DeviceOperationName.LoadportDock}" />
- <Button Content="Pod Down" Command="{Binding DeviceOperationCommand}"
- CommandParameter="{x:Static common:DeviceOperationName.LoadportUndock}" />
- </StackPanel>
- <StackPanel Grid.Row="3" Grid.Column="2" Orientation="Horizontal">
- <Button Content="Open Door" Command="{Binding DeviceOperationCommand}"
- CommandParameter="{x:Static common:DeviceOperationName.LoadportOpenDoor}" />
- <Button Content="Close Door" Command="{Binding DeviceOperationCommand}"
- CommandParameter="{x:Static common:DeviceOperationName.LoadportCloseDoor}" />
- </StackPanel>
- <StackPanel Grid.Row="5" Grid.Column="2" Orientation="Horizontal">
- <Button Content="Map" Command="{Binding DeviceOperationCommand}"
- CommandParameter="{x:Static common:DeviceOperationName.LoadportMap}" />
- </StackPanel>
- </StackPanel>
- <Grid Grid.Row="1" HorizontalAlignment="left" VerticalAlignment="Top" Width="440" Height="280"
- ctrlCommon:GridHelper.Column0="LightBlue" ctrlCommon:GridHelper.Column1="Transparent">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="*" />
- <RowDefinition Height="*" />
- <RowDefinition Height="*" />
- <RowDefinition Height="*" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <Label Grid.Row="0" Grid.Column="0" Content="Status" />
- <Label Content="{Binding Status}" Grid.Row="0" Grid.Column="1" />
- <Label Grid.Row="1" Grid.Column="0" Content="Cassette Status" />
- <Label Grid.Row="1" Content="{Binding CassetteState}" Grid.Column="1" />
- <Label Grid.Row="2" Grid.Column="0" Content="Clamp Status" />
- <Label Content="{Binding ClampStatus}" Grid.Row="2" Grid.Column="1" />
- <Label Grid.Row="3" Grid.Column="0" Content="Door Status" />
- <Label Content="{Binding FoupDoorStatus}" Grid.Row="3" Grid.Column="1" />
- <StackPanel Orientation="Horizontal" Grid.Row="4" Grid.ColumnSpan="2">
- <Button Content="Home" Command="{Binding DeviceOperationCommand}"
- CommandParameter="{x:Static common:DeviceOperationName.LoadporHome}" />
- <Button Content="Reset" Command="{Binding DeviceOperationCommand}"
- CommandParameter="{x:Static common:DeviceOperationName.LoadportReset}" />
- <Button Content="Stop" Command="{Binding DeviceOperationCommand}"
- CommandParameter="{x:Static common:DeviceOperationName.LoadportStop}" />
- </StackPanel>
- </Grid>
- </Grid>
- </UserControl>
|