| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 | 
							- <UserControl x:Class="FurnaceUI.Views.Maintenances.WaferRobotView"
 
-              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:ctrl="http://OpenSEMI.Ctrlib.com/presentation"
 
-              xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
 
-              xmlns:cal="http://www.caliburn.org"
 
-              xmlns:deviceControl="clr-namespace:Aitex.Core.UI.DeviceControl;assembly=MECF.Framework.UI.Core"
 
-              xmlns:local="clr-namespace:FurnaceUI.Views.Maintenances"
 
-              mc:Ignorable="d" 
 
-              d:DesignHeight="600" d:DesignWidth="900" x:Name="self">
 
-     <UserControl.Resources>
 
-         <DataTemplate  x:Key="IndexTemplate">
 
-             <Label Content="{Binding Index}"  Width="30" Height="36" VerticalAlignment="Center" HorizontalAlignment="Left"></Label>
 
-         </DataTemplate>
 
-         <DataTemplate  x:Key="NameTemplate">
 
-             <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,0">
 
-                 <Label Content="{Binding DisplayName}"  Width="350" Height="36" VerticalAlignment="Center" HorizontalAlignment="Left"></Label>
 
-             </Border>
 
-         </DataTemplate>
 
-         <DataTemplate  x:Key="ValueTemplate">
 
-             <deviceControl:AITSensor LightOnValue="{Binding Value}" GreenColor="True"  Width="100" Height="36" VerticalAlignment="Center" HorizontalAlignment="Center">
 
-             </deviceControl:AITSensor>
 
-         </DataTemplate>
 
-     </UserControl.Resources>
 
-     <Grid Margin="10,0,10,0" IsEnabled="{Binding IsPermission}">
 
-         <Grid.RowDefinitions>
 
-             <RowDefinition Height="Auto"/>
 
-             <RowDefinition Height="Auto"/>
 
-             <RowDefinition Height="50"/>
 
-         </Grid.RowDefinitions>
 
-         <Grid.ColumnDefinitions>
 
-             <ColumnDefinition Width="350"/>
 
-             <ColumnDefinition Width="300"/>
 
-             <ColumnDefinition Width="*"/>
 
-         </Grid.ColumnDefinitions>
 
-         <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="0" Grid.Column="0"  Padding="5,1">
 
-             <TextBlock Text="Status" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center" HorizontalAlignment="Center"/>
 
-         </Border>
 
-         <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="0" Grid.Column="1" Padding="5,1">
 
-             <TextBlock Text="{Binding WaferRobotStatus}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center" HorizontalAlignment="Center"/>
 
-         </Border>
 
-         <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="0" Grid.Column="2" Padding="5,1">
 
-             <StackPanel Orientation="Vertical">
 
-                 <Button Content="Initialize" Width="150" Height="40" Margin="0,10,0,10" FontSize="13" IsEnabled="{Binding IsSelectButtonEnable}" >
 
-                     <i:Interaction.Triggers>
 
-                         <i:EventTrigger EventName="Click">
 
-                             <cal:ActionMessage MethodName="Home">
 
-                             </cal:ActionMessage>
 
-                         </i:EventTrigger>
 
-                     </i:Interaction.Triggers>
 
-                 </Button>
 
-                 <Button Content="Online" Width="150" Height="40" Margin="0,10,0,10" FontSize="13"  IsEnabled="{Binding IsWaferRobotOnlineButtonEnable}" >
 
-                     <i:Interaction.Triggers>
 
-                         <i:EventTrigger EventName="Click">
 
-                             <cal:ActionMessage MethodName="SetOnline">
 
-                                 <cal:Parameter Value="WaferRobot"/>
 
-                             </cal:ActionMessage>
 
-                         </i:EventTrigger>
 
-                     </i:Interaction.Triggers>
 
-                 </Button>
 
-                 <Button Content="Offline" Width="150" Height="40" Margin="0,10,0,10" FontSize="13"  IsEnabled="{Binding IsWaferRobotOfflineButtonEnable}" >
 
-                     <i:Interaction.Triggers>
 
-                         <i:EventTrigger EventName="Click">
 
-                             <cal:ActionMessage MethodName="SetOffline">
 
-                                 <cal:Parameter Value="WaferRobot"/>
 
-                             </cal:ActionMessage>
 
-                         </i:EventTrigger>
 
-                     </i:Interaction.Triggers>
 
-                 </Button>
 
-             </StackPanel>
 
-         </Border>
 
-         <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.ColumnSpan="3" Padding="5" Margin="0,5,0,5">
 
-             <StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Center">
 
-                 <StackPanel Orientation="Horizontal" Height="50">
 
-                     <ComboBox Margin="0,0,3,0" Height="45" Width="260" ItemsSource="{Binding ModulesTMRobot}"  SelectedItem="{Binding PickSelectedModuleTMRobot}" />
 
-                     <ComboBox Margin="3,0,3,0" Height="45" Width="200" ItemsSource="{Binding PickSlotsTMRobot}"  SelectedItem="{Binding PickSelectedSlotTMRobot}"   />
 
-                     <ComboBox Margin="3,0,3,0" Height="45" Width="200" ItemsSource="{Binding BladesTMRobot}"  SelectedItem="{Binding PickSelectedBladeTMRobot}"   />
 
-                     <Button Content="Pick" Width="100"  Height="40" Margin="3,0,0,0" IsEnabled="{Binding IsSelectButtonEnable}">
 
-                         <i:Interaction.Triggers>
 
-                             <i:EventTrigger EventName="Click">
 
-                                 <cal:ActionMessage MethodName="TMRobot_Pick"/>
 
-                             </i:EventTrigger>
 
-                         </i:Interaction.Triggers>
 
-                     </Button>
 
-                 </StackPanel>
 
-                 <StackPanel Orientation="Horizontal" Height="50">
 
-                     <ComboBox Margin="0,0,3,0" Height="45" Width="260" ItemsSource="{Binding ModulesTMRobot}"  SelectedItem="{Binding PlaceSelectedModuleTMRobot}" />
 
-                     <ComboBox Margin="3,0,3,0" Height="45" Width="200" ItemsSource="{Binding PlaceSlotsTMRobot}"  SelectedItem="{Binding PlaceSelectedSlotTMRobot}"   />
 
-                     <ComboBox Margin="3,0,3,0" Height="45" Width="200" ItemsSource="{Binding BladesTMRobot}"  SelectedItem="{Binding PlaceSelectedBladeTMRobot}"   />
 
-                     <Button Content="Place" Width="100"  Height="40" Margin="3,0,0,0" IsEnabled="{Binding IsSelectButtonEnable}">
 
-                         <i:Interaction.Triggers>
 
-                             <i:EventTrigger EventName="Click">
 
-                                 <cal:ActionMessage MethodName="TMRobot_Place"/>
 
-                             </i:EventTrigger>
 
-                         </i:Interaction.Triggers>
 
-                     </Button>
 
-                 </StackPanel>
 
-                 <StackPanel Orientation="Horizontal" Height="50">
 
-                     <ComboBox Margin="0,0,3,0" Height="45" Width="260" ItemsSource="{Binding ModulesTMRobot}"  SelectedItem="{Binding MappingSelectedModuleTMRobot}" />
 
-                     <Button Content="Mapping" Width="100"  Height="40" Margin="3,0,0,0" IsEnabled="{Binding IsSelectButtonEnable}">
 
-                         <i:Interaction.Triggers>
 
-                             <i:EventTrigger EventName="Click">
 
-                                 <cal:ActionMessage MethodName="TMRobot_Mapping"/>
 
-                             </i:EventTrigger>
 
-                         </i:Interaction.Triggers>
 
-                     </Button>
 
-                 </StackPanel>
 
-                 <StackPanel Orientation="Horizontal" Height="50">
 
-                     <TextBlock Text="From" VerticalAlignment="Center" Padding="3"/>
 
-                     <ComboBox Margin="0,0,3,0" Height="45" Width="260" ItemsSource="{Binding ModulesTMRobot}"  SelectedItem="{Binding SwapFromSelectedModuleTMRobot}" />
 
-                     <ComboBox Margin="0,0,3,0" Height="45" Width="235" ItemsSource="{Binding SwapFromSlotsTMRobot}"  SelectedItem="{Binding SwapFromSelectedSlotTMRobot}" />
 
-                     <ComboBox Margin="3,0,3,0" Height="45" Width="235" ItemsSource="{Binding BladesTMRobot}"  SelectedItem="{Binding SwapSelectedBladeTMRobot}"   />
 
-                 </StackPanel>
 
-                 <StackPanel Orientation="Horizontal" Height="50">
 
-                     <TextBlock Text="To    " VerticalAlignment="Center" Padding="3"/>
 
-                     <ComboBox Margin="0,0,3,0" Height="45" Width="260" ItemsSource="{Binding ModulesTMRobot}"  SelectedItem="{Binding SwapToSelectedModuleTMRobot}" />
 
-                     <ComboBox Margin="0,0,3,0" Height="45" Width="235" ItemsSource="{Binding SwapToSlotsTMRobot}"  SelectedItem="{Binding SwapToSelectedSlotTMRobot}" />
 
-                     <Button Content="Swap" Width="100"  Height="40" Margin="3,0,0,0" IsEnabled="{Binding IsSelectButtonEnable}">
 
-                         <i:Interaction.Triggers>
 
-                             <i:EventTrigger EventName="Click">
 
-                                 <cal:ActionMessage MethodName="WaferRobot_Swap"/>
 
-                             </i:EventTrigger>
 
-                         </i:Interaction.Triggers>
 
-                     </Button>
 
-                 </StackPanel>
 
-             </StackPanel>
 
-         </Border>
 
-         <DockPanel Grid.Row="2" Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,0,5">
 
-             <Border>
 
-                 <Button Content="Close"  Style="{StaticResource CommandButton}" Margin="0,0,20,0" Width="120" Height="40">
 
-                     <i:Interaction.Triggers>
 
-                         <i:EventTrigger EventName="Click">
 
-                             <cal:ActionMessage MethodName="ClosedCmd">
 
-                             </cal:ActionMessage>
 
-                         </i:EventTrigger>
 
-                     </i:Interaction.Triggers>
 
-                 </Button>
 
-             </Border>
 
-         </DockPanel>
 
-     </Grid>
 
- </UserControl>
 
 
  |