1234567891011121314151617181920212223242526272829303132 |
- <UserControl x:Class="Aitex.Sorter.UI.Controls.RfidReaderControl"
- 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:style="clr-namespace:MECF.Framework.UI.Core.Style;assembly=MECF.Framework.UI.Core"
- xmlns:common="clr-namespace:Aitex.Sorter.UI.Controls.Common"
- xmlns:Common="clr-namespace:Aitex.Sorter.Common;assembly=Aitex.Sorter.Common"
- mc:Ignorable="d"
- d:DesignHeight="300" d:DesignWidth="300">
- <Grid x:Name="root" style:GridHelper.Column0="LightBlue" style:GridHelper.Column1="Transparent">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="250" />
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="*" />
- <RowDefinition Height="*" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <Label Grid.Row="0" Grid.Column="0" Content="Status" Margin="18,6,17,6" />
- <Label Content="{Binding RfidStatus}" Grid.Row="0" Grid.Column="1" />
- <TextBox Text="{Binding ID}" Grid.Row="1" Grid.Column="0" Margin="8,8,8,2" IsReadOnly="True" />
- <Button Grid.Row="1" Grid.Column="1" Content="Read" Command="{Binding RFReaderCommand}" common:CommandHelper.CommandName="{x:Static Common:OperationName.Scan}" Margin="25,5,24,0" />
- <TextBox x:Name="txtFoupBID" Margin="8,8,8,2" Grid.Row="2" Grid.Column="0" />
- <Button Content="Write" Grid.Row="2" Grid.Column="1" Command="{Binding RFReaderCommand}" common:CommandHelper.CommandName="{x:Static Common:OperationName.Write}" common:CommandHelper.Parameter1="{Binding Text, ElementName=txtFoupBID}" Margin="25,5,24,0" />
- </Grid>
- </UserControl>
|