1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <UserControl x:Class="Aitex.Sorter.UI.Views.Maintenance.AlignerView"
- 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.Views"
- mc:Ignorable="d"
- xmlns:uc="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"
- d:DesignHeight="800" d:DesignWidth="1800">
- <UserControl.Resources>
- <Style TargetType="Label" BasedOn="{StaticResource {x:Type Label}}">
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="HorizontalAlignment" Value="Center" />
- </Style>
- </UserControl.Resources>
- <Grid x:Name="root">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <uc:HeaderPanel Grid.Column="1" Grid.Row="1" Width="530" Height="540" HorizontalAlignment="Center" VerticalAlignment="Center" Header="Aligner" Margin="10,0,0,0">
- <Grid 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="*" />
- <RowDefinition Height="*" />
- <RowDefinition Height="*" />
- <RowDefinition Height="*" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <Label Grid.Row="0" Grid.Column="0" Content="Is Initialized" />
- <ctrlCommon:LED On="{Binding AlignerInitialized}" Grid.Row="0" Grid.Column="1" />
- <Label Grid.Row="1" Grid.Column="0" Content="Is Busy"/>
- <ctrlCommon:LED On="{Binding AlignerIsBusy}" Grid.Row="1" Grid.Column="1" />
- <Label Grid.Row="2" Grid.Column="0" Content="Is Error" />
- <ctrlCommon:LED On="{Binding AlignerIsError}" Grid.Row="2" Grid.Column="1" />
- <Label Grid.Row="3" Grid.Column="0" Content="Elapse Time" />
- <Label Content="{Binding ElapseTime}" HorizontalAlignment="Center" Grid.Row="3" Grid.Column="1" />
- <Label Grid.Row="4" Grid.Column="0" Content="Notch" />
- <Label Content="{Binding Notch}" HorizontalAlignment="Center" Grid.Row="4" Grid.Column="1" />
- <Label Grid.Row="5" Grid.Column="0" Content="Is Wafer On Grip" />
- <ctrlCommon:LED On="false" Grid.Row="5" Grid.Column="1" />
- <Label Grid.Row="6" Grid.Column="0" Content="Is Wafer On CCD" />
- <ctrlCommon:LED On="false" Grid.Row="6" Grid.Column="1" />
- <TextBox Grid.Row="7" Grid.Column="0" Margin="8" Height="30" x:Name="txtAlignAngle" />
- <Button Grid.Row="7" Grid.Column="1" Content="Align" Command="{Binding Command}" ctrlCommon:CommandHelper.CommandName="{x:Static Common:DeviceOperationName.AlignerAlign}" ctrlCommon:CommandHelper.Target="{x:Static Common:DeviceName.Aligner}" ctrlCommon:CommandHelper.Parameter1="{Binding Text, ElementName=txtAlignAngle}"/>
-
- <StackPanel Orientation="Horizontal" Grid.Row="8" Grid.ColumnSpan="2">
- <Button Content="Home" Command="{Binding Command}" ctrlCommon:CommandHelper.CommandName="{x:Static Common:DeviceOperationName.AlignerHome}" ctrlCommon:CommandHelper.Target="{x:Static Common:DeviceName.Aligner}" />
- <Button Content="Reset" Command="{Binding Command}" ctrlCommon:CommandHelper.CommandName="{x:Static Common:DeviceOperationName.AlignerReset}" ctrlCommon:CommandHelper.Target="{x:Static Common:DeviceName.Aligner}" />
- <Button Content="Stop" Command="{Binding Command}" ctrlCommon:CommandHelper.CommandName="{x:Static Common:DeviceOperationName.AlignerStop}" ctrlCommon:CommandHelper.Target="{x:Static Common:DeviceName.Aligner}"/>
- </StackPanel>
- </Grid>
- </uc:HeaderPanel>
- </Grid>
- </UserControl>
|