|
@@ -31,7 +31,16 @@
|
|
|
</Style.Triggers>
|
|
|
</Style>
|
|
|
<converters:BoolToBool x:Key="BoolToBool"/>
|
|
|
+ <Storyboard x:Key="WaterStoryboard">
|
|
|
+ <PointAnimation Storyboard.TargetName="bs_Water" Storyboard.TargetProperty="Point1" From="15,-10" To="15,10" Duration="00:00:1" AutoReverse="True" RepeatBehavior="Forever"></PointAnimation>
|
|
|
+ <PointAnimation Storyboard.TargetName="bs_Water" Storyboard.TargetProperty="Point2" From="35,10" To="35,-10" Duration="00:00:2.5" AutoReverse="True" RepeatBehavior="Forever"></PointAnimation>
|
|
|
+ </Storyboard>
|
|
|
</UserControl.Resources>
|
|
|
+ <UserControl.Triggers>
|
|
|
+ <EventTrigger RoutedEvent="Loaded">
|
|
|
+ <BeginStoryboard Storyboard="{StaticResource WaterStoryboard}"></BeginStoryboard>
|
|
|
+ </EventTrigger>
|
|
|
+ </UserControl.Triggers>
|
|
|
<Viewbox Stretch="Fill">
|
|
|
<Viewbox.RenderTransform>
|
|
|
<TransformGroup>
|
|
@@ -42,12 +51,40 @@
|
|
|
|
|
|
|
|
|
<Canvas Width="200" Height="200" Grid.Row="1">
|
|
|
+ <Border Canvas.Top="-54" Canvas.Left="-5" Height="44" Width="270" Background="Transparent" BorderBrush="Black" CornerRadius="3" BorderThickness="3" Visibility="{Binding ElementName=tmChamber,Path=IsVenting,Converter={StaticResource bool2VisibilityConverter}}">
|
|
|
+ <Border Background="Transparent" BorderBrush="Gray" CornerRadius="1" BorderThickness="1">
|
|
|
+ <StackPanel Margin="-160,0,0,0" Height="44">
|
|
|
+
|
|
|
+ <StackPanel Width="49" Margin="-40 0 45 10">
|
|
|
+ <StackPanel.RenderTransform>
|
|
|
+ <RotateTransform Angle="-90" CenterX="19.5" CenterY="10"></RotateTransform>
|
|
|
+ </StackPanel.RenderTransform>
|
|
|
+ <!--矩形-->
|
|
|
+ <Rectangle x:Name="rec_Water" Fill="#42a5f5" Height="{Binding ElementName=tmChamber,Path=PercentValue,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Width="50" Margin="-20,6,0,0"/>
|
|
|
+ <!--水波-->
|
|
|
+ <Path Fill="#42a5f5" Margin="0,0,0,-1" Height="20" Stretch="Fill">
|
|
|
+ <Path.RenderTransform>
|
|
|
+ <RotateTransform Angle="180" CenterX="19.5" CenterY="10"></RotateTransform>
|
|
|
+ </Path.RenderTransform>
|
|
|
+ <Path.Data>
|
|
|
+ <PathGeometry>
|
|
|
+ <PathFigure StartPoint="0,0">
|
|
|
+ <BezierSegment x:Name="bs_Water" Point1="15,-5" Point2="35,5" Point3="50,0"></BezierSegment>
|
|
|
+ <PolyLineSegment Points="50,10 0,10"></PolyLineSegment>
|
|
|
+ </PathFigure>
|
|
|
+ </PathGeometry>
|
|
|
+ </Path.Data>
|
|
|
+ </Path>
|
|
|
+ </StackPanel>
|
|
|
+ </StackPanel>
|
|
|
+ </Border>
|
|
|
+ </Border>
|
|
|
<TextBlock Canvas.Top="-50" Canvas.Left="-5" FontSize="30" Visibility="{Binding ElementName=tmChamber,Path=PMVisibility}">
|
|
|
<TextBlock.Text>
|
|
|
<MultiBinding StringFormat=" {0}({1}mtorr)">
|
|
|
<Binding ElementName="tmChamber" Path="Name"></Binding>
|
|
|
<Binding ElementName="tmChamber" Path="PressureValue"></Binding>
|
|
|
- </MultiBinding>
|
|
|
+ </MultiBinding>
|
|
|
</TextBlock.Text>
|
|
|
</TextBlock>
|
|
|
<Polygon Stroke="Black" StrokeThickness="2" Points="00,200 0,3 3,0 197,0 200,3 200,200" Visibility="{Binding ElementName=tmChamber,Path=PMVisibility}">
|
|
@@ -63,7 +100,9 @@
|
|
|
<!--<Path Stroke="Gray" Canvas.Left="-20" StrokeThickness="2" Visibility="{Binding ElementName=tmChamber,Path=PMVisibility}">
|
|
|
<Path.Data>
|
|
|
<GeometryGroup>
|
|
|
- --><!--<PathGeometry Figures="M 200,100 A 80,80 1 1 1 200,99.9"/>--><!--
|
|
|
+ -->
|
|
|
+ <!--<PathGeometry Figures="M 200,100 A 80,80 1 1 1 200,99.9"/>-->
|
|
|
+ <!--
|
|
|
<PathGeometry Figures="M 190,100 A 70,70 1 1 1 190,99.9" />
|
|
|
<PathGeometry Figures="M 180,100 A 60,60 1 1 1 180,99.9" />
|
|
|
<PathGeometry Figures="M 170,100 A 50,50 1 1 1 170,99.9" />
|
|
@@ -125,7 +164,7 @@
|
|
|
<Viewbox Width="126" Height="126" Canvas.Left="39" Canvas.Top="38">
|
|
|
<local:WaferCtrl WaferData="{Binding ElementName=tmChamber, Path=RobotWafer}"/>
|
|
|
</Viewbox>
|
|
|
-
|
|
|
+
|
|
|
</Canvas>
|
|
|
|
|
|
</Border>
|