123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- <UserControl x:Class="Aitex.Sorter.UI.Views.Maintenance.LoadPortView"
- 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.Maintenance"
- xmlns:uc="clr-namespace:Aitex.Sorter.UI.Controls"
- xmlns:Common="clr-namespace:Aitex.Sorter.Common;assembly=MECF.Framework.Common"
- xmlns:ctrlCommon="clr-namespace:Aitex.Sorter.UI.Controls.Common"
- xmlns:equipment="clr-namespace:MECF.Framework.Common.Equipment;assembly=MECF.Framework.Common"
- xmlns:common="clr-namespace:Aitex.Sorter.Common;assembly=Aitex.Sorter.Common"
- mc:Ignorable="d"
- d:DesignHeight="800" d:DesignWidth="1820">
- <UserControl.Resources>
- <Style TargetType="Label" BasedOn="{StaticResource {x:Type Label}}">
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="HorizontalAlignment" Value="Center" />
- </Style>
- </UserControl.Resources>
- <Grid>
- <uc:HeaderPanel Grid.Column="0" HorizontalAlignment="left" VerticalAlignment="Top" Width="800" Header="LoadPort 1" Margin="10,10,0,0">
- <uc:LPStatus x:Name="lp1"
- Present="{Binding LPAIndicatiorPresence, Converter={StaticResource valueMatchConverter}, ConverterParameter={x:Static Common:IndicatorState.ON}}"
- Placed="{Binding LPAIndicatiorPlacement, Converter={StaticResource valueMatchConverter}, ConverterParameter={x:Static Common:IndicatorState.ON}}"
- ClampStatus="{Binding LPAClampState}"
- FoupDoorStatus="{Binding LPADoorState}"
- Status="{Binding LPAStatus}"
- CassetteState="{Binding LPACassetteState}"
- LoadPortLoaded="{Binding LPAIndicatiorLoad, Converter={StaticResource valueMatchConverter}, ConverterParameter={x:Static Common:IndicatorState.ON}}"
- LoadPortUnloaded="{Binding LPAIndicatiorUnload, Converter={StaticResource valueMatchConverter}, ConverterParameter={x:Static Common:IndicatorState.ON}}"
- IsAlarm="{Binding LPAIndicatorAlarm, Converter={StaticResource valueMatchConverter}, ConverterParameter={x:Static Common:IndicatorState.ON}}"
- Station="{Binding Source={x:Static equipment:ModuleName.LP1}}"
- RoutManagerState="{Binding RoutManagerState}"
- IsAutoMode="{Binding IndicatiorAccessAuto}"
- IsManualMode="{Binding IndicatiorAccessManual}" />
- </uc:HeaderPanel>
- <uc:HeaderPanel Grid.Column="0" HorizontalAlignment="left" VerticalAlignment="Top" Width="800" Header="LoadPort 2" Margin="10,404,0,0">
- <uc:LPStatus x:Name="lp2"
- Present="{Binding LPBIndicatiorPresence, Converter={StaticResource valueMatchConverter}, ConverterParameter={x:Static Common:IndicatorState.ON}}"
- Placed="{Binding LPBIndicatiorPlacement, Converter={StaticResource valueMatchConverter}, ConverterParameter={x:Static Common:IndicatorState.ON}}"
- ClampStatus="{Binding LPBClampState}"
- FoupDoorStatus="{Binding LPBDoorState}"
- Status="{Binding LPBStatus}"
- CassetteState="{Binding LPBCassetteState}"
- LoadPortLoaded="{Binding LPBIndicatiorLoad, Converter={StaticResource valueMatchConverter}, ConverterParameter={x:Static Common:IndicatorState.ON}}"
- LoadPortUnloaded="{Binding LPBIndicatiorUnload, Converter={StaticResource valueMatchConverter}, ConverterParameter={x:Static Common:IndicatorState.ON}}"
- IsAlarm="{Binding LPBIndicatorAlarm, Converter={StaticResource valueMatchConverter}, ConverterParameter={x:Static Common:IndicatorState.ON}}"
- Station="{Binding Source={x:Static equipment:ModuleName.LP2}}"
- RoutManagerState="{Binding RoutManagerState}"
- IsAutoMode="{Binding IsAutoMode}"
- >
- </uc:LPStatus>
- </uc:HeaderPanel>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="725" />
- <RowDefinition Height="*" />
- </Grid.RowDefinitions>
- <uc:HeaderPanel Grid.Column="0" Width="450" Height="200" HorizontalAlignment="Center" VerticalAlignment="Top" Header="RFID Reader 1" Margin="967,10,513,0">
- <Grid ctrlCommon:GridHelper.Column0="LightBlue" ctrlCommon: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 RFIDReader1Status}" Grid.Row="0" Grid.Column="1" />
- <TextBox Text="{Binding FoupAID}" Grid.Row="1" Grid.Column="0" Margin="8,8,8,2" IsReadOnly="True" />
- <Button Grid.Row="1" Grid.Column="1" Content="Read" Command="{Binding Command}" ctrlCommon:CommandHelper.CommandName="{x:Static common:DeviceOperationName.ReadRFID}" ctrlCommon:CommandHelper.Target="{x:Static common:DeviceName.RFIDReaderA}" Margin="25,5,24,0" />
- <TextBox x:Name="txtFoupAID" Margin="8,8,8,2" Grid.Row="2" Grid.Column="0" />
- <Button Content="Write" Grid.Row="2" Grid.Column="1" Command="{Binding Command}" ctrlCommon:CommandHelper.CommandName="{x:Static common:DeviceOperationName.WriteRFID}" ctrlCommon:CommandHelper.Target="{x:Static common:DeviceName.RFIDReaderA}" ctrlCommon:CommandHelper.Parameter1="{Binding Text, ElementName=txtFoupAID}" Margin="25,5,24,0" />
- </Grid>
- </uc:HeaderPanel>
- <uc:HeaderPanel Grid.Column="0" Width="450" Height="200" HorizontalAlignment="Center" VerticalAlignment="Top" Header="RFID Reader 2" Margin="967,404,513,0">
- <Grid ctrlCommon:GridHelper.Column0="LightBlue" ctrlCommon: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 RFIDReader2Status}" Grid.Row="0" Grid.Column="1" />
- <TextBox Text="{Binding FoupBID}" Grid.Row="1" Grid.Column="0" Margin="8,8,8,2" IsReadOnly="True" />
- <Button Grid.Row="1" Grid.Column="1" Content="Read" Command="{Binding Command}" ctrlCommon:CommandHelper.CommandName="{x:Static common:DeviceOperationName.ReadRFID}" ctrlCommon:CommandHelper.Target="{x:Static common:DeviceName.RFIDReaderB}" 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 Command}" ctrlCommon:CommandHelper.CommandName="{x:Static common:DeviceOperationName.WriteRFID}" ctrlCommon:CommandHelper.Target="{x:Static common:DeviceName.RFIDReaderB}" ctrlCommon:CommandHelper.Parameter1="{Binding Text, ElementName=txtFoupBID}" Margin="25,5,24,0" />
- </Grid>
- </uc:HeaderPanel>
- </Grid>
- </Grid>
- </UserControl>
|