|
@@ -152,13 +152,55 @@
|
|
</Style>
|
|
</Style>
|
|
</Rectangle.Style>
|
|
</Rectangle.Style>
|
|
</Rectangle>
|
|
</Rectangle>
|
|
- <Rectangle x:Name="ErrorRectangle" Fill="Transparent" Height="234" VerticalAlignment="Bottom" Margin="370,0,266,50" Opacity="0.5" Panel.ZIndex="3"
|
|
|
|
|
|
+ <Grid Panel.ZIndex="2" Margin="291,89,174,13">
|
|
|
|
+ <Canvas >
|
|
|
|
+ <Canvas.RenderTransform>
|
|
|
|
+ <!-- 定义平移变换 -->
|
|
|
|
+ <TranslateTransform x:Name="imageTranslate"/>
|
|
|
|
+ </Canvas.RenderTransform>
|
|
|
|
+ <Canvas.Style>
|
|
|
|
+ <Style TargetType="Canvas">
|
|
|
|
+ <!-- 设置数据触发器 -->
|
|
|
|
+ <Style.Triggers>
|
|
|
|
+ <DataTrigger Binding="{Binding IsRunLinmot}" Value="True">
|
|
|
|
+ <DataTrigger.EnterActions>
|
|
|
|
+ <BeginStoryboard>
|
|
|
|
+ <Storyboard>
|
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.Y)" RepeatBehavior="Forever">
|
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:0"/>
|
|
|
|
+ <LinearDoubleKeyFrame Value="50" KeyTime="0:0:2"/>
|
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:4"/>
|
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
|
+ </Storyboard>
|
|
|
|
+ </BeginStoryboard>
|
|
|
|
+ </DataTrigger.EnterActions>
|
|
|
|
+ <DataTrigger.ExitActions>
|
|
|
|
+ <BeginStoryboard>
|
|
|
|
+ <Storyboard>
|
|
|
|
+ <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.Y)">
|
|
|
|
+ <LinearDoubleKeyFrame Value="25" KeyTime="0:0:0"/>
|
|
|
|
+ <LinearDoubleKeyFrame Value="0" KeyTime="0:0:2"/>
|
|
|
|
+ </DoubleAnimationUsingKeyFrames>
|
|
|
|
+ </Storyboard>
|
|
|
|
+ </BeginStoryboard>
|
|
|
|
+ </DataTrigger.ExitActions>
|
|
|
|
+ </DataTrigger>
|
|
|
|
+ </Style.Triggers>
|
|
|
|
+ </Style>
|
|
|
|
+ </Canvas.Style>
|
|
|
|
+ <Image Source="pack://application:,,,/CyberX8_Themes;component/Themes/Images/parts/MetalFence.png" x:Name="metalLinmot"
|
|
|
|
+HorizontalAlignment="Center" VerticalAlignment="Top" Panel.ZIndex="2" Canvas.Left="54" Width="215" Height="181" Canvas.Top="25">
|
|
|
|
+ </Image>
|
|
|
|
+ </Canvas>
|
|
|
|
+ </Grid>
|
|
|
|
+ <Rectangle x:Name="ErrorRectangle" Fill="Red" Height="234" VerticalAlignment="Bottom" Margin="370,0,266,73" Opacity="0.5" Panel.ZIndex="3"
|
|
Visibility="{Binding ElementName=self,Path=IsError,Converter={StaticResource boolToVisibility2}}"/>
|
|
Visibility="{Binding ElementName=self,Path=IsError,Converter={StaticResource boolToVisibility2}}"/>
|
|
<!--Clamp Valve On-->
|
|
<!--Clamp Valve On-->
|
|
- <userControls:FlowPipe Margin="76,112,674,330" Width="50" IsFlowing="{Binding IsClampValveOpen, ElementName=self}" IsReverse="False"/>
|
|
|
|
- <userControls:FlowPipe Margin="132,112,492,330" Width="175" IsFlowing="{Binding IsClampValveOpen, ElementName=self}" IsReverse="False"/>
|
|
|
|
- <Label Height="25" FontSize="13" FontWeight="Bold" Content="Clamp Valve" Margin="80,82,600,343" />
|
|
|
|
- <Canvas Width="30" Height="30" Margin="116,101,654,319">
|
|
|
|
|
|
+ <userControls:FlowPipe Margin="212,112,492,330" Width="94" IsReverse="False"/>
|
|
|
|
+ <Rectangle Fill="lime" Height="6" Margin="215,113,497,331" Opacity="0.5"
|
|
|
|
+Visibility="{Binding IsClampValveOpen,ElementName=self,Converter={StaticResource boolToVisibility2}}"/>
|
|
|
|
+ <Label Height="25" FontSize="13" FontWeight="Bold" Content="Clamp Valve" Margin="175,83,505,342" />
|
|
|
|
+ <Canvas Width="30" Height="30" Margin="240,101,530,319">
|
|
<customControls:CommonValveControl Height="16" Width="16" Canvas.Left="7" Canvas.Top="6" HorizontalAlignment="Center" VerticalAlignment="Top"
|
|
<customControls:CommonValveControl Height="16" Width="16" Canvas.Left="7" Canvas.Top="6" HorizontalAlignment="Center" VerticalAlignment="Top"
|
|
ValveOrientation="Horizontal" Status="{Binding IsClampValveOpen, ElementName=self}"
|
|
ValveOrientation="Horizontal" Status="{Binding IsClampValveOpen, ElementName=self}"
|
|
IsCanEdit="True" ContextMenu="{StaticResource IsClampValveOpen}" RenderTransformOrigin="-0.75,0.312"/>
|
|
IsCanEdit="True" ContextMenu="{StaticResource IsClampValveOpen}" RenderTransformOrigin="-0.75,0.312"/>
|
|
@@ -182,7 +224,7 @@
|
|
<userControls:FlowPipe Margin="128,408,650,34" Width="22" RotateTransformValue="90" IsFlowing="{Binding ElementName=self,Path=IsCellCirculationValveOn}" IsReverse="False"/>
|
|
<userControls:FlowPipe Margin="128,408,650,34" Width="22" RotateTransformValue="90" IsFlowing="{Binding ElementName=self,Path=IsCellCirculationValveOn}" IsReverse="False"/>
|
|
<userControls:Pipe2 RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="464,427,0,0" />
|
|
<userControls:Pipe2 RotateTransformValue="90" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="464,427,0,0" />
|
|
<userControls:Pipe2 RotateTransformValue="180" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="134,440,0,0" />
|
|
<userControls:Pipe2 RotateTransformValue="180" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="134,440,0,0" />
|
|
-
|
|
|
|
|
|
+
|
|
<userControls:FlowPipe Margin="-110,385,690,57" Width="220" IsFlowing="{Binding ElementName=self,Path=IsCellPumpOn}" IsReverse="False"/>
|
|
<userControls:FlowPipe Margin="-110,385,690,57" Width="220" IsFlowing="{Binding ElementName=self,Path=IsCellPumpOn}" IsReverse="False"/>
|
|
<userControls:FlowPipe Margin="-111,315,845,127" Width="66" IsFlowing="{Binding ElementName=self,Path=IsCellPumpOn}" RotateTransformValue="90" IsReverse="False"/>
|
|
<userControls:FlowPipe Margin="-111,315,845,127" Width="66" IsFlowing="{Binding ElementName=self,Path=IsCellPumpOn}" RotateTransformValue="90" IsReverse="False"/>
|
|
<userControls:FlowPipe Margin="-110,304,622,138" Width="288" IsFlowing="{Binding ElementName=self,Path=IsCellPumpOn}" IsReverse="True"/>
|
|
<userControls:FlowPipe Margin="-110,304,622,138" Width="288" IsFlowing="{Binding ElementName=self,Path=IsCellPumpOn}" IsReverse="True"/>
|
|
@@ -199,7 +241,7 @@
|
|
ModuleName="{Binding ElementName=self, Path=ModuleName}" Canvas.Left="-35"
|
|
ModuleName="{Binding ElementName=self, Path=ModuleName}" Canvas.Left="-35"
|
|
Visibility="{Binding ElementName=self,Path=IsSingalPump,Converter={StaticResource boolToVisibility2}}"/>
|
|
Visibility="{Binding ElementName=self,Path=IsSingalPump,Converter={StaticResource boolToVisibility2}}"/>
|
|
</Canvas>
|
|
</Canvas>
|
|
-
|
|
|
|
|
|
+
|
|
<Polygon Width="10" Points="0,10 20,0 20,20" Fill="Black" StrokeThickness="1" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="-34,394,0,0" RenderTransformOrigin="0.5,0.5">
|
|
<Polygon Width="10" Points="0,10 20,0 20,20" Fill="Black" StrokeThickness="1" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="-34,394,0,0" RenderTransformOrigin="0.5,0.5">
|
|
<Polygon.RenderTransform>
|
|
<Polygon.RenderTransform>
|
|
<TransformGroup>
|
|
<TransformGroup>
|
|
@@ -211,10 +253,10 @@
|
|
</Polygon.RenderTransform>
|
|
</Polygon.RenderTransform>
|
|
</Polygon>
|
|
</Polygon>
|
|
<Polygon Points="0,0 30,0 30,4 0,4" Fill="Black" StrokeThickness="1" Canvas.Left="10" Canvas.Top="8" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="-54,402,0,0"/>
|
|
<Polygon Points="0,0 30,0 30,4 0,4" Fill="Black" StrokeThickness="1" Canvas.Left="10" Canvas.Top="8" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="-54,402,0,0"/>
|
|
-
|
|
|
|
|
|
+
|
|
<Label Content="Filter Purge Enable" FontSize="13" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Left" Margin="-119,0,0,16"/>
|
|
<Label Content="Filter Purge Enable" FontSize="13" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Left" Margin="-119,0,0,16"/>
|
|
<Ellipse Grid.Column="0" Width="16" Height="16" Fill="{Binding ElementName=self,Path=IsCellPumpOn,Converter={StaticResource boolToColor}}" HorizontalAlignment="Right" Stroke="Silver" Margin="0,413,766,21"/>
|
|
<Ellipse Grid.Column="0" Width="16" Height="16" Fill="{Binding ElementName=self,Path=IsCellPumpOn,Converter={StaticResource boolToColor}}" HorizontalAlignment="Right" Stroke="Silver" Margin="0,413,766,21"/>
|
|
-
|
|
|
|
|
|
+
|
|
<Label Content="Cell Flow" FontSize="13" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Left" Margin="26,0,0,112"/>
|
|
<Label Content="Cell Flow" FontSize="13" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Left" Margin="26,0,0,112"/>
|
|
<Border Margin="10,340,690,86" Background="Black">
|
|
<Border Margin="10,340,690,86" Background="Black">
|
|
<TextBlock Text="{Binding ElementName=self,Path=MetalData.CellFlow,StringFormat=\{0:F1\} L/min,Mode=TwoWay}" Foreground="Lime" FontSize="13" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
<TextBlock Text="{Binding ElementName=self,Path=MetalData.CellFlow,StringFormat=\{0:F1\} L/min,Mode=TwoWay}" Foreground="Lime" FontSize="13" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|