123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260 |
- <UserControl x:Class="FurnaceUI.Views.Operations.BoatModifyView"
- 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:FurnaceUI.Views.Operations"
- xmlns:parts="clr-namespace:FurnaceUI.Controls.Parts"
- xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
- xmlns:cal="http://www.caliburn.org"
- xmlns:ctrl="http://OpenSEMI.Ctrlib.com/presentation"
- xmlns:sys="clr-namespace:System;assembly=mscorlib"
- mc:Ignorable="d"
- Height="768" Width="1024">
- <UserControl.Resources>
- <Style BasedOn="{StaticResource ExScrollViewer}" TargetType="ScrollViewer"/>
- <Style BasedOn="{StaticResource ExScrollBar}" TargetType="ScrollBar"/>
- <Style x:Key="BoatMapTextBlock" TargetType="TextBlock">
- <Setter Property="FontSize" Value="16"/>
- <Setter Property="Padding" Value="5"/>
- </Style>
- </UserControl.Resources>
- <Grid Margin="5">
- <Grid.RowDefinitions>
- <RowDefinition Height="auto"></RowDefinition>
- <RowDefinition Height="*"></RowDefinition>
- </Grid.RowDefinitions>
- <Border Background="#DAE5F1">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="300"></ColumnDefinition>
- <ColumnDefinition></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <Border>
- <Canvas >
- <parts:BoatElevatorMap BoatWafers="{Binding BoatMapWafers,UpdateSourceTrigger=PropertyChanged}" Canvas.Top="-60" Canvas.Left="100" Height="500" Width="158">
- </parts:BoatElevatorMap>
- <Border BorderBrush="LightGray" BorderThickness="2,2,0,0" Canvas.Left="10" Canvas.Top="48" SnapsToDevicePixels="True" Visibility="{Binding IstBoatMapLogicalVisibility}">
- <Border BorderBrush="LightGray" BorderThickness="0,0,2,2" Background="#A1C9F5" SnapsToDevicePixels="True" >
- <Grid Width="92" Height="500" Margin="4">
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition Height="3"/>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition Height="3"/>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition Height="3"/>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition Height="3"/>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <TextBlock Text="SD" Style="{StaticResource BoatMapTextBlock}" />
- <WrapPanel Grid.Row="1">
- <TextBlock Style="{StaticResource BoatMapTextBlock}" >
- <Run Text="{Binding UpperSDNum,UpdateSourceTrigger=PropertyChanged}"></Run>
- <Run Text="(Num)"></Run>
- </TextBlock>
- </WrapPanel>
- <Line Grid.Row="2" X1="-4" Y1="0" X2="96" Y2="0" Margin="0,0,-4,0" StrokeThickness="2" Stroke="LightGray"/>
- <TextBlock Grid.Row="3" Text="P" Style="{StaticResource BoatMapTextBlock}" />
- <WrapPanel Grid.Row="4">
- <TextBlock Style="{StaticResource BoatMapTextBlock}" >
- <Run Text="{Binding ProductNum,UpdateSourceTrigger=PropertyChanged}"></Run>
- <Run Text="(Num)"></Run>
- </TextBlock>
- </WrapPanel>
- <Line Grid.Row="5" X1="-4" Y1="0" X2="96" Y2="0" Margin="0,0,-4,0" StrokeThickness="2" Stroke="LightGray"/>
- <TextBlock Grid.Row="6" Text="M1" Style="{StaticResource BoatMapTextBlock}" />
- <WrapPanel Grid.Row="7">
- <TextBlock Style="{StaticResource BoatMapTextBlock}" >
- <Run Text="{Binding MonitorNum1,UpdateSourceTrigger=PropertyChanged}"></Run>
- <Run Text="(Num)"></Run>
- </TextBlock>
- </WrapPanel>
- <Line Grid.Row="8" X1="-4" Y1="0" X2="96" Y2="0" Margin="0,0,-4,0" StrokeThickness="2" Stroke="LightGray"/>
- <TextBlock Grid.Row="9" Text="M2" Style="{StaticResource BoatMapTextBlock}" />
- <WrapPanel Grid.Row="10">
- <TextBlock Style="{StaticResource BoatMapTextBlock}" >
- <Run Text="{Binding MonitorNum2,UpdateSourceTrigger=PropertyChanged}"></Run>
- <Run Text="(Num)"></Run>
- </TextBlock>
- </WrapPanel>
- <Line Grid.Row="11" X1="-4" Y1="0" X2="96" Y2="0" Margin="0,0,-4,0" StrokeThickness="2" Stroke="LightGray"/>
- <TextBlock Grid.Row="12" Text="ED" Style="{StaticResource BoatMapTextBlock}" />
- <WrapPanel Grid.Row="13">
- <TextBlock Style="{StaticResource BoatMapTextBlock}" >
- <Run Text="{Binding LowerSDNum,UpdateSourceTrigger=PropertyChanged}"></Run>
- <Run Text="(Num)"></Run>
- </TextBlock>
- </WrapPanel>
- </Grid>
- </Border>
- </Border>
- </Canvas>
- </Border>
- <Border Grid.Column="1">
- <ListView Height="583" IsEnabled="{ Binding IsPermission}" HorizontalContentAlignment="Stretch" ItemsSource="{Binding BoatWaferInfoItems}">
- <ListView.View>
- <GridView>
- <GridView.Columns>
- <GridViewColumn Width="100" Header="Slot">
- <GridViewColumn.CellTemplate>
- <DataTemplate>
- <Border HorizontalAlignment="Center" Margin="-8,0,-5,0" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,0,0">
- <TextBlock Width="100" TextWrapping="Wrap" Text="{Binding SlotID, Mode=TwoWay}" HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center"/>
- </Border>
- </DataTemplate>
- </GridViewColumn.CellTemplate>
- </GridViewColumn>
- <GridViewColumn Width="150" Header="Wafer Info">
- <GridViewColumn.CellTemplate>
- <DataTemplate>
- <Border HorizontalAlignment="Center" Margin="-8,0,-5,0" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,0,0">
- <ctrl:Slot Width="150" ViewType="Front" WaferStatus="{Binding WaferStatus}" SlotID="{Binding SlotID}" ModuleID="{Binding ModuleID}" SourceName="{Binding SourceName}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,2,0,0"/>
- </Border>
- </DataTemplate>
- </GridViewColumn.CellTemplate>
- </GridViewColumn>
- <GridViewColumn Width="100" Header="Wafer Type">
- <GridViewColumn.CellTemplate>
- <DataTemplate>
- <Border HorizontalAlignment="Center" Margin="-8,0,-5,0" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,0,0">
- <TextBlock Width="100" TextWrapping="Wrap" Text="{Binding WaferType, Mode=TwoWay}" HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center"/>
- </Border>
- </DataTemplate>
- </GridViewColumn.CellTemplate>
- </GridViewColumn>
- <GridViewColumn Width="100" Header="Use Count">
- <GridViewColumn.CellTemplate>
- <DataTemplate>
- <Border HorizontalAlignment="Center" Margin="-8,0,-5,0" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,0,0">
- <TextBlock Width="100" TextWrapping="Wrap" Text="{Binding UseCount, Mode=TwoWay}" HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center"/>
- </Border>
- </DataTemplate>
- </GridViewColumn.CellTemplate>
- </GridViewColumn>
- <GridViewColumn Width="100" Header="Use Time">
- <GridViewColumn.CellTemplate>
- <DataTemplate>
- <Border HorizontalAlignment="Center" Margin="-8,0,-5,0" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,0,0">
- <TextBlock Width="100" TextWrapping="Wrap" Text="{Binding UseTime, Mode=TwoWay}" HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center"/>
- </Border>
- </DataTemplate>
- </GridViewColumn.CellTemplate>
- </GridViewColumn>
- <GridViewColumn Width="100" Header="Use Thick">
- <GridViewColumn.CellTemplate>
- <DataTemplate>
- <Border HorizontalAlignment="Center" Margin="-8,0,-5,0" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,0,0">
- <TextBlock Width="100" TextWrapping="Wrap" Text="{Binding UseThick, Mode=TwoWay}" HorizontalAlignment="Center" VerticalAlignment="Center" TextAlignment="Center"/>
- </Border>
- </DataTemplate>
- </GridViewColumn.CellTemplate>
- </GridViewColumn>
- </GridView.Columns>
- </GridView>
- </ListView.View>
- </ListView>
- </Border>
- </Grid>
- </Border>
- <Border Grid.Row="1" >
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="20"></RowDefinition>
- <RowDefinition Height="50"></RowDefinition>
- <RowDefinition Height="50"></RowDefinition>
- <RowDefinition ></RowDefinition>
- </Grid.RowDefinitions>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Column="0" Grid.ColumnSpan="2" Padding="5,1">
- <TextBlock Text="Wafer" TextWrapping="Wrap" TextAlignment="Center" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center"/>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" IsEnabled="{Binding IsEnableA}" Grid.Row="1" Grid.ColumnSpan="2" Padding="2,1,1,1" RenderTransformOrigin="0.492,0.581">
- <UniformGrid Columns="5" Rows="1" Margin="0,5,0,5" >
- <RadioButton Content="SD" GroupName="WaferType" IsChecked="{Binding SDIsChecked}" Width="80"/>
- <RadioButton Content="ED" GroupName="WaferType" IsChecked="{Binding EDIsChecked}" Width="80"/>
- <RadioButton Content="P" GroupName="WaferType" IsChecked="{Binding PIsChecked}" Width="80"/>
- <RadioButton Content="M1" GroupName="WaferType" IsChecked="{Binding M1IsChecked}" Width="80"/>
- <RadioButton Content="M2" GroupName="WaferType" IsChecked="{Binding M2IsChecked}" Width="80"/>
- </UniformGrid>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.ColumnSpan="2" Padding="2,1,1,1">
- <UniformGrid Columns="2" Rows="1" >
- <StackPanel Orientation="Horizontal" Margin="7,0">
- <!--<TextBlock Text="Boat Slot" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" Margin="27,5,0,0"/>-->
- <Label Content="From" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" Width="80" HorizontalContentAlignment="Center" VerticalAlignment="Center" Margin="0,5,0,0"/>
- <TextBox TextChanged="Slot_TextChanged" BorderThickness="1" Text="{Binding BoatSlotFrom,TargetNullValue={x:Static sys:String.Empty},UpdateSourceTrigger=PropertyChanged,Mode=TwoWay}" Width="120" Margin="5,2" Tag="Number"/>
- <Label Content="To" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" Width="80" HorizontalContentAlignment="Center" VerticalAlignment="Center" Margin="0,5,0,0"/>
- <TextBox TextChanged="Slot_TextChanged" BorderThickness="1" Text="{Binding BoatSlotTo,TargetNullValue={x:Static sys:String.Empty},UpdateSourceTrigger=PropertyChanged,Mode=TwoWay}" Width="120" Margin="5,2" Tag="Number"/>
- </StackPanel>
- <StackPanel Orientation="Horizontal" >
- <TextBlock Text="Origin Module" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" Margin="5,5,0,0"/>
- <ComboBox ItemsSource="{Binding OriginModuleItems}" SelectedItem="{Binding OriginSelectModule,UpdateSourceTrigger=PropertyChanged,Mode=TwoWay}" Width="120" Margin="5,2"/>
- <TextBlock Text="Origin Slot" Foreground="{DynamicResource FG_Black}" FontSize="12" FontFamily="Arial" VerticalAlignment="Center" Margin="25,5,0,0"/>
- <TextBox Text="{Binding OriginSlot,TargetNullValue={x:Static sys:String.Empty},UpdateSourceTrigger=PropertyChanged,Mode=TwoWay}" Width="120" Margin="5,2" Tag="Number"/>
- </StackPanel>
- </UniformGrid>
- </Border>
- <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.ColumnSpan="2" Padding="5">
- <UniformGrid Columns="3" Rows="1" >
- <Button Content="Create Wafer" Width="120" Height="50" Margin="85,0,0,0" IsEnabled="{Binding IsEnableWaferManualOperation}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="CreateWafer"></cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Delete Wafer" Width="120" Height="50" Margin="90,0,0,0" IsEnabled="{Binding IsEnableWaferManualOperation}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="DeleteWafer"></cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Close" Width="120" Height="50" Style="{StaticResource CommandButton}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="CassetteClose"></cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </UniformGrid>
- </Border>
- </Grid>
- </Border>
- </Grid>
- </UserControl>
|