|
@@ -9,6 +9,70 @@
|
|
|
xmlns:customControls="clr-namespace:Venus_Themes.CustomControls"
|
|
|
mc:Ignorable="d"
|
|
|
d:DesignHeight="450" d:DesignWidth="800" Name="efem">
|
|
|
+ <VisualStateManager.VisualStateGroups>
|
|
|
+ <VisualStateGroup Name="RobotTActions">
|
|
|
+ <VisualStateGroup.Transitions>
|
|
|
+ <VisualTransition To="Left">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="-210" KeyTime="0:0:1"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualTransition>
|
|
|
+ <VisualTransition To="Right">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="510" KeyTime="0:0:1"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualTransition>
|
|
|
+ <VisualTransition To="Middle">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="130" KeyTime="0:0:1"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualTransition>
|
|
|
+ <VisualTransition To="Origin">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:1"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualTransition>
|
|
|
+ </VisualStateGroup.Transitions>
|
|
|
+
|
|
|
+ <VisualState Name="Left">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="-210" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualState>
|
|
|
+ <VisualState Name="Right">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="510" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualState>
|
|
|
+ <VisualState Name="Middle">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="130" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualState>
|
|
|
+ <VisualState Name="Origin">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualState>
|
|
|
+ </VisualStateGroup>
|
|
|
+
|
|
|
+ </VisualStateManager.VisualStateGroups>
|
|
|
<UserControl.Resources>
|
|
|
<converters:BoolToVisibility2 x:Key="BoolToVisibility2"/>
|
|
|
<Style x:Key="LP1Style">
|
|
@@ -78,37 +142,49 @@
|
|
|
<DataTrigger.EnterActions>
|
|
|
<BeginStoryboard x:Name="toLeft">
|
|
|
<Storyboard>
|
|
|
- <DoubleAnimation Storyboard.TargetProperty="RenderTransform.Children[0].X" To="-200" Duration="0:0:1"/>
|
|
|
+ <DoubleAnimation FillBehavior="HoldEnd" Storyboard.TargetProperty="RenderTransform.Children[0].X" To="-200" Duration="0:0:1"/>
|
|
|
</Storyboard>
|
|
|
</BeginStoryboard>
|
|
|
</DataTrigger.EnterActions>
|
|
|
- <DataTrigger.ExitActions>
|
|
|
+ <!--<DataTrigger.ExitActions>
|
|
|
<RemoveStoryboard BeginStoryboardName="toLeft"/>
|
|
|
- </DataTrigger.ExitActions>
|
|
|
+ </DataTrigger.ExitActions>-->
|
|
|
+ </DataTrigger>
|
|
|
+ <DataTrigger Binding="{Binding ElementName=efem,Path=CurrentRobotPosition}" Value="Middle">
|
|
|
+ <DataTrigger.EnterActions>
|
|
|
+ <BeginStoryboard x:Name="toMiddle">
|
|
|
+ <Storyboard>
|
|
|
+ <DoubleAnimation FillBehavior="HoldEnd" Storyboard.TargetProperty="RenderTransform.Children[0].X" To="100" Duration="0:0:1"/>
|
|
|
+ </Storyboard>
|
|
|
+ </BeginStoryboard>
|
|
|
+ </DataTrigger.EnterActions>
|
|
|
+ <!--<DataTrigger.ExitActions>
|
|
|
+ <RemoveStoryboard BeginStoryboardName="toMiddle"/>
|
|
|
+ </DataTrigger.ExitActions>-->
|
|
|
</DataTrigger>
|
|
|
<DataTrigger Binding="{Binding ElementName=efem,Path=CurrentRobotPosition}" Value="Right">
|
|
|
<DataTrigger.EnterActions>
|
|
|
<BeginStoryboard x:Name="toRight">
|
|
|
<Storyboard>
|
|
|
- <DoubleAnimation Storyboard.TargetProperty="RenderTransform.Children[0].X" To="200" Duration="0:0:1"/>
|
|
|
+ <DoubleAnimation FillBehavior="HoldEnd" Storyboard.TargetProperty="RenderTransform.Children[0].X" To="500" Duration="0:0:1"/>
|
|
|
</Storyboard>
|
|
|
</BeginStoryboard>
|
|
|
</DataTrigger.EnterActions>
|
|
|
- <DataTrigger.ExitActions>
|
|
|
+ <!--<DataTrigger.ExitActions>
|
|
|
<RemoveStoryboard BeginStoryboardName="toRight"/>
|
|
|
- </DataTrigger.ExitActions>
|
|
|
+ </DataTrigger.ExitActions>-->
|
|
|
</DataTrigger>
|
|
|
<DataTrigger Binding="{Binding ElementName=efem,Path=CurrentRobotPosition}" Value="Origin">
|
|
|
<DataTrigger.EnterActions>
|
|
|
<BeginStoryboard x:Name="toOrigin">
|
|
|
<Storyboard>
|
|
|
- <DoubleAnimation Storyboard.TargetProperty="RenderTransform.Children[0].X" To="0" Duration="0:0:1"/>
|
|
|
+ <DoubleAnimation FillBehavior="HoldEnd" Storyboard.TargetProperty="RenderTransform.Children[0].X" To="0" Duration="0:0:1"/>
|
|
|
</Storyboard>
|
|
|
</BeginStoryboard>
|
|
|
</DataTrigger.EnterActions>
|
|
|
- <DataTrigger.ExitActions>
|
|
|
+ <!--<DataTrigger.ExitActions>
|
|
|
<RemoveStoryboard BeginStoryboardName="toOrigin"/>
|
|
|
- </DataTrigger.ExitActions>
|
|
|
+ </DataTrigger.ExitActions>-->
|
|
|
</DataTrigger>
|
|
|
</Style.Triggers>
|
|
|
</Style>
|
|
@@ -130,27 +206,27 @@
|
|
|
</LinearGradientBrush>
|
|
|
</Polygon.Fill>
|
|
|
</Polygon>
|
|
|
- <Canvas Width="500" Height="500" Canvas.Left="510" Canvas.Top="50" Style="{StaticResource PlatformStyle}">
|
|
|
+ <Canvas Width="500" Height="500" Canvas.Left="510" Canvas.Top="50" RenderTransformOrigin="1 1">
|
|
|
<Canvas.RenderTransform>
|
|
|
<TransformGroup>
|
|
|
- <TranslateTransform/>
|
|
|
+ <TranslateTransform x:Name="robotRotateAct"/>
|
|
|
</TransformGroup>
|
|
|
</Canvas.RenderTransform>
|
|
|
- <Ellipse Width="500" Height="500" x:Name="ep1" >
|
|
|
+ <!--<Ellipse Width="500" Height="500" x:Name="ep1" >
|
|
|
<Ellipse.Fill>
|
|
|
<RadialGradientBrush >
|
|
|
<GradientStop Color="#FFFFFFFF" Offset="0" />
|
|
|
<GradientStop Color="Silver" Offset="1" />
|
|
|
</RadialGradientBrush>
|
|
|
</Ellipse.Fill>
|
|
|
- </Ellipse>
|
|
|
+ </Ellipse>-->
|
|
|
|
|
|
- <customControls:GuangChuanRobotControl OriginT="Aligner1" Canvas.Left="-30" Canvas.Top="-140" Width="540" Height="810" RobotTAction="{Binding ElementName=efem,Path=RobotATAction}" RobotXAction="{Binding ElementName=efem,Path=RobotAXAction}" RobotWafer="{Binding ElementName=efem,Path=RobotAWaferInfo}"/>
|
|
|
- <customControls:GuangChuanRobotControl OriginT="PMD" Canvas.Left="-30" Canvas.Top="-140" Width="540" Height="810" RobotTAction="{Binding ElementName=efem,Path=RobotBTAction}" RobotXAction="{Binding ElementName=efem,Path=RobotBXAction}" RobotWafer="{Binding ElementName=efem,Path=RobotBWaferInfo}"/>
|
|
|
+ <customControls:GuangChuanRobotControl OriginT="Aligner1" Canvas.Left="-30" Canvas.Top="-180" Width="540" Height="810" RobotTAction="{Binding ElementName=efem,Path=RobotATAction}" RobotXAction="{Binding ElementName=efem,Path=RobotAXAction}" RobotWafer="{Binding ElementName=efem,Path=RobotAWaferInfo}"/>
|
|
|
+ <customControls:GuangChuanRobotControl OriginT="PMD" Canvas.Left="-30" Canvas.Top="-180" Width="540" Height="810" RobotTAction="{Binding ElementName=efem,Path=RobotBTAction}" RobotXAction="{Binding ElementName=efem,Path=RobotBXAction}" RobotWafer="{Binding ElementName=efem,Path=RobotBWaferInfo}"/>
|
|
|
</Canvas>
|
|
|
|
|
|
|
|
|
- <Viewbox Stretch="Uniform" Width="370" Height="370" Canvas.Left="-10" Canvas.Top="100">
|
|
|
+ <Viewbox Stretch="Uniform" Width="370" Height="370" Canvas.Left="-10" Canvas.Top="60">
|
|
|
|
|
|
<Canvas UseLayoutRounding="False" Width="93.693" Height="112.5" HorizontalAlignment="Left" VerticalAlignment="Top">
|
|
|
<Canvas Width="72.522" Height="72.521" Canvas.Left="10.473" Canvas.Top="28.781">
|
|
@@ -184,37 +260,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
- <local:Loadport Canvas.Left="10" Canvas.Top="610" Width="300" Height="300">
|
|
|
- <local:Loadport.RenderTransform>
|
|
|
- <TransformGroup>
|
|
|
- <TranslateTransform/>
|
|
|
- </TransformGroup>
|
|
|
- </local:Loadport.RenderTransform>
|
|
|
- </local:Loadport>
|
|
|
- <local:Loadport Canvas.Left="610" Canvas.Top="610" Width="300" Height="300"/>
|
|
|
- <local:Loadport Canvas.Left="1200" Canvas.Top="610" Width="300" Height="300"/>
|
|
|
+ <local:Loadport Canvas.Left="360" Canvas.Top="610" Width="300" Height="300"/>
|
|
|
+ <local:Loadport Canvas.Left="750" Canvas.Top="610" Width="300" Height="300"/>
|
|
|
+ <local:Loadport Canvas.Left="1150" Canvas.Top="610" Width="300" Height="300"/>
|
|
|
|
|
|
|
|
|
- <TextBlock Text="Aligner1" FontSize="60" Canvas.Left="70" Canvas.Top="90"/>
|
|
|
+ <TextBlock Text="Aligner1" FontSize="60" Canvas.Left="70" Canvas.Top="50"/>
|
|
|
<!--<TextBlock Text="Aligner2" FontSize="40" Canvas.Left="990" Canvas.Top="5"/>
|
|
|
<TextBlock Text="Cooling1" FontSize="40" Canvas.Left="66" Canvas.Top="310"/>
|
|
|
<TextBlock Text="Aligner1" FontSize="40" Canvas.Left="990" Canvas.Top="310"/>-->
|
|
|
|
|
|
- <local:Foup Width="230" Height="450" Canvas.Left="44" Canvas.Top="655" Visibility="{Binding ElementName=efem,Path=LP1Presented,Converter={StaticResource BoolToVisibility2}}" Style="{StaticResource LP1Style}">
|
|
|
+ <local:Foup Width="230" Height="450" Canvas.Left="395" Canvas.Top="655" Visibility="{Binding ElementName=efem,Path=LP1Presented,Converter={StaticResource BoolToVisibility2}}" Style="{StaticResource LP1Style}">
|
|
|
<local:Foup.RenderTransform>
|
|
|
<TransformGroup>
|
|
|
<TranslateTransform/>
|
|
|
</TransformGroup>
|
|
|
</local:Foup.RenderTransform>
|
|
|
</local:Foup>
|
|
|
- <local:Foup Width="230" Height="450" Canvas.Left="646" Canvas.Top="655" Visibility="{Binding ElementName=efem,Path=LP2Presented,Converter={StaticResource BoolToVisibility2}}" Style="{StaticResource LP2Style}">
|
|
|
+ <local:Foup Width="230" Height="450" Canvas.Left="785" Canvas.Top="655" Visibility="{Binding ElementName=efem,Path=LP2Presented,Converter={StaticResource BoolToVisibility2}}" Style="{StaticResource LP2Style}">
|
|
|
<local:Foup.RenderTransform>
|
|
|
<TransformGroup>
|
|
|
<TranslateTransform/>
|
|
|
</TransformGroup>
|
|
|
</local:Foup.RenderTransform>
|
|
|
</local:Foup>
|
|
|
- <local:Foup Width="230" Height="450" Canvas.Left="1236" Canvas.Top="655" Visibility="{Binding ElementName=efem,Path=LP3Presented,Converter={StaticResource BoolToVisibility2}}" Style="{StaticResource LP3Style}">
|
|
|
+ <local:Foup Width="230" Height="450" Canvas.Left="1185" Canvas.Top="655" Visibility="{Binding ElementName=efem,Path=LP3Presented,Converter={StaticResource BoolToVisibility2}}" Style="{StaticResource LP3Style}">
|
|
|
<local:Foup.RenderTransform>
|
|
|
<TransformGroup>
|
|
|
<TranslateTransform/>
|
|
@@ -222,9 +292,9 @@
|
|
|
</local:Foup.RenderTransform>
|
|
|
</local:Foup>
|
|
|
|
|
|
- <TextBlock Text="LP1" Canvas.Left="120" Canvas.Top="920" FontSize="55"/>
|
|
|
- <TextBlock Text="LP2" Canvas.Left="700" Canvas.Top="920" FontSize="55"/>
|
|
|
- <TextBlock Text="LP3" Canvas.Left="1300" Canvas.Top="920" FontSize="55"/>
|
|
|
+ <TextBlock Text="LP1" Canvas.Left="460" Canvas.Top="920" FontSize="55"/>
|
|
|
+ <TextBlock Text="LP2" Canvas.Left="860" Canvas.Top="920" FontSize="55"/>
|
|
|
+ <TextBlock Text="LP3" Canvas.Left="1260" Canvas.Top="920" FontSize="55"/>
|
|
|
</Canvas>
|
|
|
|
|
|
</Border>
|