12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <UserControl x:Class="Aitex.Sorter.UI.Views.Maintenance.AlignerNoHomeView"
- 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" IsEnabled="{Binding EnablePageControl}">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <uc:HeaderPanel Width="530" Height="300" 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="35" />
- <RowDefinition Height="35" />
- <RowDefinition Height="35" />
- <RowDefinition Height="50" />
- <RowDefinition Height="50" />
- <RowDefinition Height="50" />
- </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="0" Grid.Column="0" Content="Is Busy"/>
- <ctrlCommon:LED On="{Binding AlignerIsBusy}" Grid.Row="0" Grid.Column="1" />
- <Label Grid.Row="1" Grid.Column="0" Content="Is Error" />
- <ctrlCommon:LED On="{Binding AlignerIsError}" Grid.Row="1" Grid.Column="1" />
- <Label Grid.Row="2" Grid.Column="0" Content="Is Wafer On" />
- <ctrlCommon:LED On="{Binding WaferOnAligner}" Grid.Row="2" Grid.Column="1" />
- <TextBox Grid.Row="3" Grid.Column="0" Margin="8" Height="30" x:Name="txtAlignAngle" />
- <Button Grid.Row="3" Grid.Column="1" Content="Align" Command="{Binding Command}" ctrlCommon:CommandHelper.CommandName="Align" ctrlCommon:CommandHelper.Target="{x:Static Common:DeviceName.Aligner}" ctrlCommon:CommandHelper.Parameter1="{Binding Text, ElementName=txtAlignAngle}"/>
-
- <StackPanel Orientation="Horizontal" Grid.Row="4" Grid.ColumnSpan="2">
- <Button Content="Init" Command="{Binding Command}" ctrlCommon:CommandHelper.CommandName="Init" ctrlCommon:CommandHelper.Target="{x:Static Common:DeviceName.Aligner}" />
- <Button Content="Reset" Command="{Binding Command}" ctrlCommon:CommandHelper.CommandName="Reset" ctrlCommon:CommandHelper.Target="{x:Static Common:DeviceName.Aligner}" />
- <Button Content="Stop" Command="{Binding Command}" ctrlCommon:CommandHelper.CommandName="Stop" ctrlCommon:CommandHelper.Target="{x:Static Common:DeviceName.Aligner}"/>
- </StackPanel>
- <StackPanel Orientation="Horizontal" Grid.Row="5" Grid.ColumnSpan="2">
- <Button Content="Lift Up" Command="{Binding Command}" ctrlCommon:CommandHelper.CommandName="LiftUp" ctrlCommon:CommandHelper.Target="{x:Static Common:DeviceName.Aligner}" />
- <Button Content="Lift Down" Command="{Binding Command}" ctrlCommon:CommandHelper.CommandName="LiftDown" ctrlCommon:CommandHelper.Target="{x:Static Common:DeviceName.Aligner}" />
- </StackPanel>
- </Grid>
- </uc:HeaderPanel>
- </Grid>
- </UserControl>
|