|
@@ -22,18 +22,18 @@
|
|
|
<Storyboard x:Key="LinerValve_Open">
|
|
|
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Height)" >
|
|
|
<EasingDoubleKeyFrame KeyTime="0" Value="75"/>
|
|
|
- <EasingDoubleKeyFrame KeyTime="0:0:1" Value="8"/>
|
|
|
+ <EasingDoubleKeyFrame KeyTime="0:0:1" Value="12"/>
|
|
|
</DoubleAnimationUsingKeyFrames>
|
|
|
</Storyboard>
|
|
|
<Storyboard x:Key="LinerValve_Close">
|
|
|
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Height)" >
|
|
|
- <EasingDoubleKeyFrame KeyTime="0" Value="8"/>
|
|
|
+ <EasingDoubleKeyFrame KeyTime="0" Value="12"/>
|
|
|
<EasingDoubleKeyFrame KeyTime="0:0:1" Value="75"/>
|
|
|
</DoubleAnimationUsingKeyFrames>
|
|
|
</Storyboard>
|
|
|
<Style TargetType="{x:Type Rectangle}" x:Key="SlitValve_Animation2">
|
|
|
<Style.Triggers>
|
|
|
- <DataTrigger Binding="{Binding ElementName=chamber,Path=IsOpenSlitDoor}" Value="true">
|
|
|
+ <DataTrigger Binding="{Binding ElementName=chamber,Path=IsOpenLinerDoor}" Value="true" >
|
|
|
<DataTrigger.EnterActions>
|
|
|
<BeginStoryboard Storyboard="{StaticResource LinerValve_Open}"/>
|
|
|
</DataTrigger.EnterActions>
|
|
@@ -41,14 +41,6 @@
|
|
|
<BeginStoryboard Storyboard="{StaticResource LinerValve_Close}"/>
|
|
|
</DataTrigger.ExitActions>
|
|
|
</DataTrigger>
|
|
|
- <DataTrigger Binding="{Binding ElementName=chamber,Path=IsOpenLinerDoor}" Value="true" >
|
|
|
- <DataTrigger.EnterActions>
|
|
|
- <BeginStoryboard Storyboard="{StaticResource SlitValve_Open}"/>
|
|
|
- </DataTrigger.EnterActions>
|
|
|
- <DataTrigger.ExitActions>
|
|
|
- <BeginStoryboard Storyboard="{StaticResource SlitValve_Close}"/>
|
|
|
- </DataTrigger.ExitActions>
|
|
|
- </DataTrigger>
|
|
|
</Style.Triggers>
|
|
|
</Style>
|
|
|
<Style TargetType="{x:Type Rectangle}" x:Key="SlitValve_Animation" >
|
|
@@ -330,8 +322,8 @@
|
|
|
<!--左边slit door-->
|
|
|
<Grid x:Name="Slit_valve" Margin="-41,-9,191,26.5" >
|
|
|
<Grid.RowDefinitions>
|
|
|
- <RowDefinition Height="37*"/>
|
|
|
- <RowDefinition Height="37*"/>
|
|
|
+ <RowDefinition/>
|
|
|
+ <RowDefinition Height="74.75"/>
|
|
|
</Grid.RowDefinitions>
|
|
|
<!--<Grid.ContextMenu>
|
|
|
<ContextMenu>
|
|
@@ -340,7 +332,7 @@
|
|
|
</ContextMenu>
|
|
|
</Grid.ContextMenu>-->
|
|
|
<Rectangle x:Name="SlitValve_Top" Style="{StaticResource SlitValve_Animation}" Fill="{StaticResource doorColor}" VerticalAlignment="Top" Height="78" Margin="1,3,1,0" Grid.RowSpan="2" />
|
|
|
- <Rectangle x:Name="SlitValve_Bottom" Style="{StaticResource SlitValve_Animation}" Width="8" Fill="{StaticResource doorColor}" VerticalAlignment="Center" Height="78" Margin="1,0,1,0" Grid.Row="1" />
|
|
|
+ <Rectangle x:Name="SlitValve_Bottom" Style="{StaticResource SlitValve_Animation}" Width="8" Fill="{StaticResource doorColor}" VerticalAlignment="Bottom" Height="70" Margin="1,70,1,0" Grid.RowSpan="2" />
|
|
|
</Grid>
|
|
|
<Grid x:Name="liner_valve" Margin="-8,-8,10,26" >
|
|
|
<Grid.RowDefinitions>
|
|
@@ -353,7 +345,7 @@
|
|
|
<MenuItem Header="Close Liner Door" Click="CloseDoor_Click" IsChecked="{Binding IsLinerDoorClosed}" IsEnabled="{Binding IsLinerDoorClosed,Converter={StaticResource BoolToBool}}"/>
|
|
|
</ContextMenu>
|
|
|
</Grid.ContextMenu>
|
|
|
- <Rectangle x:Name="linerValve_Top" Style="{StaticResource SlitValve_Animation2}" Fill="{StaticResource doorColor}" VerticalAlignment="Top" Height="36" Margin="-15,6,169,0" Grid.RowSpan="2" />
|
|
|
+ <Rectangle x:Name="linerValve_Top" Fill="{StaticResource doorColor}" VerticalAlignment="Top" Height="36" Margin="-15,6,169,0" Grid.RowSpan="2" />
|
|
|
<Rectangle x:Name="linerValve_Bottom" Style="{StaticResource SlitValve_Animation2}" Fill="{StaticResource doorColor}" VerticalAlignment="Top" Panel.ZIndex="3" Height="44" Margin="-16,34,168,0" Grid.RowSpan="2" />
|
|
|
</Grid>
|
|
|
<!--slit door右边-->
|