|
@@ -1129,6 +1129,668 @@
|
|
|
</Setter.Value>
|
|
|
</Setter>
|
|
|
</Style>
|
|
|
+ <Style TargetType="{x:Type customControls:DERobot}" >
|
|
|
+ <!--<Setter Property="Cursor" Value="Hand" />-->
|
|
|
+ <Setter Property="Width" Value="200"/>
|
|
|
+ <Setter Property="Height" Value="230"/>
|
|
|
+ <Setter Property="Template">
|
|
|
+ <Setter.Value>
|
|
|
+ <ControlTemplate TargetType="{x:Type customControls:DERobot}">
|
|
|
+ <Viewbox x:Name="viewbox" Stretch="Fill">
|
|
|
+ <VisualStateManager.VisualStateGroups>
|
|
|
+ <VisualStateGroup Name="RobotXActions">
|
|
|
+ <VisualStateGroup.Transitions>
|
|
|
+ <VisualTransition To="Extend">
|
|
|
+ <Storyboard FillBehavior="HoldEnd" Timeline.SpeedRatio="13">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-120" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-90" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--中臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-115" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-210" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--前臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="225" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="110" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="Y">
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:6"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-5" KeyTime="0:0:5"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-10" KeyTime="0:0:4"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-11" KeyTime="0:0:3"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-10" KeyTime="0:0:2"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-5" KeyTime="0:0:1"/>
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualTransition>
|
|
|
+ <VisualTransition To="Retract">
|
|
|
+ <Storyboard FillBehavior="HoldEnd" SpeedRatio="14">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-90" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-115" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--中臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-210" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-120" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--前臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="110" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="225" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="Y">
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-5" KeyTime="0:0:1"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-10" KeyTime="0:0:2"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-11" KeyTime="0:0:3"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-10" KeyTime="0:0:4"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-5" KeyTime="0:0:5"/>
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualTransition>
|
|
|
+ <VisualTransition To="ToVCE">
|
|
|
+ <Storyboard FillBehavior="HoldEnd" SpeedRatio="14">
|
|
|
+ <!--后臂+底座-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-115" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--中臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-120" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-360" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--前臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="225" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="178" KeyTime="0:0:1"/>
|
|
|
+ <LinearDoubleKeyFrame Value="127" KeyTime="0:0:2"/>
|
|
|
+ <LinearDoubleKeyFrame Value="80" KeyTime="0:0:3"/>
|
|
|
+ <LinearDoubleKeyFrame Value="40" KeyTime="0:0:4"/>
|
|
|
+ <LinearDoubleKeyFrame Value="10" KeyTime="0:0:5"/>
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="Y">
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-7" KeyTime="0:0:1"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-10" KeyTime="0:0:2"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-10" KeyTime="0:0:3"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-8" KeyTime="0:0:4"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-5" KeyTime="0:0:5"/>
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualTransition>
|
|
|
+ <VisualTransition To="FromVCE">
|
|
|
+ <Storyboard FillBehavior="HoldEnd" SpeedRatio="14">
|
|
|
+ <!--后臂+底座-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-115" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--中臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-360" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-120" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--前臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="225" KeyTime="0:0:6"/>
|
|
|
+ <LinearDoubleKeyFrame Value="178" KeyTime="0:0:5"/>
|
|
|
+ <LinearDoubleKeyFrame Value="127" KeyTime="0:0:4"/>
|
|
|
+ <LinearDoubleKeyFrame Value="80" KeyTime="0:0:3"/>
|
|
|
+ <LinearDoubleKeyFrame Value="40" KeyTime="0:0:2"/>
|
|
|
+ <LinearDoubleKeyFrame Value="10" KeyTime="0:0:1"/>
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="Y">
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:6"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-7" KeyTime="0:0:5"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-10" KeyTime="0:0:4"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-10" KeyTime="0:0:3"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-8" KeyTime="0:0:2"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-5" KeyTime="0:0:1"/>
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualTransition>
|
|
|
+ <VisualTransition To="FromVCEToVPA">
|
|
|
+ <Storyboard FillBehavior="HoldEnd" SpeedRatio="14">
|
|
|
+ <!--后臂+底座-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-90" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--中臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-360" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="-210" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--前臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="110" KeyTime="0:0:6"/>
|
|
|
+ <LinearDoubleKeyFrame Value="82" KeyTime="0:0:5"/>
|
|
|
+ <LinearDoubleKeyFrame Value="55" KeyTime="0:0:4"/>
|
|
|
+ <LinearDoubleKeyFrame Value="32" KeyTime="0:0:3"/>
|
|
|
+ <LinearDoubleKeyFrame Value="15" KeyTime="0:0:2"/>
|
|
|
+ <LinearDoubleKeyFrame Value="5" KeyTime="0:0:1"/>
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="Y">
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:6"/>
|
|
|
+ <LinearDoubleKeyFrame Value="5" KeyTime="0:0:5"/>
|
|
|
+ <LinearDoubleKeyFrame Value="8" KeyTime="0:0:4"/>
|
|
|
+ <LinearDoubleKeyFrame Value="8" KeyTime="0:0:3"/>
|
|
|
+ <LinearDoubleKeyFrame Value="6" KeyTime="0:0:2"/>
|
|
|
+ <LinearDoubleKeyFrame Value="4" KeyTime="0:0:1"/>
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualTransition>
|
|
|
+ </VisualStateGroup.Transitions>
|
|
|
+ <VisualState Name="X_Origin">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <!--后臂+底座-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-115" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--中臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-120" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--前臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="225" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualState>
|
|
|
+ <VisualState Name="ToVCE">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <!--后臂+底座-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--中臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-360" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--前臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualState>
|
|
|
+ <VisualState Name="FromVCE">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <!--后臂+底座-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-115" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--中臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-120" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--前臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="225" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualState>
|
|
|
+ <VisualState Name="FromVCEToVPA">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <!--后臂+底座-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-90" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--中臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-210" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--前臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="110" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualState>
|
|
|
+ <VisualState Name="Extend">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <!--后臂+底座-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-90" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--中臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-210" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--前臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="110" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualState>
|
|
|
+
|
|
|
+ <VisualState Name="Retract">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <!--后臂+底座-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-115" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--中臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-120" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--前臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="225" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualState>
|
|
|
+ </VisualStateGroup>
|
|
|
+ <!--ArmB动画-->
|
|
|
+ <VisualStateGroup Name="RobotXActions2">
|
|
|
+ <VisualStateGroup.Transitions>
|
|
|
+ <VisualTransition To="Extend2">
|
|
|
+ <Storyboard FillBehavior="HoldEnd" Timeline.SpeedRatio="13">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="120" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="90" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--中臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="115" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="210" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--前臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="225" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="110" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="Y">
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:6"/>
|
|
|
+ <LinearDoubleKeyFrame Value="5" KeyTime="0:0:5"/>
|
|
|
+ <LinearDoubleKeyFrame Value="10" KeyTime="0:0:4"/>
|
|
|
+ <LinearDoubleKeyFrame Value="11" KeyTime="0:0:3"/>
|
|
|
+ <LinearDoubleKeyFrame Value="10" KeyTime="0:0:2"/>
|
|
|
+ <LinearDoubleKeyFrame Value="5" KeyTime="0:0:1"/>
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualTransition>
|
|
|
+ <VisualTransition To="Retract2">
|
|
|
+ <Storyboard FillBehavior="HoldEnd" SpeedRatio="14">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="90" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="115" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--中臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="210" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="120" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--前臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="110" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="225" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="Y">
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="5" KeyTime="0:0:1"/>
|
|
|
+ <LinearDoubleKeyFrame Value="10" KeyTime="0:0:2"/>
|
|
|
+ <LinearDoubleKeyFrame Value="11" KeyTime="0:0:3"/>
|
|
|
+ <LinearDoubleKeyFrame Value="10" KeyTime="0:0:4"/>
|
|
|
+ <LinearDoubleKeyFrame Value="5" KeyTime="0:0:5"/>
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualTransition>
|
|
|
+ <VisualTransition To="ToVCE2">
|
|
|
+ <Storyboard FillBehavior="HoldEnd" SpeedRatio="14">
|
|
|
+ <!--后臂+底座-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="115" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--中臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="120" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="360" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--前臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="225" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="178" KeyTime="0:0:1"/>
|
|
|
+ <LinearDoubleKeyFrame Value="127" KeyTime="0:0:2"/>
|
|
|
+ <LinearDoubleKeyFrame Value="80" KeyTime="0:0:3"/>
|
|
|
+ <LinearDoubleKeyFrame Value="40" KeyTime="0:0:4"/>
|
|
|
+ <LinearDoubleKeyFrame Value="10" KeyTime="0:0:5"/>
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="Y">
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="7" KeyTime="0:0:1"/>
|
|
|
+ <LinearDoubleKeyFrame Value="10" KeyTime="0:0:2"/>
|
|
|
+ <LinearDoubleKeyFrame Value="10" KeyTime="0:0:3"/>
|
|
|
+ <LinearDoubleKeyFrame Value="8" KeyTime="0:0:4"/>
|
|
|
+ <LinearDoubleKeyFrame Value="5" KeyTime="0:0:5"/>
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualTransition>
|
|
|
+ <VisualTransition To="FromVCE2">
|
|
|
+ <Storyboard FillBehavior="HoldEnd" SpeedRatio="14">
|
|
|
+ <!--后臂+底座-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="115" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--中臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="360" KeyTime="0:0:0"/>
|
|
|
+ <LinearDoubleKeyFrame Value="120" KeyTime="0:0:6"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--前臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="225" KeyTime="0:0:6"/>
|
|
|
+ <LinearDoubleKeyFrame Value="178" KeyTime="0:0:5"/>
|
|
|
+ <LinearDoubleKeyFrame Value="127" KeyTime="0:0:4"/>
|
|
|
+ <LinearDoubleKeyFrame Value="80" KeyTime="0:0:3"/>
|
|
|
+ <LinearDoubleKeyFrame Value="40" KeyTime="0:0:2"/>
|
|
|
+ <LinearDoubleKeyFrame Value="10" KeyTime="0:0:1"/>
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="Y">
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:6"/>
|
|
|
+ <LinearDoubleKeyFrame Value="7" KeyTime="0:0:5"/>
|
|
|
+ <LinearDoubleKeyFrame Value="10" KeyTime="0:0:4"/>
|
|
|
+ <LinearDoubleKeyFrame Value="10" KeyTime="0:0:3"/>
|
|
|
+ <LinearDoubleKeyFrame Value="8" KeyTime="0:0:2"/>
|
|
|
+ <LinearDoubleKeyFrame Value="5" KeyTime="0:0:1"/>
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualTransition>
|
|
|
+
|
|
|
+ </VisualStateGroup.Transitions>
|
|
|
+ <VisualState Name="X_Origin2">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <!--后臂+底座-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="115" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--中臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="120" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--前臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="225" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualState>
|
|
|
+ <VisualState Name="ToVCE2">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <!--后臂+底座-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--中臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="360" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--前臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualState>
|
|
|
+ <VisualState Name="FromVCE2">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <!--后臂+底座-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="115" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--中臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="120" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--前臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="225" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualState>
|
|
|
+
|
|
|
+ <VisualState Name="Extend2">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <!--后臂+底座-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="90" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--中臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="210" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--前臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="110" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualState>
|
|
|
+ <VisualState Name="Retract2">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <!--后臂+底座-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT1RotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="115" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--中臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT2ArmRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="120" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ <!--前臂-->
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="armXT3ArmTranslateAct" Storyboard.TargetProperty="X">
|
|
|
+ <LinearDoubleKeyFrame Value="225" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualState>
|
|
|
+ </VisualStateGroup>
|
|
|
+ <VisualStateGroup Name="RobotTActions">
|
|
|
+ <VisualStateGroup.Transitions>
|
|
|
+ <VisualTransition To="T_Origin">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-90" KeyTime="0:0:1"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualTransition>
|
|
|
+
|
|
|
+ <VisualTransition To="PMA">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0.5"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualTransition>
|
|
|
+ <VisualTransition To="PMB">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="60" KeyTime="0:0:0.5"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualTransition>
|
|
|
+ <VisualTransition To="PMC">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="120" KeyTime="0:0:0.5"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualTransition>
|
|
|
+ <VisualTransition To="Aligner1">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-60" KeyTime="0:0:0.5"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualTransition>
|
|
|
+ <VisualTransition To="PMD">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="180" KeyTime="0:0:0.5"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualTransition>
|
|
|
+ <VisualTransition To="VCEA">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-60" KeyTime="0:0:0.5"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualTransition>
|
|
|
+ <VisualTransition To="VCEB">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-120" KeyTime="0:0:0.5"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualTransition>
|
|
|
+ </VisualStateGroup.Transitions>
|
|
|
+
|
|
|
+ <VisualState Name="T_Origin">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-90" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualState>
|
|
|
+ <VisualState Name="PMA">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualState>
|
|
|
+ <VisualState Name="PMB">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="60" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualState>
|
|
|
+ <VisualState Name="PMC">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="120" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualState>
|
|
|
+ <VisualState Name="Aligner1">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-60" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualState>
|
|
|
+ <VisualState Name="PMD">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="180" KeyTime="0:0:0.0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualState>
|
|
|
+ <VisualState Name="VCEA">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-60" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualState>
|
|
|
+ <VisualState Name="VCEB">
|
|
|
+ <Storyboard FillBehavior="HoldEnd">
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetName="robotRotateAct" Storyboard.TargetProperty="Angle">
|
|
|
+ <LinearDoubleKeyFrame Value="-120" KeyTime="0:0:0"/>
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
+ </Storyboard>
|
|
|
+ </VisualState>
|
|
|
+ </VisualStateGroup>
|
|
|
+
|
|
|
+ </VisualStateManager.VisualStateGroups>
|
|
|
+
|
|
|
+ <Canvas Width="200" Height="300" >
|
|
|
+
|
|
|
+ <Canvas x:Name="robot" Width="100" Height="150" RenderTransformOrigin="1 1" >
|
|
|
+ <!--robot总动作-->
|
|
|
+ <Canvas.RenderTransform>
|
|
|
+ <TransformGroup>
|
|
|
+ <RotateTransform x:Name="robotRotateAct"/>
|
|
|
+ <!--<RotateTransform Angle="-90"/>-->
|
|
|
+ <!--<TranslateTransform x:Name="robotUpDownAct"></TranslateTransform>-->
|
|
|
+ </TransformGroup>
|
|
|
+ </Canvas.RenderTransform>
|
|
|
+ <Canvas x:Name="armXT1" Width="200" Height="100" Canvas.Top="100" RenderTransformOrigin="0.5 0.5">
|
|
|
+ <!--后臂+底座动作-->
|
|
|
+ <Canvas.RenderTransform>
|
|
|
+ <!--<RotateTransform Angle="-115"/>-->
|
|
|
+ <RotateTransform x:Name="armXT1RotateAct"/>
|
|
|
+ </Canvas.RenderTransform>
|
|
|
+ <Canvas x:Name="armXT1Center" Width="60" Height="60" Canvas.Left="70" Canvas.Top="20" ToolTip="底座">
|
|
|
+ <Viewbox Canvas.Left="0" Canvas.Top="0" Width="60" Height="60">
|
|
|
+ <userControls:SERobot4 IsEnabled="False" Height="60"/>
|
|
|
+ </Viewbox>
|
|
|
+ </Canvas>
|
|
|
+ <Canvas x:Name="armXT1Arm" Width="120" Height="40" Canvas.Left="10" Canvas.Top="30" ToolTip="后臂" >
|
|
|
+ <Viewbox Canvas.Left="0" Canvas.Top="-40" Width="120" Height="120" >
|
|
|
+ <userControls:SERobot3 IsEnabled="False" Height="150"/>
|
|
|
+ </Viewbox>
|
|
|
+ </Canvas>
|
|
|
+ <Canvas x:Name="armXT2Arm" Width="105" Height="40" Canvas.Left="-73" Canvas.Top="30" ToolTip="中臂" RenderTransformOrigin="1 0.5">
|
|
|
+ <!--中臂动作-->
|
|
|
+ <Canvas.RenderTransform>
|
|
|
+ <TransformGroup>
|
|
|
+ <!--<RotateTransform Angle="-120"/>-->
|
|
|
+ <!--<TranslateTransform Y="15"/>-->
|
|
|
+ <TranslateTransform x:Name="armXT2ArmTranslateAct"/>
|
|
|
+ <RotateTransform x:Name="armXT2ArmRotateAct"/>
|
|
|
+ </TransformGroup>
|
|
|
+ </Canvas.RenderTransform>
|
|
|
+ <Viewbox Canvas.Left="10" Canvas.Top="-40" Width="110" Height="120" >
|
|
|
+ <userControls:SERobot2 IsEnabled="False"/>
|
|
|
+ </Viewbox>
|
|
|
+ </Canvas>
|
|
|
+ </Canvas>
|
|
|
+ <!--前臂动作-->
|
|
|
+ <Canvas x:Name="armGripper" Height="40" Width="158" Canvas.Left="-190" Canvas.Top="130" ToolTip="前臂" RenderTransformOrigin="1 0.5">
|
|
|
+ <Canvas.RenderTransform>
|
|
|
+ <TransformGroup>
|
|
|
+ <!--<TranslateTransform X="225"/>-->
|
|
|
+ <TranslateTransform x:Name="armXT3ArmTranslateAct"/>
|
|
|
+ <RotateTransform x:Name="armXT3ArmRotateAct"/>
|
|
|
+ </TransformGroup>
|
|
|
+ </Canvas.RenderTransform>
|
|
|
+ <Viewbox Canvas.Left="56" Canvas.Top="-60" Width="45" Height="160">
|
|
|
+ <userControls:SERobot1 IsEnabled="False"/>
|
|
|
+ </Viewbox>
|
|
|
+ <Viewbox Canvas.Left="-30" Canvas.Top="-15" Width="70" Height="70">
|
|
|
+ <!--<Border BorderBrush="Black" BorderThickness="2">-->
|
|
|
+ <userControls:WaferCtrl WaferData="{Binding RobotWafer,RelativeSource={RelativeSource TemplatedParent}}" IsEnabled="False"/>
|
|
|
+ <!--</Border>-->
|
|
|
+ </Viewbox>
|
|
|
+
|
|
|
+ </Canvas>
|
|
|
+
|
|
|
+ </Canvas>
|
|
|
+ </Canvas>
|
|
|
+
|
|
|
+ </Viewbox>
|
|
|
+
|
|
|
+ </ControlTemplate>
|
|
|
+ </Setter.Value>
|
|
|
+ </Setter>
|
|
|
+ </Style>
|
|
|
|
|
|
<Style TargetType="{x:Type customControls:GuangChuanRobotControl}" >
|
|
|
<Setter Property="Cursor" Value="Hand" />
|