|
- <UserControl
- x:Class="BPASmartClient.Academy.View.ReactionKettle50LView"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:bpa="clr-namespace:BPASmartClient.CustomResource.UserControls;assembly=BPASmartClient.CustomResource"
- xmlns:cc="clr-namespace:BPASmartClient.Academy.CustomControls"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
- xmlns:local="clr-namespace:BPASmartClient.Academy.View"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:vm="clr-namespace:BPASmartClient.Academy.ViewModel"
- d:DataContext="{d:DesignInstance Type=vm:ReactionKettle50LViewModel}"
- d:DesignHeight="900" d:DesignWidth="1440" mc:Ignorable="d">
- <UserControl.Resources>
- <Style x:Key="move" TargetType="{x:Type CheckBox}">
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type CheckBox}">
- <Grid
- x:Name="pathgrid" Width="100" Height="50">
- <Viewbox Stretch="Uniform">
- <Grid Width="45" Height="20">
- <Path
- x:Name="path" HorizontalAlignment="Center" VerticalAlignment="Center" Fill="Red"
- StrokeThickness="0">
- <Path.Data>
- <GeometryGroup>
- <PathGeometry>
- <PathFigureCollection>
- <PathFigure StartPoint="0,6">
- <BezierSegment
- Point1="0,6" Point2="10,15" Point3="20,6" />
- <LineSegment Point="16,5.5" />
- <LineSegment Point="26,0" />
- <LineSegment Point="32,7.6" />
- <LineSegment Point="28.2,7.1" />
- <BezierSegment
- Point1="28.2,7.1" Point2="17,20" Point3="0,6" />
- </PathFigure>
- </PathFigureCollection>
- </PathGeometry>
- </GeometryGroup>
- </Path.Data>
- </Path>
- </Grid>
- </Viewbox>
- </Grid>
-
- <ControlTemplate.Triggers>
- <Trigger Property="IsChecked" Value="True">
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="On">
- <Storyboard
- AutoReverse="True" RepeatBehavior="Forever" Duration="0:0:1">
- <DoubleAnimation
- AutoReverse="True" RepeatBehavior="1" Storyboard.TargetName="pathgrid"
- Storyboard.TargetProperty="Height" From="50" To="48" />
- <DoubleAnimation
- AutoReverse="True" RepeatBehavior="1" Storyboard.TargetName="pathgrid"
- Storyboard.TargetProperty="Width" From="100" To="95" />
- </Storyboard>
- </BeginStoryboard>
- </Trigger.EnterActions>
- <Setter TargetName="path" Property="Fill" Value="Red" />
- </Trigger>
- <Trigger Property="IsChecked" Value="False">
- <Setter TargetName="path" Property="Fill" Value="blue" />
- <Trigger.EnterActions>
- <RemoveStoryboard BeginStoryboardName="On" />
- </Trigger.EnterActions>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- <Style x:Key="wind" TargetType="{x:Type CheckBox}">
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="{x:Type CheckBox}">
- <Grid
- x:Name="pathgrid" Width="100" Height="100">
- <Viewbox Stretch="Uniform">
- <Grid Width="40" Height="40">
- <!--#region 扇叶-->
- <Grid Width="40" Height="40">
- <Grid.RenderTransform>
- <RotateTransform x:Name="rotateTransform" Angle="60" CenterX="20" CenterY="20" />
- </Grid.RenderTransform>
- <Ellipse
- Width="6" Height="6" StrokeThickness="0">
- <Ellipse.Fill>
- <RadialGradientBrush GradientOrigin="0.5,0.5">
- <GradientStop Offset="0" Color="White" />
- <GradientStop Offset="0.9" Color="#606060" />
- </RadialGradientBrush>
- </Ellipse.Fill>
- </Ellipse>
- <Path
- Fill="White" Stroke="White" StrokeThickness="0">
- <Path.Data>
- <PathGeometry>
- <PathFigureCollection>
- <PathFigure StartPoint="17,20">
- <LineSegment Point="10,20" />
- <BezierSegment
- Point1="10,20" Point2="8,8" Point3="20,10" />
- <LineSegment Point="20,17" />
- <BezierSegment
- Point1="20,17" Point2="17,17" Point3="17,20" />
- </PathFigure>
- <PathFigure StartPoint="20,23">
- <LineSegment Point="20,30" />
- <BezierSegment
- Point1="20,30" Point2="32,32" Point3="30,20" />
- <LineSegment Point="23,20" />
- <BezierSegment
- Point1="23,20" Point2="23,23" Point3="20,23" />
- </PathFigure>
- </PathFigureCollection>
- </PathGeometry>
- </Path.Data>
- </Path>
- </Grid>
- <!--#endregion-->
- <!--#region 外壳及管道-->
- <Ellipse
- x:Name="waike" Width="24" Height="24" Opacity="0.8"
- Stroke="#606060" StrokeThickness="0">
- <Ellipse.Fill>
- <RadialGradientBrush GradientOrigin="0.5,0.5">
- <GradientStop Offset="0" Color="White" />
- <GradientStop Offset="0.9" Color="#606060" />
- </RadialGradientBrush>
- </Ellipse.Fill>
- </Ellipse>
- <Path
- x:Name="guandao" Stroke="White" StrokeThickness="0">
- <Path.Data>
- <PathGeometry>
- <PathFigureCollection>
- <PathFigure StartPoint="20,8">
- <LineSegment Point="30,8" />
- <LineSegment Point="30,12" />
- <LineSegment Point="26.7,10" />
- <BezierSegment
- Point1="26.7,10" Point2="24,8" Point3="20,8" />
- </PathFigure>
- </PathFigureCollection>
- </PathGeometry>
- </Path.Data>
- <Path.Fill>
- <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
- <GradientStop Offset="0" Color="#606060" />
- <GradientStop Offset="0.5" Color="Snow" />
- <GradientStop Offset="1" Color="#606060" />
- </LinearGradientBrush>
- </Path.Fill>
- </Path>
- <!--#endregion-->
-
- </Grid>
- </Viewbox>
- </Grid>
- <ControlTemplate.Triggers>
- <Trigger Property="IsChecked" Value="True">
- <Trigger.EnterActions>
- <BeginStoryboard x:Name="On">
- <Storyboard AutoReverse="False" RepeatBehavior="Forever">
- <DoubleAnimation
- AutoReverse="False" RepeatBehavior="Forever" Storyboard.TargetName="rotateTransform"
- Storyboard.TargetProperty="Angle" From="0" To="360" Duration="0:0:0.6" />
- </Storyboard>
- </BeginStoryboard>
- </Trigger.EnterActions>
- <Setter TargetName="waike" Property="Fill">
- <Setter.Value>
- <RadialGradientBrush GradientOrigin="0.5,0.5">
- <GradientStop Offset="0" Color="White" />
- <GradientStop Offset="0.9" Color="Red" />
- </RadialGradientBrush>
- </Setter.Value>
- </Setter>
- <Setter TargetName="guandao" Property="Fill">
- <Setter.Value>
- <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
- <GradientStop Offset="0" Color="#606060" />
- <GradientStop Offset="0.5" Color="Red" />
- <GradientStop Offset="1" Color="#606060" />
- </LinearGradientBrush>
- </Setter.Value>
- </Setter>
- </Trigger>
- <Trigger Property="IsChecked" Value="False">
- <Trigger.EnterActions>
- <RemoveStoryboard BeginStoryboardName="On" />
- </Trigger.EnterActions>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- <Style x:Key="radiobutton" TargetType="RadioButton">
- <Setter Property="HorizontalContentAlignment" Value="Center" />
- <Setter Property="VerticalContentAlignment" Value="Center" />
- <Setter Property="Template">
- <Setter.Value>
- <ControlTemplate TargetType="RadioButton">
- <Border
- x:Name="bord"
- Width="{TemplateBinding Width}"
- Height="{TemplateBinding Height}"
- Background="{TemplateBinding Background}"
- BorderBrush="{TemplateBinding BorderBrush}"
- BorderThickness="{TemplateBinding BorderThickness}">
- <ContentControl
- HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
- VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
- Content="{TemplateBinding Content}"
- Foreground="{TemplateBinding Foreground}" />
- </Border>
- <ControlTemplate.Triggers>
- <Trigger Property="IsChecked" Value="True">
- <Setter TargetName="bord" Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/红色圆角矩形背景.png" />
- </Setter.Value>
- </Setter>
- </Trigger>
- <Trigger Property="IsChecked" Value="False">
- <Setter TargetName="bord" Property="Background">
- <Setter.Value>
- <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/buttonOff.png" />
- </Setter.Value>
- </Setter>
- </Trigger>
- </ControlTemplate.Triggers>
- </ControlTemplate>
- </Setter.Value>
- </Setter>
- </Style>
- <Style x:Key="BaseHandValveStyle" TargetType="bpa:HandValve">
- <Setter Property="Width" Value="32" />
- <Setter Property="Height" Value="32" />
- <Setter Property="HorizontalAlignment" Value="Center" />
- <Setter Property="VerticalAlignment" Value="Center" />
- </Style>
- <Style x:Key="CommandStateStyle" TargetType="TextBlock">
- <Setter Property="Height" Value="20" />
- <Setter Property="HorizontalAlignment" Value="Center" />
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="FontSize" Value="16" />
- <Setter Property="Margin" Value="0,8,6,0" />
- <Setter Property="TextAlignment" Value="Center" />
- <Setter Property="Text" Value="⬛" />
- </Style>
- <Style x:Key="BasePipeLineHStyle" TargetType="bpa:PipeLineH">
- <Setter Property="Height" Value="10" />
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="HorizontalAlignment" Value="Center" />
- <Setter Property="LineWidth" Value="1" />
- <Setter Property="Speed" Value="1" />
- </Style>
- <Style x:Key="BasePipeLineVStyle" TargetType="bpa:PipeLineV">
- <Setter Property="Width" Value="10" />
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="HorizontalAlignment" Value="Center" />
- <Setter Property="LineWidth" Value="1" />
- <Setter Property="Speed" Value="1" />
- </Style>
- <Style x:Key="BasePipeLineBLStyle" TargetType="bpa:PipeLineBL">
- <Setter Property="Width" Value="20" />
- <Setter Property="Height" Value="20" />
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="HorizontalAlignment" Value="Center" />
- <Setter Property="LineWidth" Value="1" />
- <Setter Property="Speed" Value="1" />
- </Style>
- <Style x:Key="BasePipeLineBRStyle" TargetType="bpa:PipeLineBR">
- <Setter Property="Width" Value="20" />
- <Setter Property="Height" Value="20" />
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="HorizontalAlignment" Value="Center" />
- <Setter Property="LineWidth" Value="1" />
- <Setter Property="Speed" Value="1" />
- </Style>
- <Style x:Key="BasePipeLineTRStyle" TargetType="bpa:PipeLineTR">
- <Setter Property="Width" Value="20" />
- <Setter Property="Height" Value="20" />
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="HorizontalAlignment" Value="Center" />
- <Setter Property="LineWidth" Value="1" />
- <Setter Property="Speed" Value="1" />
- </Style>
- <Style x:Key="BasePipeLineTLStyle" TargetType="bpa:PipeLineTL">
- <Setter Property="Width" Value="20" />
- <Setter Property="Height" Value="20" />
- <Setter Property="VerticalAlignment" Value="Center" />
- <Setter Property="HorizontalAlignment" Value="Center" />
- <Setter Property="LineWidth" Value="1" />
- <Setter Property="Speed" Value="1" />
- </Style>
- </UserControl.Resources>
- <Grid>
- <!--#region 设备未连接时的遮罩-->
- <TextBlock
- x:Name="state" Grid.RowSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center"
- Panel.ZIndex="299" d:Visibility="Collapsed" FontSize="100" FontWeight="Black"
- Foreground="Red" Text="设 备 未 连 接"
- Visibility="{Binding PLCIsConnected, Converter={StaticResource BoolToVisibilityReverseConverter}}" />
- <!--#endregion-->
- <!--#region 切换设备类型-->
- <Grid
- Height="50" HorizontalAlignment="Right" VerticalAlignment="Top">
- <Border Margin="0,0,100,0" HorizontalAlignment="Center">
- <Button
- Margin="20,5"
- Command="{Binding DataRecordCommand}"
- Content="选择设备类型"
- Style="{StaticResource ButtonStyle}" />
- </Border>
- </Grid>
- <!--#endregion-->
- <Grid
- x:Name="ooo" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" d:Opacity="1.0"
- IsHitTestVisible="{Binding PLCIsConnected}"
- Opacity="{Binding PLCIsConnected, Converter={StaticResource BoolToDoubleConverter}}">
- <Grid.RowDefinitions>
- <RowDefinition Height="50" />
- <RowDefinition Height="*" />
- <RowDefinition Height="150" />
- </Grid.RowDefinitions>
-
-
-
- <StackPanel
- Grid.Row="0" Height="50" Orientation="Horizontal">
- <CheckBox
- Width="160" Height="50" HorizontalAlignment="Left" VerticalAlignment="Top"
- d:Content="系统启动"
- Command="{Binding Start}"
- Content="{Binding Content}"
- FontSize="30"
- IsChecked="{Binding IsChecked}"
- Style="{StaticResource Beveledcheck}" />
- <TextBlock
- VerticalAlignment="Center" FontSize="20" Foreground="White" Text="请输入产品编号:" />
- <TextBox
- x:Name="recipeName" Width="200" Height="40" VerticalAlignment="Center"
- FontSize="20"
- Text="{Binding Name}" />
-
- </StackPanel>
- <Viewbox
- Grid.Row="1" Margin="10" Stretch="Uniform">
- <Canvas
- Width="1200" Height="490" MouseLeftButtonDown="Canvas_MouseDown">
- <!--#region 开关控制按钮-->
- <!--#region 压缩空气进气阀-->
- <bpa:PipeLineTL
- Canvas.Left="742" Canvas.Top="384" Canvas.Right="238.3" Width="20"
- Height="20" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="2"
- Direction="{Binding DeviceStatus.ReactInCleanWaterValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ReactInCleanWaterValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="10" Speed="1.5" />
- <!--#region 压缩空气进气阀-->
- <bpa:PipeLineTL
- Canvas.Left="746.5" Canvas.Top="410" Canvas.Right="277.3" Width="20"
- Height="20" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="2"
- Direction="{Binding DeviceStatus.ReactPressureAirInValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ReactPressureAirInValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="10" Speed="1.5" />
- <!--#region 开关控制按钮-->
- <bpa:PipeLineV
- Canvas.Left="744" Canvas.Top="31" Canvas.Right="250.9" Width="10"
- Height="30" HorizontalAlignment="Center" VerticalAlignment="Center"
- Direction="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="1" />
- <!--#region 开关控制按钮-->
- <bpa:PipeLineH
- Canvas.Left="332" Canvas.Top="22" Canvas.Right="260.7" Width="100"
- Height="10" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="1"
- Direction="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="1" Speed="25" />
- <bpa:PipeLineV
- Canvas.Left="242" Canvas.Top="59" Width="10" Height="140"
- HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="2"
- Direction="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=6, Converter={StaticResource deviceConvert}}"
- LineWidth="1" RenderTransformOrigin="0.5,0.5" />
- <bpa:PipeLineH
- Canvas.Left="133" Canvas.Top="69" Width="152" Height="10"
- HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="1"
- Direction="{Binding DeviceStatus.ColdWaterTankVacuumValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ColdWaterTankVacuumValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="1" />
- <!--#region 开关控制按钮-->
- <bpa:PipeLineH
- Canvas.Left="115" Canvas.Top="456" Canvas.Right="257.5" Width="95"
- Height="10" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="1"
- Direction="{Binding DeviceStatus.ReactInBrineWaterValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ReactInBrineWaterValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="1" Speed="10" />
- <!--#region 开关控制按钮-->
- <bpa:PipeLineBR
- Canvas.Left="216" Canvas.Top="438" Canvas.Right="272.3" Width="20"
- Height="20" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="1"
- Direction="{Binding DeviceStatus.BrinePumpState, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.BrinePumpState, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="10" Speed="1.5" />
- <!--#region 开关控制按钮-->
- <bpa:PipeLineH
- Canvas.Left="226" Canvas.Top="438" Canvas.Right="257.5" Width="366"
- Height="10" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="1"
- Direction="{Binding DeviceStatus.BrinePumpState, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.BrinePumpState, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="1" Speed="10" />
- <!--#region 开关控制按钮-->
- <bpa:PipeLineTL
- Canvas.Left="746.5" Canvas.Top="433" Canvas.Right="272.3" Width="20"
- Height="20" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="2"
- Direction="{Binding DeviceStatus.ReactInBrineWaterValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ReactInBrineWaterValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="10" Speed="1.5" />
- <!--#region 开关控制按钮-->
- <StackPanel
- Canvas.Left="913" Canvas.Top="142" HorizontalAlignment="Center" VerticalAlignment="Top"
- Panel.ZIndex="99" Orientation="Vertical">
- <RadioButton
- Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="旋转电机:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="反应釜旋转电机" />
- <RadioButton
- Width="70" Height="20" BorderThickness="0" Click="close_Click"
- Content="旋转电机:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="反应釜旋转电机" />
- </StackPanel>
- <StackPanel
- Canvas.Left="13" Canvas.Top="156" HorizontalAlignment="Center" VerticalAlignment="Top"
- Panel.ZIndex="99" Orientation="Vertical">
- <RadioButton
- Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="真空泵:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="负压风机" />
- <RadioButton
- Width="70" Height="20" BorderThickness="0" Click="close_Click"
- Content="真空泵:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="负压风机" />
- </StackPanel>
- <StackPanel
- Canvas.Left="247" Canvas.Top="446" HorizontalAlignment="Left" VerticalAlignment="Top"
- Panel.ZIndex="99" Orientation="Vertical">
- <RadioButton
- Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="卤水泵:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="卤水泵" />
- <RadioButton
- Width="70" Height="20" BorderThickness="0" Click="close_Click"
- Content="卤水泵:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="卤水泵" />
- </StackPanel>
- <StackPanel
- Canvas.Left="772" Canvas.Top="331" HorizontalAlignment="Center" VerticalAlignment="Top"
- Panel.ZIndex="99" Orientation="Vertical" Visibility="Collapsed">
- <RadioButton
- Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="反应釜回原点:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="反应釜回原点" />
- <RadioButton
- Width="70" Height="20" BorderThickness="0" Click="close_Click"
- Content="反应釜回原点:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="反应釜回原点" />
- </StackPanel>
- <StackPanel
- Canvas.Left="813" Canvas.Top="322" HorizontalAlignment="Left" VerticalAlignment="Center"
- Panel.ZIndex="99" Orientation="Vertical">
- <RadioButton
- Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="反应釜反转:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="反应釜反转" />
- <RadioButton
- Width="70" Height="20" BorderThickness="0" Click="close_Click"
- Content="反应釜反转:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="反应釜反转" />
- </StackPanel>
- <StackPanel
- Canvas.Left="875" Canvas.Top="382" HorizontalAlignment="Center" VerticalAlignment="Top"
- Panel.ZIndex="99" Orientation="Vertical" Visibility="Collapsed">
- <RadioButton
- Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="反应釜去倒料位:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="反应釜去倒料位" />
- <RadioButton
- Width="70" Height="20" BorderThickness="0" Click="close_Click"
- Content="反应釜去倒料位:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="反应釜去倒料位" />
- </StackPanel>
- <StackPanel
- Canvas.Left="772" Canvas.Top="382" HorizontalAlignment="Left" VerticalAlignment="Top"
- Panel.ZIndex="99" Orientation="Vertical" Visibility="Collapsed">
- <RadioButton
- Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="反应釜去加料位:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="去加料位" />
- <RadioButton
- Width="70" Height="20" BorderThickness="0" Click="close_Click"
- Content="反应釜去加料位:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="去加料位" />
- </StackPanel>
- <StackPanel
- Canvas.Left="870" Canvas.Top="394" HorizontalAlignment="Center" VerticalAlignment="Top"
- Panel.ZIndex="99" Orientation="Vertical" Visibility="Collapsed">
- <RadioButton
- Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="反应釜进料:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="反应釜进料" />
- <RadioButton
- Width="70" Height="20" BorderThickness="0" Click="close_Click"
- Content="反应釜进料:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="反应釜进料" />
- </StackPanel>
- <StackPanel
- Canvas.Left="921.095" Canvas.Top="264.326" HorizontalAlignment="Left" VerticalAlignment="Top"
- Panel.ZIndex="99" Orientation="Vertical">
- <Button
- Width="70" Height="20" Margin="0,0,0,2" VerticalContentAlignment="Center"
- BorderThickness="0" Content="旋转电机点动" FontSize="8" Foreground="White"
- PreviewMouseLeftButtonDown="Button_PreviewMouseLeftButtonDown"
- PreviewMouseLeftButtonUp="Button_PreviewMouseLeftButtonUp"
- Style="{StaticResource ButtonStyle}"
- Tag="反应釜旋转电机点动" />
- </StackPanel>
- <StackPanel
- Canvas.Left="800" Canvas.Top="440.853" HorizontalAlignment="Left" VerticalAlignment="Top"
- Panel.ZIndex="99" Orientation="Vertical" Visibility="Collapsed">
- <RadioButton
- Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="反应釜升温:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="反应釜升温" />
- <RadioButton
- Width="70" Height="20" BorderThickness="0" Click="close_Click"
- Content="反应釜升温:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="反应釜升温" />
- </StackPanel>
- <StackPanel
- Canvas.Left="886.095" Canvas.Top="440.953" HorizontalAlignment="Left" VerticalAlignment="Top"
- Panel.ZIndex="99" Orientation="Vertical" Visibility="Collapsed">
- <RadioButton
- Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="反应釜降温:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="反应釜降温" />
- <RadioButton
- Width="70" Height="20" BorderThickness="0" Click="close_Click"
- Content="反应釜降温:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="反应釜降温" />
- </StackPanel>
- <StackPanel
- Canvas.Left="886.095" Canvas.Top="389.9" HorizontalAlignment="Left" VerticalAlignment="Top"
- Panel.ZIndex="99" Orientation="Vertical" Visibility="Collapsed">
- <RadioButton
- Width="70" Height="20" BorderThickness="0" Click="open_Click"
- Content="冷凝水罐降温:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="冷凝水罐降温" />
- <RadioButton
- Width="70" Height="20" BorderThickness="0" Click="close_Click"
- Content="冷凝水罐降温:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="冷凝水罐降温" />
- </StackPanel>
- <StackPanel
- Canvas.Left="800" Canvas.Top="78" HorizontalAlignment="Left" VerticalAlignment="Top"
- Panel.ZIndex="99" Orientation="Vertical">
- <RadioButton
- Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="反应釜泄压阀:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="反应釜泄压阀" />
- <RadioButton
- Width="70" Height="20" BorderThickness="0" Click="close_Click"
- Content="反应釜泄压阀:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="反应釜泄压阀" />
- </StackPanel>
- <!-- 之前抽真空阀叫排热空气阀,后面改了 -->
- <StackPanel
- Canvas.Left="607" Canvas.Top="230" HorizontalAlignment="Left" VerticalAlignment="Center"
- Panel.ZIndex="99" Orientation="Vertical">
- <RadioButton
- Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="抽真空阀:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="抽真空阀" />
- <RadioButton
- Width="70" Height="20" BorderThickness="0" Click="close_Click"
- Content="抽真空阀:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="抽真空阀" />
- </StackPanel>
- <StackPanel
- Canvas.Left="632" Canvas.Top="149" HorizontalAlignment="Left" VerticalAlignment="Center"
- Panel.ZIndex="99" Orientation="Vertical">
- <RadioButton
- Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="热气排空阀:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="热气排空阀" />
- <RadioButton
- Width="70" Height="20" BorderThickness="0" Click="close_Click"
- Content="热气排空阀:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="热气排空阀" />
- </StackPanel>
- <StackPanel
- Canvas.Left="496" Canvas.Top="99" HorizontalAlignment="Left" VerticalAlignment="Center"
- Panel.ZIndex="99" Orientation="Vertical">
- <RadioButton
- Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="冷凝水进气阀:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="冷凝水进气阀" />
- <RadioButton
- Width="70" Height="20" BorderThickness="0" Click="close_Click"
- Content="冷凝水进气阀:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="冷凝水进气阀" />
- </StackPanel>
- <StackPanel
- Canvas.Left="478" Canvas.Top="251" HorizontalAlignment="Left" VerticalAlignment="Center"
- Panel.ZIndex="99" Orientation="Vertical">
- <RadioButton
- Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="反应釜排水阀:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="反应釜排水阀" />
- <RadioButton
- Width="70" Height="20" BorderThickness="0" Click="close_Click"
- Content="反应釜排水阀:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="反应釜排水阀" />
- </StackPanel>
-
- <StackPanel
- Canvas.Left="364" Canvas.Top="285" Width="102" HorizontalAlignment="Left"
- VerticalAlignment="Center" Panel.ZIndex="99" Orientation="Vertical">
- <RadioButton
- Width="85" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="反应釜出冷却水阀:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="反应釜出冷却水阀" />
- <RadioButton
- Width="85" Height="20" BorderThickness="0" Click="close_Click"
- Content="反应釜出冷却水阀:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="反应釜出冷却水阀" />
- </StackPanel>
- <StackPanel
- Canvas.Left="543" Canvas.Top="370" HorizontalAlignment="Left" VerticalAlignment="Top"
- Panel.ZIndex="99" Orientation="Vertical">
- <RadioButton
- Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="进清水阀:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="反应釜进清水阀" />
- <RadioButton
- Width="70" Height="20" BorderThickness="0" Click="close_Click"
- Content="进清水阀:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="反应釜进清水阀" />
- </StackPanel>
-
-
- <StackPanel
- Canvas.Left="306" Canvas.Top="378" HorizontalAlignment="Center" VerticalAlignment="Top"
- Panel.ZIndex="99" Orientation="Vertical">
- <RadioButton
- Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="压缩空气进气阀:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="反应釜压缩空气进气阀" />
- <RadioButton
- Width="70" Height="20" BorderThickness="0" Click="close_Click"
- Content="压缩空气进气阀:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="反应釜压缩空气进气阀" />
- </StackPanel>
- <StackPanel
- Canvas.Left="503" Canvas.Top="446" HorizontalAlignment="Left" VerticalAlignment="Center"
- Panel.ZIndex="99" Orientation="Vertical">
- <RadioButton
- Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="反应釜进卤水阀:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="反应釜进卤水阀" />
- <RadioButton
- Width="70" Height="20" BorderThickness="0" Click="close_Click"
- Content="反应釜进卤水阀:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="反应釜进卤水阀" />
- </StackPanel>
- <StackPanel
- Canvas.Left="95" Canvas.Top="95" HorizontalAlignment="Center" VerticalAlignment="Top"
- Panel.ZIndex="99" Orientation="Vertical">
- <RadioButton
- Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="冷凝水罐真空阀:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="冷凝水罐真空阀" />
- <RadioButton
- Width="70" Height="20" BorderThickness="0" Click="close_Click"
- Content="冷凝水罐真空阀:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="冷凝水罐真空阀" />
- </StackPanel>
- <StackPanel
- Canvas.Left="141" Canvas.Top="148" HorizontalAlignment="Center" VerticalAlignment="Top"
- Panel.ZIndex="99" Orientation="Vertical">
- <RadioButton
- Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="冷凝水罐进水阀:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="冷凝水罐进水阀" />
- <RadioButton
- Width="70" Height="20" BorderThickness="0" Click="close_Click"
- Content="冷凝水罐进水阀:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="冷凝水罐进水阀" />
- </StackPanel>
- <StackPanel
- Canvas.Left="14" Canvas.Top="249" HorizontalAlignment="Center" VerticalAlignment="Top"
- Panel.ZIndex="99" Orientation="Vertical">
- <RadioButton
- Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="空压机:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="空压机启动" />
- <RadioButton
- Width="70" Height="20" BorderThickness="0" Click="close_Click"
- Content="空压机:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="空压机启动" />
-
- </StackPanel>
- <Button
- Canvas.Left="133" Canvas.Top="283" Width="100" Height="20"
- HorizontalAlignment="Left" VerticalAlignment="Top" Panel.ZIndex="99" BorderThickness="0"
- Click="open_Click" Content="称重水罐重量清零" FontSize="8" Foreground="White"
- Style="{StaticResource ButtonStyle}"
- Tag="称重水罐重量清零" />
- <Button
- Canvas.Left="53" Canvas.Top="467" Width="100" Height="20"
- HorizontalAlignment="Left" VerticalAlignment="Top" Panel.ZIndex="99" BorderThickness="0"
- Click="open_Click" Content="卤水配制罐重量清零" FontSize="8" Foreground="White"
- Style="{StaticResource ButtonStyle}"
- Tag="卤水配制罐重量清零" />
-
- <!--#region 进卤水阀、压缩空气进气阀连接处-->
- <Image
- Canvas.Left="429" Canvas.Top="59" Width="235" Height="264"
- HorizontalAlignment="Left" VerticalAlignment="Center" Source="../50L/Page/罐.png">
- <Image.RenderTransform>
- <TransformGroup>
- <ScaleTransform ScaleX="-1.0" />
- </TransformGroup>
- </Image.RenderTransform>
- </Image>
- <Image
- Canvas.Left="700" Canvas.Top="128" Canvas.Right="0" Width="300"
- Height="224" HorizontalAlignment="Center" VerticalAlignment="Center" Source="../50L/Page/50L反应釜.png" />
- <CheckBox
- Canvas.Left="800" Canvas.Top="195.5" Canvas.Right="100" HorizontalAlignment="Center"
- VerticalAlignment="Top" Background="Red"
- IsChecked="{Binding DeviceStatus.ReactTurnMotor}"
- IsEnabled="False"
- Style="{StaticResource move}" />
- <local:BrineTank
- Canvas.Left="71" Canvas.Top="400" Width="78" HorizontalAlignment="Center"
- VerticalAlignment="Top" />
- <!--#region 标记信息-->
- <TextBlock
- Canvas.Left="292" Canvas.Top="257" HorizontalAlignment="Left" VerticalAlignment="Center"
- FontSize="12" Foreground="White" Text="称重水罐" />
- <TextBlock
- Canvas.Left="340" Canvas.Top="126" HorizontalAlignment="Left" VerticalAlignment="Center"
- FontSize="10" Foreground="White" Text="冷
凝
水
罐" />
- <TextBlock
- Canvas.Left="933" Canvas.Top="204" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Center" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.ReactHomeBit, Converter={StaticResource BoolToColorConverter}}"
- Text="⚫" TextAlignment="Center" />
- <TextBlock
- Canvas.Left="927" Canvas.Top="224" Canvas.Right="384.8" HorizontalAlignment="Left"
- VerticalAlignment="Center" FontSize="12" Foreground="White" Text="反应釜
原点"
- TextAlignment="Center" />
- <TextBlock
- Canvas.Left="875" Canvas.Top="118" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.ReactPressureReliefValve, Converter={StaticResource BoolToColorConverter}}"
- Text="⚫" TextAlignment="Center" />
- <!--#region 模拟量反馈-->
- <TextBlock
- Canvas.Left="799" Canvas.Top="265" Width="110" HorizontalAlignment="Center"
- VerticalAlignment="Top" d:Text="温度:199℃" Foreground="Red"
- Text="{Binding DeviceStatus.ReactTemp, StringFormat=温度:\{0:F2\}℃}"
- TextAlignment="Center" />
- <TextBlock
- Canvas.Left="768" Canvas.Top="30" Width="123" HorizontalAlignment="Left"
- VerticalAlignment="Top" d:Text="蒸汽压力:0.62MPa" Foreground="Red"
- Text="{Binding DeviceStatus.ReactSteamPressure, StringFormat=蒸汽压力:\{0:F2\}MPa}"
- TextAlignment="Center" />
- <TextBlock
- Canvas.Left="768" Canvas.Top="50" Width="123" HorizontalAlignment="Left"
- VerticalAlignment="Top" d:Text="蒸汽流量:30.02m³/H" Foreground="Red"
- Text="{Binding DeviceStatus.ReactSteamFlow, StringFormat=蒸汽流量:\{0:F2\}m³/H}"
- TextAlignment="Center" />
- <TextBlock
- Canvas.Left="377" Canvas.Top="156" Width="135" HorizontalAlignment="Center"
- VerticalAlignment="Top" d:Text="冷凝水罐温度:30.02℃" Foreground="Red"
- Text="{Binding DeviceStatus.ColdWaterTankTemp, StringFormat=冷凝水罐温度:\{0:F2\}℃}"
- TextAlignment="Center" />
- <TextBlock
- Canvas.Left="379" Canvas.Top="171" Width="145" HorizontalAlignment="Center"
- VerticalAlignment="Top" d:Text="冷凝水罐湿度:30.20%RH" Foreground="Red"
- Text="{Binding DeviceStatus.ColdWaterTankHumidity, StringFormat=冷凝水罐湿度:\{0:F2\}%RH}"
- TextAlignment="Center" />
- <TextBlock
- Canvas.Left="57" Canvas.Top="44" Width="98" HorizontalAlignment="Left"
- VerticalAlignment="Center" d:Text="流量:30.02m³/H" Foreground="Red"
- Text="{Binding DeviceStatus.VacuumFlow, StringFormat=流量:\{0:F2\}m³/H}"
- TextAlignment="Center" />
- <TextBlock
- Canvas.Left="261" Canvas.Top="274" Width="107" Height="18"
- HorizontalAlignment="Left" VerticalAlignment="Center" d:Text="重量:30.22Kg" Foreground="Red"
- Text="{Binding DeviceStatus.WaterTankWeight, StringFormat=重量:\{0:F2\}Kg}"
- TextAlignment="Center" />
- <TextBlock
- Canvas.Left="799" Canvas.Top="186" Width="110" HorizontalAlignment="Left"
- VerticalAlignment="Top" d:Text="角度:30.0°" Foreground="Red"
- Text="{Binding DeviceStatus.ReactEncoderValue, StringFormat=角度:\{0:F2\}°}"
- TextAlignment="Center" />
- <TextBlock
- Canvas.Left="234" Canvas.Top="2" Width="110" HorizontalAlignment="Left"
- VerticalAlignment="Center" d:Text="开度:13.22" Foreground="Red"
- Text="{Binding DeviceStatus.SteamProportValveRealOpening, StringFormat=开度:\{0:F2\}}"
- TextAlignment="Center" />
- <TextBlock
- Canvas.Left="60" Canvas.Top="426" Width="110" HorizontalAlignment="Center"
- VerticalAlignment="Top" d:Text="重量:30.23Kg" Foreground="Red"
- Text="{Binding DeviceStatus.BrineTankWeight, StringFormat=重量:\{0:F2\}Kg}"
- TextAlignment="Center" />
- <TextBlock
- Canvas.Left="799" Canvas.Top="281" Width="110" HorizontalAlignment="Center"
- VerticalAlignment="Top" d:Text="压力:0.53MPa" Foreground="Red"
- Text="{Binding DeviceStatus.ReactPressure, StringFormat=压力:\{0:F2\}MPa}"
- TextAlignment="Center" />
-
- <!--#region 冷却水出水阀-->
- <bpa:PipeLineV
- Canvas.Left="735" Canvas.Top="224.571" Canvas.Right="260" Width="10"
- Height="67" HorizontalAlignment="Center" VerticalAlignment="Top" LineWidth="1">
- <bpa:PipeLineV.Fill>
- <MultiBinding Converter="{StaticResource MultiBoolDeviceControl}" ConverterParameter="2">
- <Binding Path="DeviceStatus.ReactOutHotGasValve" />
- <Binding Path="DeviceStatus.ReactDrainValve" />
- </MultiBinding>
- </bpa:PipeLineV.Fill>
- <bpa:PipeLineV.Direction>
- <MultiBinding Converter="{StaticResource MultiBoolDeviceControl}" ConverterParameter="1">
- <Binding Path="DeviceStatus.ReactOutHotGasValve" />
- <Binding Path="DeviceStatus.ReactDrainValve" />
- </MultiBinding>
- </bpa:PipeLineV.Direction>
- </bpa:PipeLineV>
- <!--#region 冷凝水罐进气阀-->
- <bpa:PipeLineV
- Canvas.Left="591" Canvas.Top="73" Canvas.Right="404.2" Width="10"
- Height="137" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="2"
- Direction="{Binding DeviceStatus.ColdWaterTankInAirValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ColdWaterTankInAirValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="1" />
- <bpa:PipeLineBL
- Canvas.Left="585.8" Canvas.Top="63.4" Canvas.Right="404.2" Width="20"
- Height="20" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="2"
- Direction="{Binding DeviceStatus.ColdWaterTankInAirValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ColdWaterTankInAirValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="10" Speed="1.5" />
- <bpa:PipeLineH
- Canvas.Left="349" Canvas.Top="63" Canvas.Right="413.9" Width="238"
- Height="10" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="2"
- Direction="{Binding DeviceStatus.ColdWaterTankInAirValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ColdWaterTankInAirValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="1" />
- <bpa:PipeLineBR
- Canvas.Left="339" Canvas.Top="63" Canvas.Right="480.2" Width="20"
- Height="20" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="2"
- Direction="{Binding DeviceStatus.ColdWaterTankInAirValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ColdWaterTankInAirValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="10" Speed="1.5" />
- <bpa:HandValve
- Canvas.Left="603" Canvas.Top="114" Canvas.Right="380.8" Width="32"
- Height="32" HorizontalAlignment="Center" VerticalAlignment="Top"
- EdgeColor="{Binding DeviceStatus.ColdWaterTankInAirValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- OpenEnable="{Binding DeviceStatus.ColdWaterTankInAirValve}"
- Tag="冷凝水进气阀">
- <bpa:HandValve.RenderTransform>
- <RotateTransform Angle="90" />
- </bpa:HandValve.RenderTransform>
- </bpa:HandValve>
- <TextBlock
- Canvas.Left="607" Canvas.Top="68" Canvas.Right="384.8" HorizontalAlignment="Center"
- VerticalAlignment="Top" FontSize="12" Foreground="White"
- Text="冷
凝
水
罐
进
气
阀"
- TextAlignment="Center" />
-
- <!--#region 热气排空阀-->
- <bpa:PipeLineH
- Canvas.Left="601" Canvas.Top="215" Canvas.Right="339.4" Width="78"
- Height="10" HorizontalAlignment="Left" VerticalAlignment="Center"
- Direction="{Binding DeviceStatus.HotGasEmptyValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.HotGasEmptyValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="1" Speed="0.23" />
- <bpa:HandValve
- Canvas.Left="662" Canvas.Top="207" Canvas.Right="343.4" Width="32"
- Height="32" HorizontalAlignment="Left" VerticalAlignment="Center"
- EdgeColor="{Binding DeviceStatus.HotGasEmptyValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- OpenEnable="{Binding DeviceStatus.HotGasEmptyValve}"
- Tag="热气排空阀" />
- <TextBlock
- Canvas.Left="639" Canvas.Top="192" Canvas.Right="312.8" HorizontalAlignment="Left"
- VerticalAlignment="Center" FontSize="12" Foreground="White" Text="热气排空阀"
- TextAlignment="Center" />
- <!--#region 抽真空阀-->
- <bpa:PipeLineH
- Canvas.Left="600.3" Canvas.Top="295.5" Canvas.Right="269.7" Width="130"
- Height="10" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="2"
- Direction="{Binding DeviceStatus.ReactOutHotGasValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ReactOutHotGasValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="1" />
- <bpa:PipeLineTR
- Canvas.Left="591" Canvas.Top="290.5" Canvas.Right="399.2" Width="20"
- Height="20" HorizontalAlignment="Center" VerticalAlignment="Top"
- Direction="{Binding DeviceStatus.ReactOutHotGasValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ReactOutHotGasValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="10" Speed="1.5" />
- <bpa:PipeLineV
- Canvas.Left="591" Canvas.Top="210" Canvas.Right="404.2" Width="10"
- Height="81" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="2"
- Direction="{Binding DeviceStatus.ReactOutHotGasValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ReactOutHotGasValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="1" />
- <bpa:HandValve
- Canvas.Left="635.883" Canvas.Top="288.036" Canvas.Right="380.8" Width="32"
- Height="32" HorizontalAlignment="Center" VerticalAlignment="Top"
- EdgeColor="{Binding DeviceStatus.ReactOutHotGasValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- OpenEnable="{Binding DeviceStatus.ReactOutHotGasValve}"
- Tag="抽真空阀" />
- <!-- 之前抽真空阀叫排热空气阀,后面改了 -->
- <TextBlock
- Canvas.Left="618" Canvas.Top="272" Canvas.Right="384.8" HorizontalAlignment="Left"
- VerticalAlignment="Center" FontSize="12" Foreground="White" Text="抽真空阀"
- TextAlignment="Center" />
- <!--#region 反应釜排水阀-->
- <bpa:PipeLineV
- Canvas.Left="735" Canvas.Top="292" Canvas.Right="260" Width="10"
- Height="22" HorizontalAlignment="Center" VerticalAlignment="Top"
- Direction="{Binding DeviceStatus.ReactDrainValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ReactDrainValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="1" />
- <bpa:PipeLineTL
- Canvas.Left="725" Canvas.Top="313" Canvas.Right="255" Width="20"
- Height="20" HorizontalAlignment="Center" VerticalAlignment="Top"
- Direction="{Binding DeviceStatus.ReactDrainValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ReactDrainValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="10" Speed="1.5" />
- <bpa:PipeLineH
- Canvas.Left="505" Canvas.Top="318" Canvas.Right="269" Width="226"
- Height="10" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="2"
- Direction="{Binding DeviceStatus.ReactDrainValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ReactDrainValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="1" />
- <bpa:HandValve
- Canvas.Left="514" Canvas.Top="310" Canvas.Right="339" Width="32"
- Height="32" HorizontalAlignment="Left" VerticalAlignment="Center"
- EdgeColor="{Binding DeviceStatus.ReactDrainValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- OpenEnable="{Binding DeviceStatus.ReactDrainValve}"
- Tag="反应釜排水阀" />
- <TextBlock
- Canvas.Left="484" Canvas.Top="297" HorizontalAlignment="Left" VerticalAlignment="Center"
- FontSize="12" Foreground="White" Text="反应釜排水阀" TextAlignment="Center" />
- <!--#region 冷却水、疏水-->
- <bpa:PipeLineV
- Canvas.Left="744" Canvas.Top="225" Canvas.Right="250.9" Width="10"
- Height="122" HorizontalAlignment="Center" VerticalAlignment="Top"
- Direction="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=7, Converter={StaticResource deviceConvert}}"
- LineWidth="1" />
- <bpa:PipeLineTL
- Canvas.Left="734" Canvas.Top="347" Canvas.Right="245.9" Width="20"
- Height="20" HorizontalAlignment="Center" VerticalAlignment="Top"
- Direction="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=7, Converter={StaticResource deviceConvert}}"
- LineWidth="10" Speed="1.5" />
- <bpa:PipeLineH
- Canvas.Left="340" Canvas.Top="352" Canvas.Right="260.6" Width="399"
- Height="10" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="2"
- Direction="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=7, Converter={StaticResource deviceConvert}}"
- LineWidth="1" Speed="16" />
- <bpa:HandValve
- Canvas.Left="406" Canvas.Top="336" Canvas.Right="360" Width="32"
- Height="32" HorizontalAlignment="Center" VerticalAlignment="Top"
- EdgeColor="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=6, Converter={StaticResource deviceConvert}}"
- OpenEnable="{Binding DeviceStatus.ReactOutColdValve}"
- Tag="反应釜出冷却水阀" />
- <TextBlock
- Canvas.Left="378" Canvas.Top="330" HorizontalAlignment="Left" VerticalAlignment="Center"
- FontSize="12" Foreground="White" Text="冷却水、疏水" TextAlignment="Center" />
- <!--#region 进清水阀、进卤水阀、压缩空气进气阀进连接处-->
- <bpa:PipeLineV
- Canvas.Left="751.7" Canvas.Top="224.571" Canvas.Right="243.3" Width="10"
- Height="160" HorizontalAlignment="Center" VerticalAlignment="Top" LineWidth="1">
- <bpa:PipeLineV.Fill>
- <MultiBinding Converter="{StaticResource MultiBoolDeviceControl}" ConverterParameter="2">
- <Binding Path="DeviceStatus.ReactInCleanWaterValve" />
- <Binding Path="DeviceStatus.ReactPressureAirInValve" />
- <Binding Path="DeviceStatus.ReactInBrineWaterValve" />
- </MultiBinding>
- </bpa:PipeLineV.Fill>
- <bpa:PipeLineV.Direction>
- <MultiBinding Converter="{StaticResource MultiBoolDeviceControl}" ConverterParameter="5">
- <Binding Path="DeviceStatus.ReactInCleanWaterValve" />
- <Binding Path="DeviceStatus.ReactPressureAirInValve" />
- <Binding Path="DeviceStatus.ReactInBrineWaterValve" />
- </MultiBinding>
- </bpa:PipeLineV.Direction>
- </bpa:PipeLineV>
- <!--#region 进清水阀-->
- <bpa:PipeLineH
- Canvas.Left="641" Canvas.Top="389" Canvas.Right="272.9" Width="106"
- Height="10" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="1"
- Direction="{Binding DeviceStatus.ReactInCleanWaterValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ReactInCleanWaterValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="1" />
- <bpa:HandValve
- Canvas.Left="646" Canvas.Top="373" Canvas.Right="384" Width="32"
- Height="32" HorizontalAlignment="Center" VerticalAlignment="Top"
- EdgeColor="{Binding DeviceStatus.ReactInCleanWaterValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- OpenEnable="{Binding DeviceStatus.ReactInCleanWaterValve}"
- Tag="反应釜进清水阀" />
- <TextBlock
- Canvas.Left="628" Canvas.Top="362" HorizontalAlignment="Center" VerticalAlignment="Top"
- FontSize="12" Foreground="White" Text="进清水阀" TextAlignment="Center" />
- <bpa:PipeLineV
- Canvas.Left="751.5" Canvas.Top="385" Canvas.Right="277.3" Width="10"
- Height="29" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="2"
- LineWidth="1" Speed="1.5">
- <bpa:PipeLineV.Fill>
- <MultiBinding Converter="{StaticResource MultiBoolDeviceControl}" ConverterParameter="2">
- <Binding Path="DeviceStatus.ReactPressureAirInValve" />
- <Binding Path="DeviceStatus.ReactInBrineWaterValve" />
- </MultiBinding>
- </bpa:PipeLineV.Fill>
- <bpa:PipeLineV.Direction>
- <MultiBinding Converter="{StaticResource MultiBoolDeviceControl}" ConverterParameter="5">
- <Binding Path="DeviceStatus.ReactPressureAirInValve" />
- <Binding Path="DeviceStatus.ReactInBrineWaterValve" />
- </MultiBinding>
- </bpa:PipeLineV.Direction>
- </bpa:PipeLineV>
- <!--#region 进卤水阀-->
- <bpa:PipeLineV
- Canvas.Left="751.5" Canvas.Top="414" Canvas.Right="277.3" Width="10"
- Height="20" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="2"
- Direction="{Binding DeviceStatus.ReactInBrineWaterValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ReactInBrineWaterValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="1" Speed="1" />
- <TextBlock
- Canvas.Left="574" Canvas.Top="447" Canvas.Right="240" HorizontalAlignment="Left"
- VerticalAlignment="Center" FontSize="12" Foreground="White" Text="进卤水阀" />
- <bpa:MotorTwo
- Canvas.Left="244" Canvas.Top="463" Canvas.Right="197.5" Width="25"
- Height="12" HorizontalAlignment="Center" VerticalAlignment="Top">
- <bpa:MotorTwo.RenderTransform>
- <RotateTransform Angle="180" />
- </bpa:MotorTwo.RenderTransform>
- </bpa:MotorTwo>
- <TextBlock
- Canvas.Left="205" Canvas.Top="465" Canvas.Right="206.5" HorizontalAlignment="Left"
- VerticalAlignment="Top" Foreground="White" Text="卤水泵" />
- <cc:ValveWithCommandState MouseLeftButtonDown="Canvas_MouseDown"
- Canvas.Left="394" Canvas.Top="377" Tag="反应釜压缩空气进气阀"
- CommandColor="{Binding DeviceStatus.IsSetReactPressureAirInValve, Converter={StaticResource BoolToColorConverter}}"
- EdgeColor="{Binding DeviceStatus.ReactPressureAirInValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- OpenEnable="{Binding DeviceStatus.ReactPressureAirInValve}" HorizontalAlignment="Center" VerticalAlignment="Top" Width="35" Height="24" />
-
-
- <Grid
- Canvas.Left="384" Canvas.Top="399" Panel.ZIndex="8" MouseLeftButtonDown="Canvas_MouseDown">
- <bpa:HandValve
- Canvas.Right="400"
- EdgeColor="{Binding DeviceStatus.ReactPressureAirInValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- OpenEnable="{Binding DeviceStatus.ReactPressureAirInValve}"
- Style="{StaticResource BaseHandValveStyle}"
- Tag="反应釜压缩空气进气阀" />
- <TextBlock
- d:Foreground="Red"
- Foreground="{Binding DeviceStatus.IsSetReactPressureAirInValve, Converter={StaticResource BoolToColorConverter}}"
- Style="{StaticResource CommandStateStyle}" />
- </Grid>
- <bpa:PipeLineH
- Canvas.Left="379" Canvas.Top="415" Canvas.Right="286.9" Width="368"
- Height="10" HorizontalAlignment="Center" VerticalAlignment="Center" d:Direction="1"
- Direction="{Binding DeviceStatus.ReactPressureAirInValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ReactPressureAirInValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="1" />
-
- <TextBlock
- Canvas.Left="350" Canvas.Top="423" HorizontalAlignment="Left" VerticalAlignment="Top"
- FontSize="12" Foreground="White" Text="压缩空气进气阀" TextAlignment="Center" />
-
- <!--#region 冷却水进水阀-->
- <bpa:PipeLineV
- Canvas.Left="744" Canvas.Top="61" Canvas.Right="255.9" Width="10"
- Height="140" HorizontalAlignment="Center" VerticalAlignment="Top" LineWidth="1">
- <bpa:PipeLineV.Fill>
- <MultiBinding Converter="{StaticResource MultiBoolToColorConverter}" ConverterParameter="Lime,Red">
- <Binding Path="DeviceStatus.ReactInColdValve" />
- <Binding Path="DeviceStatus.ReactInSteamValue" />
- </MultiBinding>
- </bpa:PipeLineV.Fill>
- <bpa:PipeLineV.Direction>
- <MultiBinding Converter="{StaticResource MultiBoolDeviceControl}" ConverterParameter="1">
- <Binding Path="DeviceStatus.ReactInColdValve" />
- <Binding Path="DeviceStatus.ReactInSteamValue" />
- </MultiBinding>
- </bpa:PipeLineV.Direction>
- </bpa:PipeLineV>
- <bpa:PipeLineBL
- Canvas.Left="739.1" Canvas.Top="51.0" Canvas.Right="250.9" Width="20"
- Height="20" HorizontalAlignment="Center" VerticalAlignment="Top"
- Direction="{Binding DeviceStatus.ReactInColdValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ReactInColdValve, ConverterParameter=6, Converter={StaticResource deviceConvert}}"
- LineWidth="10" Speed="1.5" />
- <bpa:PipeLineH
- Canvas.Left="220" Canvas.Top="51" Canvas.Right="260.7" Width="519"
- Height="10" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="2"
- Direction="{Binding DeviceStatus.ReactInColdValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ReactInColdValve, ConverterParameter=6, Converter={StaticResource deviceConvert}}"
- LineWidth="1" Speed="1.55" />
- <bpa:PipeLineH
- Canvas.Left="252" Canvas.Top="203" Width="26" Height="10"
- HorizontalAlignment="Center" VerticalAlignment="Center" d:Direction="1"
- Direction="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=6, Converter={StaticResource deviceConvert}}"
- LineWidth="1" />
- <bpa:PipeLineTR
- Canvas.Left="242" Canvas.Top="198" Width="20" Height="20"
- HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="2"
- Direction="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=6, Converter={StaticResource deviceConvert}}"
- LineWidth="10" Speed="1" />
- <bpa:HandValve
- Canvas.Left="670" Canvas.Top="36" Width="32" Height="32"
- HorizontalAlignment="Center" VerticalAlignment="Top"
- EdgeColor="{Binding DeviceStatus.ReactInColdValve, ConverterParameter=6, Converter={StaticResource deviceConvert}}"
- OpenEnable="{Binding DeviceStatus.ReactInColdValve}" />
- <TextBlock
- Canvas.Left="640" Canvas.Top="30" HorizontalAlignment="Left" VerticalAlignment="Center"
- FontSize="12" Foreground="White" Text="冷却水进水阀" TextAlignment="Center" />
-
- <!--#region 风机-->
- <bpa:PipeLineBL
- Canvas.Left="285" Canvas.Top="69" Width="20" Height="20"
- HorizontalAlignment="Left" VerticalAlignment="Center"
- Direction="{Binding DeviceStatus.ColdWaterTankVacuumValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ColdWaterTankVacuumValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="10" Speed="1" />
- <bpa:PipeLineH
- Canvas.Left="74" Canvas.Top="69" Width="54" Height="10"
- HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="1"
- Direction="{Binding DeviceStatus.Fans, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.Fans, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="1" />
- <CheckBox
- Canvas.Left="-1" Canvas.Top="49" Width="92" Height="81"
- HorizontalAlignment="Left" VerticalAlignment="Top"
- IsChecked="{Binding DeviceStatus.Fans}"
- IsEnabled="False"
- Style="{StaticResource wind}" />
- <TextBlock
- Canvas.Left="38" Canvas.Top="213" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Center" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.CompressorRunning, Converter={StaticResource BoolToColorConverter}}"
- Text="⚫" TextAlignment="Center" />
- <TextBlock
- Canvas.Left="10" Canvas.Top="232" Canvas.Right="384.8" HorizontalAlignment="Center"
- VerticalAlignment="Top" FontSize="12" Foreground="White" Text="空压机启动反馈"
- TextAlignment="Center" />
- <TextBlock
- Canvas.Left="38" Canvas.Top="138" HorizontalAlignment="Center" VerticalAlignment="Top"
- Foreground="White" Text="真空泵" />
- <bpa:HandValve
- Canvas.Left="122" Canvas.Top="54" Canvas.Right="343.4" Width="32"
- Height="32" HorizontalAlignment="Center" VerticalAlignment="Top"
- EdgeColor="{Binding DeviceStatus.ColdWaterTankVacuumValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- OpenEnable="{Binding DeviceStatus.ColdWaterTankVacuumValve}"
- Tag="冷凝水罐真空阀" />
- <TextBlock
- Canvas.Left="93" Canvas.Top="80" HorizontalAlignment="Left" VerticalAlignment="Center"
- FontSize="12" Foreground="White" Text="冷凝水管负压阀" TextAlignment="Center" />
- <bpa:PipeLineH
- Canvas.Left="437" Canvas.Top="22" Canvas.Right="260.7" Width="303"
- Height="10" HorizontalAlignment="Left" VerticalAlignment="Center" d:Direction="1"
- Direction="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="1" Speed="25" />
- <bpa:HandValve
- Canvas.Left="360" Canvas.Top="7" Width="32" Height="32"
- HorizontalAlignment="Center" VerticalAlignment="Top"
- EdgeColor="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- OpenEnable="{Binding DeviceStatus.ReactInSteamValue}" />
- <TextBlock
- Canvas.Left="336" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="12"
- Foreground="White" Text="蒸汽比例阀" TextAlignment="Center" />
- <bpa:HandValve
- Canvas.Left="427" Canvas.Top="7" Width="32" Height="32"
- HorizontalAlignment="Center" VerticalAlignment="Top"
- EdgeColor="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- OpenEnable="{Binding DeviceStatus.ReactInSteamValue}" />
- <TextBlock
- Canvas.Left="417" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="12"
- Foreground="White" Text="蒸汽阀" TextAlignment="Center" />
- <bpa:PipeLineBL
- Canvas.Left="739.1" Canvas.Top="21.963" Canvas.Right="250.9" Width="20"
- Height="20" HorizontalAlignment="Center" VerticalAlignment="Center"
- Direction="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="10" Speed="1.5" />
- <bpa:PipeLineV
- Canvas.Left="371" Canvas.Top="119" Canvas.Right="404.2" Width="10"
- Height="224" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="1"
- Direction="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=6, Converter={StaticResource deviceConvert}}"
- LineWidth="1" />
- <bpa:PipeLineBL
- Canvas.Left="361" Canvas.Top="99" Canvas.Right="404.2" Width="20"
- Height="20" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="1"
- Direction="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=6, Converter={StaticResource deviceConvert}}"
- LineWidth="6" Speed="1.5" />
- <bpa:PipeLineTL
- Canvas.Left="361" Canvas.Top="342" Canvas.Right="238.3" Width="20"
- Height="20" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="1"
- Direction="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=6, Converter={StaticResource deviceConvert}}"
- LineWidth="6" Speed="1.5" />
- <TextBlock
- Canvas.Left="798" Canvas.Top="120" Canvas.Right="312.8" HorizontalAlignment="Left"
- VerticalAlignment="Center" FontSize="12" Foreground="White" Text="反应釜泄压阀"
- TextAlignment="Center" />
- <bpa:HandValve
- Canvas.Left="226" Canvas.Top="175" Canvas.Right="343.4" Width="32"
- Height="32" HorizontalAlignment="Left" VerticalAlignment="Center"
- EdgeColor="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=6, Converter={StaticResource deviceConvert}}"
- OpenEnable="{Binding DeviceStatus.ColdWaterTankInWaterValve}"
- Tag="冷凝水罐进水阀">
- <bpa:HandValve.RenderTransform>
- <RotateTransform Angle="270" />
- </bpa:HandValve.RenderTransform>
- </bpa:HandValve>
- <bpa:PipeLineH
- Canvas.Left="603" Canvas.Top="438" Canvas.Right="257.5" Width="144"
- Height="10" HorizontalAlignment="Center" VerticalAlignment="Center" d:Direction="1"
- Direction="{Binding DeviceStatus.ReactInBrineWaterValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ReactInBrineWaterValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="1" Speed="10" />
- <TextBlock
- Canvas.Left="255" Canvas.Top="92" Canvas.Right="312.8" HorizontalAlignment="Center"
- VerticalAlignment="Top" FontSize="12" Foreground="White"
- Text="冷
凝
水
罐
进
水
阀"
- TextAlignment="Center" />
- <bpa:HandValve
- Canvas.Left="587" Canvas.Top="423" Canvas.Right="253.9" Width="32"
- Height="32" HorizontalAlignment="Center" VerticalAlignment="Top"
- EdgeColor="{Binding DeviceStatus.ReactInBrineWaterValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- OpenEnable="{Binding DeviceStatus.ReactInBrineWaterValve}"
- Tag="反应釜进卤水阀">
-
- </bpa:HandValve>
- <TextBlock
- Canvas.Left="85" Canvas.Top="410" HorizontalAlignment="Center" VerticalAlignment="Top"
- FontSize="12" Foreground="White" Text="卤水配制罐" />
- <bpa:Joint
- Canvas.Left="229" Canvas.Top="465" Canvas.Right="219.2" Width="20"
- Height=" 20" HorizontalAlignment="Left" VerticalAlignment="Center">
- <bpa:Joint.RenderTransform>
- <TransformGroup>
- <ScaleTransform />
- <SkewTransform />
- <RotateTransform Angle="180.434" />
- <TranslateTransform />
- </TransformGroup>
- </bpa:Joint.RenderTransform>
- </bpa:Joint>
- <GroupBox
- Canvas.Left="990" Canvas.Top="467" Foreground="White" Header="显示图例">
- <StackPanel Orientation="Vertical">
- <TextBlock
- HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="10" Foreground="Red"
- Text=" ⬛ :该阀/电机/功能指令为关闭" TextAlignment="Center" />
- <TextBlock
- HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="10" Foreground="Green"
- Text=" ⬛ :该阀/电机/功能指令为打开" TextAlignment="Center" />
- <TextBlock
- HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="10" Foreground="Red"
- Text="⚫ :该阀/电机/功能当前反馈状态为关闭" TextAlignment="Center" />
- <TextBlock
- HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="10" Foreground="Green"
- Text="⚫ :该阀/电机/功能当前反馈状态为打开" TextAlignment="Center" />
- </StackPanel>
- </GroupBox>
- <!--#region 联动按钮-->
- <GroupBox
- Canvas.Left="1037" Canvas.Top="51" HorizontalAlignment="Left" VerticalAlignment="Top"
- Foreground="White" Header="联动按钮">
- <StackPanel>
- <!--#region 排水启动-->
- <StackPanel Margin="10,5,0,5" Orientation="Horizontal">
- <StackPanel
- HorizontalAlignment="Center" VerticalAlignment="Center" Panel.ZIndex="99" Orientation="Vertical">
- <RadioButton
- Width="90" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="排水启动:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="排水启动" />
- <RadioButton
- Width="90" Height="20" BorderThickness="0" Click="close_Click"
- Content="排水启动:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="排水启动" />
- </StackPanel>
- <TextBlock
- Height="20" Margin="10,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center"
- d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetStartEmptyWater, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
- </StackPanel>
- <!--#endregion-->
- <!--#region 清洗启动-->
- <StackPanel Margin="10,5,0,5" Orientation="Horizontal">
- <StackPanel
- HorizontalAlignment="Center" VerticalAlignment="Center" Panel.ZIndex="99" Orientation="Vertical">
- <RadioButton
- Width="90" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="清洗启动:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="清洗启动按钮" />
- <RadioButton
- Width="90" Height="20" BorderThickness="0" Click="close_Click"
- Content="清洗启动:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="清洗启动按钮" />
- </StackPanel>
- <TextBlock
- Height="20" Margin="10,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center"
- d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetStartClean, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
- </StackPanel>
- <!--#endregion-->
- <!--#region 真空蒸馏-->
- <StackPanel Margin="10,5,0,5" Orientation="Horizontal">
- <StackPanel
- HorizontalAlignment="Center" VerticalAlignment="Center" Panel.ZIndex="99" Orientation="Vertical">
- <RadioButton
- Width="90" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="真空蒸馏:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="真空蒸馏" />
- <RadioButton
- Width="90" Height="20" BorderThickness="0" Click="close_Click"
- Content="真空蒸馏:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="真空蒸馏" />
- </StackPanel>
- <TextBlock
- Height="20" Margin="10,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center"
- d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetVacuumDistill, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
- </StackPanel>
- <!--#endregion-->
- <!--#region 反应釜回原点-->
- <StackPanel Margin="10,5,0,5" Orientation="Horizontal">
- <StackPanel
- HorizontalAlignment="Center" VerticalAlignment="Center" Panel.ZIndex="99" Orientation="Vertical">
- <RadioButton
- Width="90" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="反应釜回原点:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="反应釜回原点" />
- <RadioButton
- Width="90" Height="20" BorderThickness="0" Click="close_Click"
- Content="反应釜回原点:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="反应釜回原点" />
- </StackPanel>
- <TextBlock
- Height="20" Margin="10,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center"
- d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetReactHomeBit, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
- </StackPanel>
- <!--#endregion-->
- <!--#region 反应釜去加料位-->
- <StackPanel Margin="10,5,0,5" Orientation="Horizontal">
- <StackPanel
- HorizontalAlignment="Center" VerticalAlignment="Center" Panel.ZIndex="99" Orientation="Vertical">
- <RadioButton
- Width="90" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="反应釜去加料位:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="去加料位" />
- <RadioButton
- Width="90" Height="20" BorderThickness="0" Click="close_Click"
- Content="反应釜去加料位:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="去加料位" />
- </StackPanel>
- <TextBlock
- Height="20" Margin="10,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center"
- d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetGoAddPosition, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
- </StackPanel>
- <!--#endregion-->
- <!--#region 反应釜去倒料位-->
- <StackPanel Margin="10,5,0,5" Orientation="Horizontal">
- <StackPanel
- HorizontalAlignment="Center" VerticalAlignment="Center" Panel.ZIndex="99" Orientation="Vertical">
- <RadioButton
- Width="90" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="反应釜去倒料位:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="反应釜去倒料位" />
- <RadioButton
- Width="90" Height="20" BorderThickness="0" Click="close_Click"
- Content="反应釜去倒料位:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="反应釜去倒料位" />
- </StackPanel>
- <TextBlock
- Height="20" Margin="10,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center"
- d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetReactOut, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
- </StackPanel>
- <!--#endregion-->
- <!--#region 进卤水启动-->
- <StackPanel
- Width="127" Margin="10,5,0,5" Orientation="Horizontal">
- <StackPanel
- HorizontalAlignment="Center" VerticalAlignment="Center" Panel.ZIndex="99" Orientation="Vertical">
- <RadioButton
- Width="90" Height="20" Margin="0,0,0,2" BorderThickness="0"
- Click="open_Click" Content="进卤水启动:开" FontSize="8" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="进卤水启动" />
- <RadioButton
- Width="90" Height="20" BorderThickness="0" Click="close_Click"
- Content="进卤水启动:关" FontSize="8" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="进卤水启动" />
- </StackPanel>
- <!--<Button
- Width="90" Height="20" Panel.ZIndex="99" Click="open_Click"
- Content="进卤水启动" FontSize="12" Foreground="White"
- Style="{StaticResource ButtonStyle}"
- Tag="进卤水启动" />-->
- <TextBlock
- Height="20" Margin="10,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Center"
- d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetStartEnterBrine, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
-
- </StackPanel>
- </StackPanel>
- <!--#endregion-->
- </GroupBox>
- <!--#endregion-->
- <bpa:PipeLineTR
- Canvas.Left="591" Canvas.Top="210" Canvas.Right="399.2" Width="20"
- Height="20" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="1"
- Direction="{Binding DeviceStatus.HotGasEmptyValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.HotGasEmptyValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="10" Speed="1.5" />
- <TextBlock
- Canvas.Left="85" Canvas.Top="166" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Left" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetFans, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
- <TextBlock
- Canvas.Left="85" Canvas.Top="260" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Center" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetCompressorRunning, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
- <TextBlock
- Canvas.Left="170" Canvas.Top="106" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Left" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetColdWaterTankVacuumValve, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
- <TextBlock
- Canvas.Left="214" Canvas.Top="158" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetColdWaterTankInWaterValve, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
- <TextBlock
- Canvas.Left="569" Canvas.Top="110" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Center" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetColdWaterTankInAirValve, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
- <TextBlock
- Canvas.Left="705" Canvas.Top="159" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Center" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetHotGasEmptyValve, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
- <TextBlock
- Canvas.Left="680" Canvas.Top="240" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Left" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetReactOutHotGasValve, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
-
- <TextBlock
- Canvas.Left="550" Canvas.Top="262" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetReactDrainValve, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
- <TextBlock
- Canvas.Left="460" Canvas.Top="295" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetReactOutColdValve, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
- <TextBlock
- Canvas.Left="251" Canvas.Top="282" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Left" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetBrineTankZero, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
-
-
- <TextBlock
- Canvas.Left="618" Canvas.Top="379" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Left" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetReactInCleanWaterValve, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
- <TextBlock
- Canvas.Left="318" Canvas.Top="455" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Left" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetBrinePumpState, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
- <TextBlock
- Canvas.Left="168" Canvas.Top="467" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetBrineTankZero, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
- <TextBlock
- Canvas.Left="588" Canvas.Top="460" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetReactInBrineWaterValve, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
-
- <TextBlock
- Canvas.Left="844" Canvas.Top="392" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Left" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetGoAddPosition, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" Visibility="Collapsed" />
- <TextBlock
- Canvas.Left="898" Canvas.Top="434" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetReactEnter, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" Visibility="Collapsed" />
- <TextBlock
- Canvas.Left="950" Canvas.Top="392" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Left" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetReactOut, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" Visibility="Collapsed" />
- <TextBlock
- Canvas.Left="844" Canvas.Top="343" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Center" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetReactHomeBit, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" Visibility="Collapsed" />
- <TextBlock
- Canvas.Left="887" Canvas.Top="332" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetReactReverse, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
- <TextBlock
- Canvas.Left="996" Canvas.Top="264" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Center" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetReactTurnMotorJogging, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
- <TextBlock
- Canvas.Left="989" Canvas.Top="152" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Left" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetReactTurnMotor, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
-
- <TextBlock
- Canvas.Left="878" Canvas.Top="88" Canvas.Right="384.8" Height="20"
- HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="16"
- Foreground="{Binding DeviceStatus.IsSetReactPressureReliefValve, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
- <bpa:PipeLineTL
- Canvas.Left="730" Canvas.Top="290.5" Canvas.Right="260" Width="20"
- Height="20" HorizontalAlignment="Center" VerticalAlignment="Top"
- Direction="{Binding DeviceStatus.ReactOutHotGasValve, ConverterParameter=5, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ReactOutHotGasValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
- LineWidth="10" Speed="1.5" />
- <bpa:PipeLineBL
- Canvas.Left="233" Canvas.Top="50" Width="20" Height="20"
- HorizontalAlignment="Left" VerticalAlignment="Center"
- Direction="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
- Fill="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=6, Converter={StaticResource deviceConvert}}"
- LineWidth="10" Speed="2" />
- <!--#endregion-->
- </Canvas>
- </Viewbox>
- <Grid Grid.Row="2">
- <Grid.RowDefinitions>
- <RowDefinition Height="30" />
- <RowDefinition Height="50" />
- <RowDefinition />
- </Grid.RowDefinitions>
- <TextBlock
- Margin="20,0" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="20"
- Foreground="White" Text="参数控制及校准:" />
- <StackPanel
- Grid.Row="1" Margin="20,2,30,0" HorizontalAlignment="Left" VerticalAlignment="Bottom"
- Orientation="Horizontal">
- <RadioButton
- x:Name="reactorHeatUp" Width="150" Height="40" Content="反应釜升温"
- GroupName="heat" IsChecked="true"
- Style="{StaticResource RectangleRadioButtonStyle}" />
- <RadioButton
- x:Name="reactorCoolDown" Width="150" Height="40" Content="反应釜降温"
- GroupName="heat"
- Style="{StaticResource RectangleRadioButtonStyle}" />
- <RadioButton
- x:Name="coldWaterTankCoolDown" Width="150" Height="40" Content="冷凝水罐降温"
- GroupName="heat"
- Style="{StaticResource RectangleRadioButtonStyle}" />
- <RadioButton
- x:Name="tempratureAdjusting" Width="150" Height="40" Content="温度校准"
- GroupName="heat"
- Style="{StaticResource RectangleRadioButtonStyle}" />
- <RadioButton
- x:Name="reactorRotateSpeed" Width="150" Height="40" Content="反应釜旋转速度"
- GroupName="heat"
- Style="{StaticResource RectangleRadioButtonStyle}" />
- <RadioButton
- x:Name="steamParamsSet" Width="150" Height="40" Content="蒸汽及压力参数"
- GroupName="heat"
- Style="{StaticResource RectangleRadioButtonStyle}" />
- </StackPanel>
- <Border
- Grid.Row="2" Margin="20,0,30,10" BorderBrush="#ff2AB2E7" BorderThickness="2">
- <Grid>
- <!--#region 反应釜升温参数写入界面-->
- <WrapPanel
- Margin="0,15,0,0" d:Visibility="Visible"
- Visibility="{Binding ElementName=reactorHeatUp, Path=IsChecked, Converter={StaticResource BoolToVisibilityConvert}}">
- <StackPanel VerticalAlignment="Center" Orientation="Horizontal">
- <TextBlock
- Margin="40,0,20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
- Foreground="White" Text="反应釜升温设置温度:" />
- <TextBox
- x:Name="reactorHeatUpTemp" Width="120" HorizontalAlignment="Center" VerticalAlignment="Center"
- Text="0" />
- <TextBlock
- Margin="20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
- Foreground="White" Text="℃" />
- <RadioButton
- Width="100" Height="30" HorizontalAlignment="Right" VerticalAlignment="Center"
- BorderThickness="0" Click="TempSet_CLick" Content="启动" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="反应釜升温" />
- <RadioButton
- Width="100" Height="30" Margin="40,0,0,0" BorderThickness="0"
- Click="TempCLose_CLick" Content="停止" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="反应釜升温" />
- <TextBlock
- Margin="15,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="White"
- Text="当前状态:" TextAlignment="Center" />
- <TextBlock
- HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="20"
- Foreground="{Binding DeviceStatus.IsSetReactHeat, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
- </StackPanel>
- </WrapPanel>
- <!--#endregion-->
- <!--#region 反应釜降温参数写入界面-->
- <WrapPanel
- Margin="0,15,0,0" d:Visibility="Visible"
- Visibility="{Binding ElementName=reactorCoolDown, Path=IsChecked, Converter={StaticResource BoolToVisibilityConvert}}">
- <StackPanel VerticalAlignment="Center" Orientation="Horizontal">
- <TextBlock
- Margin="40,0,20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
- Foreground="White" Text="反应釜降温设置温度:" />
- <TextBox
- x:Name="reactorCoolDownTemp" Width="120" HorizontalAlignment="Center" VerticalAlignment="Center"
- Text="0" />
- <TextBlock
- Margin="20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
- Foreground="White" Text="℃" />
- <RadioButton
- Width="100" Height="30" HorizontalAlignment="Right" VerticalAlignment="Center"
- BorderThickness="0" Click="TempSet_CLick" Content="启动" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="反应釜降温" />
- <RadioButton
- Width="100" Height="30" Margin="40,0,0,0" BorderThickness="0"
- Click="TempCLose_CLick" Content="停止" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="反应釜降温" />
- <TextBlock
- Margin="15,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="White"
- Text="当前状态:" TextAlignment="Center" />
- <TextBlock
- HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="20"
- Foreground="{Binding DeviceStatus.IsSetReactCool, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
- </StackPanel>
- </WrapPanel>
- <!--#endregion-->
- <!--#region 冷凝水罐降温参数写入界面-->
- <WrapPanel
- Margin="0,15,0,0" d:Visibility="Visible"
- Visibility="{Binding ElementName=coldWaterTankCoolDown, Path=IsChecked, Converter={StaticResource BoolToVisibilityConvert}}">
- <StackPanel VerticalAlignment="Center" Orientation="Horizontal">
- <TextBlock
- Margin="40,0,20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
- Foreground="White" Text="冷凝水罐降温设置温度:" />
- <TextBox
- x:Name="ColdWaterTankCoolDownTemp" Width="120" HorizontalAlignment="Center"
- VerticalAlignment="Center" Text="0" />
- <TextBlock
- Margin="20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
- Foreground="White" Text="℃" />
- <RadioButton
- Width="100" Height="30" HorizontalAlignment="Right" VerticalAlignment="Center"
- BorderThickness="0" Click="TempSet_CLick" Content="启动" Foreground="White"
- Style="{StaticResource radiobutton}"
- Tag="冷凝水罐降温" />
- <RadioButton
- Width="100" Height="30" Margin="40,0,0,0" BorderThickness="0"
- Click="TempCLose_CLick" Content="停止" Foreground="White" IsChecked="True"
- Style="{StaticResource radiobutton}"
- Tag="冷凝水罐降温" />
- <TextBlock
- Margin="15,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Center" Foreground="White"
- Text="当前状态:" TextAlignment="Center" />
- <TextBlock
- HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="20"
- Foreground="{Binding DeviceStatus.IsSetCWTCool, Converter={StaticResource BoolToColorConverter}}"
- Text="⬛" TextAlignment="Center" />
- </StackPanel>
- </WrapPanel>
- <!--#endregion-->
- <!--#region 温度校准参数写入界面-->
- <WrapPanel
- Margin="0,15,0,0" d:Visibility="Visible"
- Visibility="{Binding ElementName=tempratureAdjusting, Path=IsChecked, Converter={StaticResource BoolToVisibilityConvert}}">
- <StackPanel VerticalAlignment="Center" Orientation="Horizontal">
- <TextBlock
- Margin="40,0,20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
- Foreground="White" Text="反应釜温度校准:" />
- <TextBox
- x:Name="reactorTempAdjustValue" Width="120" HorizontalAlignment="Center" VerticalAlignment="Center"
- Text="0" />
- <TextBlock
- Margin="20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
- Foreground="White" Text="℃" />
- <TextBlock
- Margin="40,0,20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
- Foreground="White" Text="冷凝水罐温度校准:" />
- <TextBox
- x:Name="coldWaterTankTempAdjustValue" Width="120" HorizontalAlignment="Center"
- VerticalAlignment="Center" Text="0" />
- <TextBlock
- Margin="20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
- Foreground="White" Text="℃" />
- <Button
- Width="100" Height="30" HorizontalAlignment="Right" VerticalAlignment="Center"
- BorderThickness="0" Click="TempAdjust_Click" Content="校准" Foreground="White"
- Style="{StaticResource ButtonStyle}" />
- </StackPanel>
- </WrapPanel>
- <!--#endregion-->
- <!--#region 反应釜旋转参数写入界面-->
- <WrapPanel
- Margin="0,15,0,0" d:Visibility="Visible"
- Visibility="{Binding ElementName=reactorRotateSpeed, Path=IsChecked, Converter={StaticResource BoolToVisibilityConvert}}">
- <StackPanel VerticalAlignment="Center" Orientation="Horizontal">
- <TextBlock
- Margin="40,0,20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
- Foreground="White" Text="反应釜旋转炒制速度:" />
- <TextBox
- x:Name="reactorRotateStirSpeedValue" Width="120" HorizontalAlignment="Center"
- VerticalAlignment="Center" Text="0" />
- <TextBlock
- Margin="20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
- Foreground="White" Text="限值:0-100" />
- <TextBlock
- Margin="40,0,20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
- Foreground="White" Text="反应釜旋转慢速度:" />
- <TextBox
- x:Name="reactorRotateSlowSpeedValue" Width="120" HorizontalAlignment="Center"
- VerticalAlignment="Center" Text="0" />
- <TextBlock
- Margin="20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
- Foreground="White" Text="限值:0-100" />
- <Button
- Width="100" Height="30" HorizontalAlignment="Right" VerticalAlignment="Center"
- BorderThickness="0" Click="SetReactorSpeed_Click" Content="写入" Foreground="White"
- Style="{StaticResource ButtonStyle}" />
- </StackPanel>
- </WrapPanel>
- <!--#endregion-->
- <!--#region 蒸汽及压力参数写入界面-->
- <WrapPanel
- Margin="0,15,0,0" d:Visibility="Visible"
- Visibility="{Binding ElementName=steamParamsSet, Path=IsChecked, Converter={StaticResource BoolToVisibilityConvert}}">
- <StackPanel VerticalAlignment="Center" Orientation="Horizontal">
- <TextBlock
- Margin="40,0,20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
- Foreground="White" Text="蒸汽比例阀开度:" />
- <TextBox
- x:Name="steamValveApertureValve" Width="120" HorizontalAlignment="Center" VerticalAlignment="Center"
- Text="0" />
- <TextBlock
- Margin="20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
- Foreground="White" Text="%,限值:0-100" />
- <TextBlock
- Margin="40,0,20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
- Foreground="White" Text="反应釜蒸汽压力上限:" />
- <TextBox
- x:Name="reactorSteamPressureLimitValue" Width="120" HorizontalAlignment="Center"
- VerticalAlignment="Center" Text="0" />
- <TextBlock
- Margin="40,0,20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
- Foreground="White" Text="反应釜压力上限:" />
- <TextBox
- x:Name="reactorPressureLimitValue" Width="120" HorizontalAlignment="Center"
- VerticalAlignment="Center" Text="0" />
- <TextBlock
- Margin="20,0" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16"
- Foreground="White" Text="MPa,限值:-0.1至0.6" />
- <Button
- Width="100" Height="30" HorizontalAlignment="Right" VerticalAlignment="Center"
- BorderThickness="0" Click="steamParamsSet_Click" Content="写入" Foreground="White"
- Style="{StaticResource ButtonStyle}" />
- </StackPanel>
- </WrapPanel>
- <!--#endregion-->
- </Grid>
- </Border>
- </Grid>
- </Grid>
- </Grid>
- </UserControl>
|