Browse Source

add:添加卤水配制罐

reconfiguration
ZhaoGang 2 months ago
parent
commit
b19124784d
5 changed files with 270 additions and 130 deletions
  1. +1
    -1
      BPASmartClient.Academy/App.config
  2. +106
    -0
      BPASmartClient.Academy/View/BrineTank.xaml
  3. +28
    -0
      BPASmartClient.Academy/View/BrineTank.xaml.cs
  4. +134
    -108
      BPASmartClient.Academy/View/ReactionKettle50LView.xaml
  5. +1
    -21
      BPASmartClient.Academy/View/ReactionKettle50LView.xaml.cs

+ 1
- 1
BPASmartClient.Academy/App.config View File

@@ -12,7 +12,7 @@
<add key="DB1.DBX2004.2" value="反应釜搅拌异常"/> <add key="DB1.DBX2004.2" value="反应釜搅拌异常"/>
<add key="DB1.DBX2004.3" value="真空泵异常"/> <add key="DB1.DBX2004.3" value="真空泵异常"/>
<add key="DB1.DBX2004.4" value="一体机柜急停按下"/> <add key="DB1.DBX2004.4" value="一体机柜急停按下"/>
<add key="DB1.DBX2004.5" value="空压机异常"/>
<add key="DB1.DBX2004.5" value="空压机异常"/>
</Alarm> </Alarm>
</FlexBatchSystem> </FlexBatchSystem>
</configuration> </configuration>

+ 106
- 0
BPASmartClient.Academy/View/BrineTank.xaml View File

@@ -0,0 +1,106 @@
<UserControl
x:Class="BPASmartClient.Academy.View.BrineTank"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:BPASmartClient.Academy.View"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" Width="57" Height="65"
mc:Ignorable="d">
<Viewbox
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:s="clr-namespace:System;assembly=mscorlib" Height="64" Stretch="Fill"
ToolTip="卤水配制罐" Margin="0,0,-9,1">
<Viewbox.Tag>
<s:Int64>701418563</s:Int64>
</Viewbox.Tag>
<Canvas
Name="Group_Large_cone_bottom_polyethylene_tank" Width="98.295" Height="112.5"
HorizontalAlignment="Left" VerticalAlignment="Top" LayoutTransform="Identity"
Tag="#00000000,#FF008000,Original,0,None" UseLayoutRounding="False">
<Canvas
Name="Group_Backegs" Canvas.Left="6.876" Canvas.Top="88.215" Width="84.543"
Height="22.092" Tag="#00000000,#FF008000,Original,0,None">
<Path
Canvas.Left="0" Canvas.Top="0" Width="84.543" Height="22.092"
Data="F1M81.2734,108.2793L81.2734,88.2153 77.2154,88.2153 77.2154,108.2793 21.0794,108.2793 21.0794,88.2153 17.1334,88.2153 17.1334,108.2793 6.87639999999999,108.2793 6.87639999999999,110.3073 91.4194,110.3073 91.4194,108.2793z"
Fill="#FF000000" Stretch="Fill" />
</Canvas>
<Canvas
Name="Group_TankBody" Canvas.Left="2.255" Canvas.Top="-0.5" Width="93.672"
Height="103.142" Tag="#00000000,#FF008000,Original,0,None">
<Path
Canvas.Left="0" Canvas.Top="0" Width="93.672" Height="84.431"
Data="F1M49.091,-0.5C23.366,-0.5,2.495,2.22199999999999,2.265,5.589L2.265,5.589 2.255,5.589 2.255,83.931 95.927,83.931 95.927,5.589 95.917,5.589C95.689,2.22199999999999,74.815,-0.5,49.091,-0.5z"
Stretch="Fill">
<Path.Fill>
<LinearGradientBrush StartPoint="0,0.5" EndPoint="1,0.5">
<LinearGradientBrush.GradientStops>
<GradientStop Offset="0" Color="#FF5B5C5F" />
<GradientStop Offset="0.45" Color="#FFECECED" />
<GradientStop Offset="0.77" Color="#FFB1B3B6" />
<GradientStop Offset="1" Color="#FF5B5C5F" />
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</Path.Fill>
</Path>
<Path
Canvas.Left="11.61" Canvas.Top="93.899" Width="35.17" Height="9.243"
Data="F1M13.8652,93.3994L44.3012,102.6424 49.0352,102.6424 18.5992,93.3994z" Fill="#FF333333"
Stretch="Fill" />
<Path
Canvas.Left="46.78" Canvas.Top="93.899" Width="35.394" Height="9.243"
Data="F1M79.6953,93.3994L49.0353,102.6424 53.7693,102.6424 84.4293,93.3994z" Fill="#FF333333"
Stretch="Fill" />
<Path
Canvas.Left="0" Canvas.Top="84.431" Width="93.672" Height="14.203"
Data="F1M2.255,83.931L2.255,91.821C2.255,91.821,11.98,98.134,49.036,98.134L49.036,98.134C86.98,98.134,95.927,91.821,95.927,91.821L95.927,91.821 95.927,83.931z"
Stretch="Fill">
<Path.Fill>
<LinearGradientBrush StartPoint="0,0.5" EndPoint="1,0.5">
<LinearGradientBrush.GradientStops>
<GradientStop Offset="0" Color="#FF5B5C5F" />
<GradientStop Offset="0.45" Color="#FFECECED" />
<GradientStop Offset="0.77" Color="#FFB1B3B6" />
<GradientStop Offset="1" Color="#FF5B5C5F" />
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</Path.Fill>
</Path>
</Canvas>
<Canvas
Name="Group_FrontLegs" Canvas.Left="0" Canvas.Top="81.675" Width="98.295"
Height="30.323" Tag="#00000000,#FF008000,Original,0,None">
<Path
Canvas.Left="0" Canvas.Top="0" Width="98.295" Height="30.323"
Data="F1M0,81.6754L0,86.1854 11.61,86.1854 11.61,109.7434 0,109.7434 0,111.9984 98.295,111.9984 98.295,109.7434 86.684,109.7434 86.684,86.1854 98.295,86.1854 98.295,81.6754z M51.514,86.1854L79.695,86.1854 51.514,99.2394z M18.599,86.1854L46.78,86.1854 46.78,99.3364z M53.77,100.3894L81.95,87.3334 81.95,109.7434 16.345,109.7434 16.345,87.3424 44.301,100.3894z"
Fill="#FF333333" Stretch="Fill" />
<Path
Canvas.Left="44.525" Canvas.Top="16.459" Width="9.244" Height="9.243"
Data="F1M44.525,98.134L53.769,98.134 53.769,107.377 44.525,107.377z" Fill="#FFCCCCCC" Stretch="Fill" />
</Canvas>
<Canvas
Name="Group_Icon" Canvas.Left="45.202" Canvas.Top="7.73" Width="8.567"
Height="5.974" Tag="#00000000,#FF008000,Original,0,None">
<Path
Canvas.Left="0" Canvas.Top="0" Width="8.567" Height="5.974"
Data="F1M46.7803,13.7041L45.2023,11.7881 45.2023,9.3081 46.7803,7.7301 52.1913,7.7301 53.7693,9.3081 53.7693,11.7881 52.1913,13.7041z"
Fill="#FFCCCC33" Stretch="Fill" />
<Path
Canvas.Left="5.861" Canvas.Top="1.578" Width="2.706" Height="2.48"
Data="F1M53.7695,11.7881L53.7695,9.3081 51.0635,9.7591 51.0635,11.3371z" Fill="#FF999999"
Stretch="Fill" />
<Path
Canvas.Left="0" Canvas.Top="1.578" Width="2.705" Height="2.48"
Data="F1M45.2021,11.7881L45.2021,9.3081 47.9071,9.7591 47.9071,11.3371z" Fill="#FF999999"
Stretch="Fill" />
<Path
Canvas.Left="1.578" Canvas.Top="4.058" Width="5.411" Height="1.916"
Data="F1M46.7803,13.7041L48.3583,11.7881 50.6133,11.7881 52.1913,13.7041z" Fill="#FF999999"
Stretch="Fill" />
<Path
Canvas.Left="1.578" Canvas.Top="0" Width="5.411" Height="1.917"
Data="F1M46.7803,7.73L48.3583,9.647 50.6133,9.647 52.1913,7.73z" Fill="#FF999999" Stretch="Fill" />
</Canvas>
</Canvas>
</Viewbox>
</UserControl>

+ 28
- 0
BPASmartClient.Academy/View/BrineTank.xaml.cs View File

@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace BPASmartClient.Academy.View
{
/// <summary>
/// BrineTank.xaml 的交互逻辑
/// </summary>
public partial class BrineTank : UserControl
{
public BrineTank()
{
InitializeComponent();
}
}
}

+ 134
- 108
BPASmartClient.Academy/View/ReactionKettle50LView.xaml View File

@@ -244,8 +244,8 @@
<!--#region 设备未连接时的遮罩--> <!--#region 设备未连接时的遮罩-->
<TextBlock <TextBlock
x:Name="state" Grid.RowSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center" x:Name="state" Grid.RowSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center"
Panel.ZIndex="299" FontSize="100" FontWeight="Black" Foreground="Red"
Text="设 备 未 连 接" Visibility="Visible" d:Visibility="Collapsed" />
Panel.ZIndex="299" d:Visibility="Collapsed" FontSize="100" FontWeight="Black"
Foreground="Red" Text="设 备 未 连 接" Visibility="Collapsed" />
<!--#endregion--> <!--#endregion-->
<!--#region 切换设备类型--> <!--#region 切换设备类型-->
<Grid <Grid
@@ -260,8 +260,8 @@
</Grid> </Grid>
<!--#endregion--> <!--#endregion-->
<Grid <Grid
x:Name="ooo" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" IsHitTestVisible="False" d:Opacity="1.0"
Opacity="0.5">
x:Name="ooo" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" d:Opacity="1.0"
IsHitTestVisible="True" Opacity="0.5">
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="50" /> <RowDefinition Height="50" />
<RowDefinition Height="*" /> <RowDefinition Height="*" />
@@ -290,7 +290,26 @@
</StackPanel> </StackPanel>
<Viewbox <Viewbox
Grid.Row="1" Margin="10" Stretch="Uniform"> Grid.Row="1" Margin="10" Stretch="Uniform">
<Canvas Width="1000" Height="500">
<Canvas Width="1000" Height="490">
<!--#region 开关控制按钮-->
<bpa:PipeLineH
Canvas.Left="115" Canvas.Top="456" Canvas.Right="257.5" Width="95"
Height="5" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="1"
LineWidth="1" Speed="10" />
<!--#region 开关控制按钮-->
<bpa:PipeLineBR
Canvas.Left="216" Canvas.Top="438" Canvas.Right="272.3" Width="11"
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="10" Speed="1.5" />
<!--#region 开关控制按钮-->
<bpa:PipeLineH
Canvas.Left="226" Canvas.Top="438" Canvas.Right="257.5" Width="366"
Height="5" 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 开关控制按钮--> <!--#region 开关控制按钮-->
<bpa:PipeLineTL <bpa:PipeLineTL
Canvas.Left="713" Canvas.Top="433" Canvas.Right="272.3" Width="10" Canvas.Left="713" Canvas.Top="433" Canvas.Right="272.3" Width="10"
@@ -328,7 +347,7 @@
Tag="负压风机" /> Tag="负压风机" />
</StackPanel> </StackPanel>
<StackPanel <StackPanel
Canvas.Left="272" Canvas.Top="457" HorizontalAlignment="Center" VerticalAlignment="Top"
Canvas.Left="247" Canvas.Top="446" HorizontalAlignment="Left" VerticalAlignment="Top"
Panel.ZIndex="99" Orientation="Vertical"> Panel.ZIndex="99" Orientation="Vertical">
<RadioButton <RadioButton
Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0" Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
@@ -426,7 +445,7 @@
Tag="冷凝水罐降温" /> Tag="冷凝水罐降温" />
</StackPanel> </StackPanel>
<StackPanel <StackPanel
Canvas.Left="851.095" Canvas.Top="95.463" HorizontalAlignment="Left" VerticalAlignment="Top"
Canvas.Left="819" Canvas.Top="73" HorizontalAlignment="Left" VerticalAlignment="Top"
Panel.ZIndex="99" Orientation="Vertical"> Panel.ZIndex="99" Orientation="Vertical">
<RadioButton <RadioButton
Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0" Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
@@ -440,7 +459,7 @@
Tag="反应釜泄压阀" /> Tag="反应釜泄压阀" />
</StackPanel> </StackPanel>
<StackPanel <StackPanel
Canvas.Left="661.1" Canvas.Top="237.071" HorizontalAlignment="Left" VerticalAlignment="Top"
Canvas.Left="660" Canvas.Top="230" HorizontalAlignment="Left" VerticalAlignment="Top"
Panel.ZIndex="99" Orientation="Vertical"> Panel.ZIndex="99" Orientation="Vertical">
<RadioButton <RadioButton
Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0" Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
@@ -468,7 +487,7 @@
Tag="热气排空阀" /> Tag="热气排空阀" />
</StackPanel> </StackPanel>
<StackPanel <StackPanel
Canvas.Left="515.8" Canvas.Top="115.224" HorizontalAlignment="Left" VerticalAlignment="Top"
Canvas.Left="517" Canvas.Top="99" HorizontalAlignment="Left" VerticalAlignment="Top"
Panel.ZIndex="99" Orientation="Vertical"> Panel.ZIndex="99" Orientation="Vertical">
<RadioButton <RadioButton
Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0" Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
@@ -482,7 +501,7 @@
Tag="冷凝水进气阀" /> Tag="冷凝水进气阀" />
</StackPanel> </StackPanel>
<StackPanel <StackPanel
Canvas.Left="417" Canvas.Top="260" HorizontalAlignment="Left" VerticalAlignment="Top"
Canvas.Left="416" Canvas.Top="251" HorizontalAlignment="Center" VerticalAlignment="Top"
Panel.ZIndex="99" Orientation="Vertical"> Panel.ZIndex="99" Orientation="Vertical">
<RadioButton <RadioButton
Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0" Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
@@ -510,7 +529,7 @@
Tag="反应釜进清水阀" /> Tag="反应釜进清水阀" />
</StackPanel> </StackPanel>
<StackPanel <StackPanel
Canvas.Left="295" Canvas.Top="394" HorizontalAlignment="Left" VerticalAlignment="Top"
Canvas.Left="306" Canvas.Top="381" HorizontalAlignment="Left" VerticalAlignment="Top"
Panel.ZIndex="99" Orientation="Vertical"> Panel.ZIndex="99" Orientation="Vertical">
<RadioButton <RadioButton
Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0" Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
@@ -524,7 +543,7 @@
Tag="反应釜压缩空气进气阀" /> Tag="反应釜压缩空气进气阀" />
</StackPanel> </StackPanel>
<StackPanel <StackPanel
Canvas.Left="562.798" Canvas.Top="457" HorizontalAlignment="Left" VerticalAlignment="Center"
Canvas.Left="509" Canvas.Top="446" HorizontalAlignment="Left" VerticalAlignment="Top"
Panel.ZIndex="99" Orientation="Vertical"> Panel.ZIndex="99" Orientation="Vertical">
<RadioButton <RadioButton
Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0" Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
@@ -538,7 +557,7 @@
Tag="反应釜进卤水阀" /> Tag="反应釜进卤水阀" />
</StackPanel> </StackPanel>
<StackPanel <StackPanel
Canvas.Left="95" Canvas.Top="92" HorizontalAlignment="Left" VerticalAlignment="Top"
Canvas.Left="95" Canvas.Top="95" HorizontalAlignment="Center" VerticalAlignment="Top"
Panel.ZIndex="99" Orientation="Vertical"> Panel.ZIndex="99" Orientation="Vertical">
<RadioButton <RadioButton
Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0" Width="70" Height="20" Margin="0,0,0,2" BorderThickness="0"
@@ -573,9 +592,10 @@
Style="{StaticResource ButtonStyle}" Style="{StaticResource ButtonStyle}"
Tag="称重水罐重量清零" /> Tag="称重水罐重量清零" />
<Button <Button
Canvas.Left="63" Canvas.Top="478" Width="100" Height="20"
Panel.ZIndex="99" BorderThickness="0" Click="open_Click" Content="卤水配制罐重量清零"
FontSize="8" Foreground="White" RenderTransformOrigin="-3.206,-0.55"
Canvas.Left="57" Canvas.Top="465" Width="100" Height="20"
HorizontalAlignment="Left" VerticalAlignment="Top" Panel.ZIndex="99" BorderThickness="0"
Click="open_Click" Content="卤水配制罐重量清零" FontSize="8" Foreground="White"
RenderTransformOrigin="-3.206,-0.55"
Style="{StaticResource ButtonStyle}" Style="{StaticResource ButtonStyle}"
Tag="卤水配制罐重量清零" /> Tag="卤水配制罐重量清零" />
<!--#region 进卤水阀、压缩空气进气阀连接处--> <!--#region 进卤水阀、压缩空气进气阀连接处-->
@@ -601,74 +621,81 @@
IsChecked="{Binding DeviceStatus.ReactTurnMotor}" IsChecked="{Binding DeviceStatus.ReactTurnMotor}"
IsEnabled="False" IsEnabled="False"
Style="{StaticResource move}" /> Style="{StaticResource move}" />
<local:BrineTank
Canvas.Left="71" Canvas.Top="400" Width="78" HorizontalAlignment="Center"
VerticalAlignment="Top" />
<!--#region 标记信息--> <!--#region 标记信息-->
<TextBlock <TextBlock
Canvas.Left="248.7" Canvas.Top="260.7" HorizontalAlignment="Center" VerticalAlignment="Top"
FontSize="10" Foreground="White" Text="称重水罐" />
Canvas.Left="247" Canvas.Top="257" HorizontalAlignment="Left" VerticalAlignment="Center"
FontSize="12" Foreground="White" Text="称重水罐" />
<TextBlock <TextBlock
Canvas.Left="294.574" Canvas.Top="126.3" HorizontalAlignment="Center" VerticalAlignment="Top" Canvas.Left="294.574" Canvas.Top="126.3" HorizontalAlignment="Center" VerticalAlignment="Top"
FontSize="10" Foreground="White" Text="冷&#xA;凝&#xA;水&#xA;罐" /> FontSize="10" Foreground="White" Text="冷&#xA;凝&#xA;水&#xA;罐" />
<TextBlock <TextBlock
Canvas.Left="934" Canvas.Top="206" Canvas.Right="384.8" Height="20"
HorizontalAlignment="Left" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
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}}" Foreground="{Binding DeviceStatus.ReactHomeBit, Converter={StaticResource BoolToColorConverter}}"
Text="⚫" TextAlignment="Center" /> Text="⚫" TextAlignment="Center" />
<TextBlock <TextBlock
Canvas.Left="927" Canvas.Top="228" Canvas.Right="384.8" Height="9"
HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="7" Foreground="White"
Text="反应釜原点" TextAlignment="Center" />
Canvas.Left="927" Canvas.Top="224" Canvas.Right="384.8" HorizontalAlignment="Left"
VerticalAlignment="Center" FontSize="12" Foreground="White" Text="反应釜&#xA;原点"
TextAlignment="Center" />
<TextBlock
Canvas.Left="892" Canvas.Top="115" Canvas.Right="384.8" Height="20"
HorizontalAlignment="Left" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
Foreground="{Binding DeviceStatus.ReactPressureReliefValve, Converter={StaticResource BoolToColorConverter}}"
Text="⚫" TextAlignment="Center" />
<!--#region 模拟量反馈--> <!--#region 模拟量反馈-->
<TextBlock <TextBlock
Canvas.Left="799" Canvas.Top="265" Width="110" HorizontalAlignment="Center" Canvas.Left="799" Canvas.Top="265" Width="110" HorizontalAlignment="Center"
VerticalAlignment="Top" d:Text="温度:199℃" Foreground="Red" VerticalAlignment="Top" d:Text="温度:199℃" Foreground="Red"
Text="{Binding DeviceStatus.ReactTemp, StringFormat='温度:{0:F2}℃'}"
Text="{Binding DeviceStatus.ReactTemp, StringFormat=温度:\{0:F2\}℃}"
TextAlignment="Center" /> TextAlignment="Center" />
<TextBlock <TextBlock
Canvas.Left="795" Canvas.Top="279" Width="110" HorizontalAlignment="Center" Canvas.Left="795" Canvas.Top="279" Width="110" HorizontalAlignment="Center"
VerticalAlignment="Top" d:Text="蒸汽压力:0.62MPa" Foreground="Red" VerticalAlignment="Top" d:Text="蒸汽压力:0.62MPa" Foreground="Red"
Text="{Binding DeviceStatus.ReactSteamPressure, StringFormat='蒸汽压力:{0:F2}MPa'}"
Text="{Binding DeviceStatus.ReactSteamPressure, StringFormat=蒸汽压力:\{0:F2\}MPa}"
TextAlignment="Center" /> TextAlignment="Center" />
<TextBlock <TextBlock
Canvas.Left="795" Canvas.Top="293" Width="91" HorizontalAlignment="Left" Canvas.Left="795" Canvas.Top="293" Width="91" HorizontalAlignment="Left"
VerticalAlignment="Center" d:Text="蒸汽流量:30.02" Foreground="Red" VerticalAlignment="Center" d:Text="蒸汽流量:30.02" Foreground="Red"
Text="{Binding DeviceStatus.ReactSteamFlow, StringFormat='蒸汽流量:{0:F2}'}"
Text="{Binding DeviceStatus.ReactSteamFlow, StringFormat=蒸汽流量:\{0:F2\}}"
TextAlignment="Center" /> TextAlignment="Center" />
<TextBlock <TextBlock
Canvas.Left="332" Canvas.Top="135" Width="131" HorizontalAlignment="Left" Canvas.Left="332" Canvas.Top="135" Width="131" HorizontalAlignment="Left"
VerticalAlignment="Center" d:Text="冷凝水罐温度:30.02℃" Foreground="Red" VerticalAlignment="Center" d:Text="冷凝水罐温度:30.02℃" Foreground="Red"
Text="{Binding DeviceStatus.ColdWaterTankTemp, StringFormat='冷凝水罐温度:{0:F2}℃'}"
Text="{Binding DeviceStatus.ColdWaterTankTemp, StringFormat=冷凝水罐温度:\{0:F2\}℃}"
TextAlignment="Center" /> TextAlignment="Center" />
<TextBlock <TextBlock
Canvas.Left="332" Canvas.Top="150" Width="119" HorizontalAlignment="Left" Canvas.Left="332" Canvas.Top="150" Width="119" HorizontalAlignment="Left"
VerticalAlignment="Center" d:Text="冷凝水罐湿度:30.20" Foreground="Red" VerticalAlignment="Center" d:Text="冷凝水罐湿度:30.20" Foreground="Red"
Text="{Binding DeviceStatus.ColdWaterTankHumidity, StringFormat='冷凝水罐湿度:{0:F2}'}"
Text="{Binding DeviceStatus.ColdWaterTankHumidity, StringFormat=冷凝水罐湿度:\{0:F2\}}"
TextAlignment="Center" /> TextAlignment="Center" />
<TextBlock <TextBlock
Canvas.Left="64" Canvas.Top="138" Width="98" HorizontalAlignment="Left" Canvas.Left="64" Canvas.Top="138" Width="98" HorizontalAlignment="Left"
VerticalAlignment="Center" d:Text="负压流量:30.02" Foreground="Red" VerticalAlignment="Center" d:Text="负压流量:30.02" Foreground="Red"
Text="{Binding DeviceStatus.VacuumFlow, StringFormat='负压流量:{0:F2}'}"
Text="{Binding DeviceStatus.VacuumFlow, StringFormat=负压流量:\{0:F2\}}"
TextAlignment="Center" /> TextAlignment="Center" />
<TextBlock <TextBlock
Canvas.Left="216" Canvas.Top="274" Width="107" Height="18" Canvas.Left="216" Canvas.Top="274" Width="107" Height="18"
HorizontalAlignment="Left" VerticalAlignment="Top" d:Text="重量:30.22Kg" Foreground="Red" HorizontalAlignment="Left" VerticalAlignment="Top" d:Text="重量:30.22Kg" Foreground="Red"
Text="{Binding DeviceStatus.WaterTankWeight, StringFormat='重量:{0:F2}Kg'}"
Text="{Binding DeviceStatus.WaterTankWeight, StringFormat=重量:\{0:F2\}Kg}"
TextAlignment="Center" /> TextAlignment="Center" />
<TextBlock <TextBlock
Canvas.Left="799" Canvas.Top="186" Width="110" HorizontalAlignment="Left" Canvas.Left="799" Canvas.Top="186" Width="110" HorizontalAlignment="Left"
VerticalAlignment="Top" d:Text="角度:30.0°" Foreground="Red" VerticalAlignment="Top" d:Text="角度:30.0°" Foreground="Red"
Text="{Binding DeviceStatus.ReactEncoderValue, StringFormat='角度:{0:F2}°'}"
Text="{Binding DeviceStatus.ReactEncoderValue, StringFormat=角度:\{0:F2\}°}"
TextAlignment="Center" /> TextAlignment="Center" />
<TextBlock <TextBlock
Canvas.Left="234" Canvas.Top="2" Width="110" HorizontalAlignment="Left" Canvas.Left="234" Canvas.Top="2" Width="110" HorizontalAlignment="Left"
VerticalAlignment="Center" d:Text="开度:13.22" Foreground="Red" VerticalAlignment="Center" d:Text="开度:13.22" Foreground="Red"
Text="{Binding DeviceStatus.SteamProportValveRealOpening, StringFormat='开度:{0:F2}'}"
Text="{Binding DeviceStatus.SteamProportValveRealOpening, StringFormat=开度:\{0:F2\}}"
TextAlignment="Center" /> TextAlignment="Center" />
<TextBlock <TextBlock
Canvas.Left="70" Canvas.Top="457" Width="110" HorizontalAlignment="Left"
Canvas.Left="60" Canvas.Top="426" Width="110" HorizontalAlignment="Center"
VerticalAlignment="Top" d:Text="重量:30.23Kg" Foreground="Red" VerticalAlignment="Top" d:Text="重量:30.23Kg" Foreground="Red"
Text="{Binding DeviceStatus.BrineTankWeight, StringFormat='重量:{0:F2}Kg'}"
Text="{Binding DeviceStatus.BrineTankWeight, StringFormat=重量:\{0:F2\}Kg}"
TextAlignment="Center" /> TextAlignment="Center" />
<!--#endregion-->




<!--#region 冷却水出水阀--> <!--#region 冷却水出水阀-->
@@ -701,7 +728,7 @@
Fill="{Binding DeviceStatus.ColdWaterTankInAirValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}" Fill="{Binding DeviceStatus.ColdWaterTankInAirValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
LineWidth="10" Speed="1.5" /> LineWidth="10" Speed="1.5" />
<bpa:HandValve <bpa:HandValve
Canvas.Left="603.2" Canvas.Top="128.7" Canvas.Right="380.8" Width="16"
Canvas.Left="603" Canvas.Top="114" Canvas.Right="380.8" Width="16"
Height="16" HorizontalAlignment="Center" VerticalAlignment="Top" Height="16" HorizontalAlignment="Center" VerticalAlignment="Top"
EdgeColor="{Binding DeviceStatus.ColdWaterTankInAirValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}" EdgeColor="{Binding DeviceStatus.ColdWaterTankInAirValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
OpenEnable="{Binding DeviceStatus.ColdWaterTankInAirValve}"> OpenEnable="{Binding DeviceStatus.ColdWaterTankInAirValve}">
@@ -710,8 +737,8 @@
</bpa:HandValve.RenderTransform> </bpa:HandValve.RenderTransform>
</bpa:HandValve> </bpa:HandValve>
<TextBlock <TextBlock
Canvas.Left="608.2" Canvas.Top="108.7" Canvas.Right="384.8" Height="80"
HorizontalAlignment="Center" VerticalAlignment="Top" FontSize="7" Foreground="White"
Canvas.Left="607" Canvas.Top="68" Canvas.Right="384.8" HorizontalAlignment="Center"
VerticalAlignment="Top" FontSize="12" Foreground="White"
Text="冷&#xA;凝&#xA;水&#xA;罐&#xA;进&#xA;气&#xA;阀" Text="冷&#xA;凝&#xA;水&#xA;罐&#xA;进&#xA;气&#xA;阀"
TextAlignment="Center" /> TextAlignment="Center" />


@@ -732,9 +759,9 @@
EdgeColor="{Binding DeviceStatus.HotGasEmptyValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}" EdgeColor="{Binding DeviceStatus.HotGasEmptyValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
OpenEnable="{Binding DeviceStatus.HotGasEmptyValve}" /> OpenEnable="{Binding DeviceStatus.HotGasEmptyValve}" />
<TextBlock <TextBlock
Canvas.Left="607.2" Canvas.Top="197" Canvas.Right="312.8" Width="80"
HorizontalAlignment="Center" VerticalAlignment="Top" FontSize="7" Foreground="White"
Text="热气排空阀" TextAlignment="Center" />
Canvas.Left="618" Canvas.Top="192" Canvas.Right="312.8" HorizontalAlignment="Left"
VerticalAlignment="Top" FontSize="12" Foreground="White" Text="热气排空阀"
TextAlignment="Center" />
<!--#region 排热空气阀--> <!--#region 排热空气阀-->
<bpa:PipeLineTL <bpa:PipeLineTL
Canvas.Left="730" Canvas.Top="290.5" Canvas.Right="260" Width="10" Canvas.Left="730" Canvas.Top="290.5" Canvas.Right="260" Width="10"
@@ -764,9 +791,9 @@
EdgeColor="{Binding DeviceStatus.ReactOutHotGasValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}" EdgeColor="{Binding DeviceStatus.ReactOutHotGasValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
OpenEnable="{Binding DeviceStatus.ReactOutHotGasValve}" /> OpenEnable="{Binding DeviceStatus.ReactOutHotGasValve}" />
<TextBlock <TextBlock
Canvas.Left="625.53" Canvas.Top="277.373" Canvas.Right="384.8" Height="9"
HorizontalAlignment="Center" VerticalAlignment="Top" FontSize="7" Foreground="White"
Text="排热空气阀" TextAlignment="Center" />
Canvas.Left="613" Canvas.Top="272" Canvas.Right="384.8" HorizontalAlignment="Left"
VerticalAlignment="Top" FontSize="12" Foreground="White" Text="排热空气阀"
TextAlignment="Center" />
<!--#region 反应釜排水阀--> <!--#region 反应釜排水阀-->
<bpa:PipeLineV <bpa:PipeLineV
Canvas.Left="735" Canvas.Top="292" Canvas.Right="260" Width="5" Canvas.Left="735" Canvas.Top="292" Canvas.Right="260" Width="5"
@@ -792,37 +819,35 @@
EdgeColor="{Binding DeviceStatus.ReactDrainValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}" EdgeColor="{Binding DeviceStatus.ReactDrainValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
OpenEnable="{Binding DeviceStatus.ReactDrainValve}" /> OpenEnable="{Binding DeviceStatus.ReactDrainValve}" />
<TextBlock <TextBlock
Canvas.Left="412" Canvas.Top="303" Width="80" HorizontalAlignment="Center"
VerticalAlignment="Top" FontSize="7" Foreground="White" Text="反应釜排水阀"
TextAlignment="Center" />
Canvas.Left="415" Canvas.Top="297" HorizontalAlignment="Center" VerticalAlignment="Top"
FontSize="12" Foreground="White" Text="反应釜排水阀" TextAlignment="Center" />
<!--#region 冷却水、疏水--> <!--#region 冷却水、疏水-->
<bpa:PipeLineV <bpa:PipeLineV
Canvas.Left="744.1" Canvas.Top="224.571" Canvas.Right="250.9" Width="5"
Height="137" HorizontalAlignment="Center" VerticalAlignment="Top"
Canvas.Left="744" Canvas.Top="225" Canvas.Right="250.9" Width="5"
Height="122" HorizontalAlignment="Center" VerticalAlignment="Top"
Direction="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}" Direction="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
Fill="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}" Fill="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
LineWidth="1" /> LineWidth="1" />
<bpa:PipeLineTL <bpa:PipeLineTL
Canvas.Left="734.1" Canvas.Top="361.3" Canvas.Right="245.9" Width="20"
Canvas.Left="734" Canvas.Top="347" Canvas.Right="245.9" Width="20"
Height="10" HorizontalAlignment="Center" VerticalAlignment="Top" Height="10" HorizontalAlignment="Center" VerticalAlignment="Top"
Direction="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}" Direction="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
Fill="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}" Fill="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
LineWidth="10" Speed="1.5" /> LineWidth="10" Speed="1.5" />
<bpa:PipeLineH <bpa:PipeLineH
Canvas.Left="199.1" Canvas.Top="366.3" Canvas.Right="260.6" Width="540"
Canvas.Left="199" Canvas.Top="352" Canvas.Right="260.6" Width="540"
Height="5" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="2" Height="5" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="2"
Direction="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}" Direction="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=1, Converter={StaticResource deviceConvert}}"
Fill="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}" Fill="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
LineWidth="1" Speed="10" /> LineWidth="1" Speed="10" />
<bpa:HandValve <bpa:HandValve
Canvas.Left="423.99" Canvas.Top="358.9" Canvas.Right="360" Width="16"
Canvas.Left="424" Canvas.Top="345" Canvas.Right="360" Width="16"
Height="16" HorizontalAlignment="Center" VerticalAlignment="Top" Height="16" HorizontalAlignment="Center" VerticalAlignment="Top"
EdgeColor="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}" EdgeColor="{Binding DeviceStatus.ReactOutColdValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
OpenEnable="{Binding DeviceStatus.ReactOutColdValve}" /> OpenEnable="{Binding DeviceStatus.ReactOutColdValve}" />
<TextBlock <TextBlock
Canvas.Left="390.2" Canvas.Top="352.5" Width="80" HorizontalAlignment="Center"
VerticalAlignment="Top" FontSize="7" Foreground="White" Text="冷却水、疏水"
TextAlignment="Center" />
Canvas.Left="396" Canvas.Top="330" HorizontalAlignment="Left" VerticalAlignment="Top"
FontSize="12" Foreground="White" Text="冷却水、疏水" TextAlignment="Center" />
<!--#region 进清水阀、进卤水阀、压缩空气进气阀进连接处--> <!--#region 进清水阀、进卤水阀、压缩空气进气阀进连接处-->
<bpa:PipeLineV <bpa:PipeLineV
Canvas.Left="751.7" Canvas.Top="224.571" Canvas.Right="243.3" Width="5" Canvas.Left="751.7" Canvas.Top="224.571" Canvas.Right="243.3" Width="5"
@@ -853,9 +878,8 @@
EdgeColor="{Binding DeviceStatus.ReactInCleanWaterValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}" EdgeColor="{Binding DeviceStatus.ReactInCleanWaterValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
OpenEnable="{Binding DeviceStatus.ReactInCleanWaterValve}" /> OpenEnable="{Binding DeviceStatus.ReactInCleanWaterValve}" />
<TextBlock <TextBlock
Canvas.Left="521" Canvas.Top="374" Width="80" HorizontalAlignment="Left"
VerticalAlignment="Center" FontSize="7" Foreground="White" Text="进清水阀"
TextAlignment="Center" />
Canvas.Left="538" Canvas.Top="367" HorizontalAlignment="Left" VerticalAlignment="Top"
FontSize="12" Foreground="White" Text="进清水阀" TextAlignment="Center" />
<bpa:PipeLineV <bpa:PipeLineV
Canvas.Left="717.7" Canvas.Top="399" Canvas.Right="277.3" Width="5" Canvas.Left="717.7" Canvas.Top="399" Canvas.Right="277.3" Width="5"
Height="15" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="2" Height="15" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="2"
@@ -871,25 +895,17 @@
LineWidth="1" Speed="1.5" /> LineWidth="1" Speed="1.5" />
<TextBlock <TextBlock
Canvas.Left="583.798" Canvas.Top="446.79" Canvas.Right="240" HorizontalAlignment="Center" Canvas.Left="583.798" Canvas.Top="446.79" Canvas.Right="240" HorizontalAlignment="Center"
VerticalAlignment="Top" FontSize="7" Foreground="White" Text="进卤水阀" />
VerticalAlignment="Top" FontSize="12" Foreground="White" Text="进卤水阀" />
<bpa:MotorTwo <bpa:MotorTwo
Canvas.Left="223" Canvas.Top="437" Canvas.Right="197.5" Width="25"
Height="12" HorizontalAlignment="Left" VerticalAlignment="Center" />
<bpa:Joint
Canvas.Left="239" Canvas.Top="434" Canvas.Right="219.2" Width="20"
Height=" 20" HorizontalAlignment="Left" VerticalAlignment="Center" />
<bpa:PipeLineH
Canvas.Left="258" Canvas.Top="438" Canvas.Right="257.5" Width="334"
Height="5" HorizontalAlignment="Center" 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" />
<bpa:Tanks
Canvas.Left="239" Canvas.Top="449" Canvas.Right="239.5" Width="20"
Height="25" HorizontalAlignment="Left" VerticalAlignment="Center" />
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 <TextBlock
Canvas.Left="201" Canvas.Top="452" Canvas.Right="206.5" HorizontalAlignment="Left"
VerticalAlignment="Center" Foreground="White" Text="离心泵" />
Canvas.Left="205" Canvas.Top="465" Canvas.Right="206.5" HorizontalAlignment="Left"
VerticalAlignment="Top" Foreground="White" Text="卤水泵" />
<!--#region 压缩空气进气阀--> <!--#region 压缩空气进气阀-->
<bpa:PipeLineTL <bpa:PipeLineTL
Canvas.Left="712.7" Canvas.Top="410.037" Canvas.Right="277.3" Width="10" Canvas.Left="712.7" Canvas.Top="410.037" Canvas.Right="277.3" Width="10"
@@ -909,9 +925,8 @@
EdgeColor="{Binding DeviceStatus.ReactPressureAirInValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}" EdgeColor="{Binding DeviceStatus.ReactPressureAirInValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
OpenEnable="{Binding DeviceStatus.ReactPressureAirInValve}" /> OpenEnable="{Binding DeviceStatus.ReactPressureAirInValve}" />
<TextBlock <TextBlock
Canvas.Left="350.8" Canvas.Top="399.826" Width="80" HorizontalAlignment="Center"
VerticalAlignment="Top" FontSize="7" Foreground="White" Text="压缩空气进气阀"
TextAlignment="Center" />
Canvas.Left="350" Canvas.Top="423" HorizontalAlignment="Left" VerticalAlignment="Top"
FontSize="12" Foreground="White" Text="压缩空气进气阀" TextAlignment="Center" />


<!--#region 冷却水进水阀--> <!--#region 冷却水进水阀-->
<bpa:PipeLineV <bpa:PipeLineV
@@ -949,14 +964,13 @@
Fill="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}" Fill="{Binding DeviceStatus.ColdWaterTankInWaterValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
LineWidth="10" Speed="1" /> LineWidth="10" Speed="1" />
<bpa:HandValve <bpa:HandValve
Canvas.Left="360" Canvas.Top="43.6" Width="16" Height="16"
HorizontalAlignment="Center" VerticalAlignment="Top"
Canvas.Left="670" Canvas.Top="44" Width="16" Height="16"
HorizontalAlignment="Left" VerticalAlignment="Center"
EdgeColor="{Binding DeviceStatus.ReactInColdValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}" EdgeColor="{Binding DeviceStatus.ReactInColdValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
OpenEnable="{Binding DeviceStatus.ReactInColdValve}" /> OpenEnable="{Binding DeviceStatus.ReactInColdValve}" />
<TextBlock <TextBlock
Canvas.Left="326.5" Canvas.Top="34.6" Width="80" HorizontalAlignment="Center"
VerticalAlignment="Top" FontSize="7" Foreground="White" Text="冷却水进水阀"
TextAlignment="Center" />
Canvas.Left="640" Canvas.Top="30" HorizontalAlignment="Left" VerticalAlignment="Center"
FontSize="12" Foreground="White" Text="冷却水进水阀" TextAlignment="Center" />


<!--#region 风机--> <!--#region 风机-->
<bpa:PipeLineBL <bpa:PipeLineBL
@@ -972,19 +986,19 @@
Fill="{Binding DeviceStatus.ColdWaterTankVacuumValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}" Fill="{Binding DeviceStatus.ColdWaterTankVacuumValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
LineWidth="1" /> LineWidth="1" />
<CheckBox <CheckBox
Canvas.Left="-0.9" Canvas.Top="49.196" HorizontalAlignment="Center" VerticalAlignment="Top"
Canvas.Left="-1" Canvas.Top="49" HorizontalAlignment="Left" VerticalAlignment="Top"
IsChecked="{Binding DeviceStatus.Fans}" IsChecked="{Binding DeviceStatus.Fans}"
IsEnabled="False" IsEnabled="False"
Style="{StaticResource wind}" />
Style="{StaticResource wind}" Height="81" Width="92" />
<TextBlock <TextBlock
Canvas.Left="102" Canvas.Top="217" Canvas.Right="384.8" Height="20"
HorizontalAlignment="Left" VerticalAlignment="Center" d:Foreground="Red" FontSize="16"
Canvas.Left="101" Canvas.Top="206" Canvas.Right="384.8" Height="20"
HorizontalAlignment="Center" VerticalAlignment="Top" d:Foreground="Red" FontSize="16"
Foreground="{Binding DeviceStatus.CompressorRunning, Converter={StaticResource BoolToColorConverter}}" Foreground="{Binding DeviceStatus.CompressorRunning, Converter={StaticResource BoolToColorConverter}}"
Text="⚫" TextAlignment="Center" /> Text="⚫" TextAlignment="Center" />
<TextBlock <TextBlock
Canvas.Left="88" Canvas.Top="239" Canvas.Right="384.8" Height="9"
HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="7" Foreground="White"
Text="空压机启动反馈" TextAlignment="Center" />
Canvas.Left="88" Canvas.Top="229" Canvas.Right="384.8" HorizontalAlignment="Center"
VerticalAlignment="Top" FontSize="12" Foreground="White" Text="空压机&#xA;启动反馈"
TextAlignment="Center" />
<TextBlock <TextBlock
Canvas.Left="38" Canvas.Top="136.5" HorizontalAlignment="Center" VerticalAlignment="Top" Canvas.Left="38" Canvas.Top="136.5" HorizontalAlignment="Center" VerticalAlignment="Top"
Foreground="White" Text="风机" /> Foreground="White" Text="风机" />
@@ -994,9 +1008,8 @@
EdgeColor="{Binding DeviceStatus.ColdWaterTankVacuumValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}" EdgeColor="{Binding DeviceStatus.ColdWaterTankVacuumValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
OpenEnable="{Binding DeviceStatus.ColdWaterTankVacuumValve}" /> OpenEnable="{Binding DeviceStatus.ColdWaterTankVacuumValve}" />
<TextBlock <TextBlock
Canvas.Left="89.876" Canvas.Top="77.521" Width="80" HorizontalAlignment="Center"
VerticalAlignment="Top" FontSize="7" Foreground="White" Text="冷凝水管负压阀"
TextAlignment="Center" />
Canvas.Left="88" Canvas.Top="77" HorizontalAlignment="Left" VerticalAlignment="Top"
FontSize="12" Foreground="White" Text="冷凝水管负压阀" TextAlignment="Center" />
<bpa:PipeLineH <bpa:PipeLineH
Canvas.Left="31.329" Canvas.Top="22.031" Canvas.Right="260.7" Width="709" Canvas.Left="31.329" Canvas.Top="22.031" Canvas.Right="260.7" Width="709"
Height="5" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="1" Height="5" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="1"
@@ -1009,18 +1022,16 @@
EdgeColor="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=2, Converter={StaticResource deviceConvert}}" EdgeColor="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
OpenEnable="{Binding DeviceStatus.ReactInSteamValue}" /> OpenEnable="{Binding DeviceStatus.ReactInSteamValue}" />
<TextBlock <TextBlock
Canvas.Left="326.5" Canvas.Top="5.331" Width="80" HorizontalAlignment="Center"
VerticalAlignment="Top" FontSize="7" Foreground="White" Text="蒸汽比例阀"
TextAlignment="Center" />
Canvas.Left="336" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="12"
Foreground="White" Text="蒸汽比例阀" TextAlignment="Center" />
<bpa:HandValve <bpa:HandValve
Canvas.Left="429.972" Canvas.Top="14.331" Width="16" Height="16" Canvas.Left="429.972" Canvas.Top="14.331" Width="16" Height="16"
HorizontalAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left" VerticalAlignment="Center"
EdgeColor="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=2, Converter={StaticResource deviceConvert}}" EdgeColor="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
OpenEnable="{Binding DeviceStatus.ReactInSteamValue}" /> OpenEnable="{Binding DeviceStatus.ReactInSteamValue}" />
<TextBlock <TextBlock
Canvas.Left="396.472" Canvas.Top="5.331" Width="80" HorizontalAlignment="Left"
VerticalAlignment="Center" FontSize="7" Foreground="White" Text="蒸汽阀"
TextAlignment="Center" />
Canvas.Left="417" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="12"
Foreground="White" Text="蒸汽阀" TextAlignment="Center" />
<bpa:PipeLineBL <bpa:PipeLineBL
Canvas.Left="739.1" Canvas.Top="21.963" Canvas.Right="250.9" Width="10" Canvas.Left="739.1" Canvas.Top="21.963" Canvas.Right="250.9" Width="10"
Height="10" HorizontalAlignment="Center" VerticalAlignment="Center" Height="10" HorizontalAlignment="Center" VerticalAlignment="Center"
@@ -1028,21 +1039,21 @@
Fill="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=2, Converter={StaticResource deviceConvert}}" Fill="{Binding DeviceStatus.ReactInSteamValue, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
LineWidth="10" Speed="1.5" /> LineWidth="10" Speed="1.5" />
<bpa:PipeLineV <bpa:PipeLineV
Canvas.Left="320.8" Canvas.Top="109.369" Canvas.Right="404.2" Width="5"
Height="252" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="1"
Canvas.Left="321" Canvas.Top="109" Canvas.Right="404.2" Width="5"
Height="238" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="1"
LineWidth="1" /> LineWidth="1" />
<bpa:PipeLineBL <bpa:PipeLineBL
Canvas.Left="315.8" Canvas.Top="100.069" Canvas.Right="404.2" Width="10" Canvas.Left="315.8" Canvas.Top="100.069" Canvas.Right="404.2" Width="10"
Height="10" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="1" Height="10" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="1"
LineWidth="10" Speed="1.5" /> LineWidth="10" Speed="1.5" />
<bpa:PipeLineTL <bpa:PipeLineTL
Canvas.Left="310.7" Canvas.Top="361.298" Canvas.Right="238.3" Width="20"
Height="10" HorizontalAlignment="Center" VerticalAlignment="Center" d:Direction="1"
Canvas.Left="311" Canvas.Top="347" Canvas.Right="238.3" Width="20"
Height="10" HorizontalAlignment="Center" VerticalAlignment="Top" d:Direction="1"
LineWidth="10" Speed="1.5" /> LineWidth="10" Speed="1.5" />
<TextBlock <TextBlock
Canvas.Left="863.095" Canvas.Top="143.029" Canvas.Right="312.8" Width="46"
HorizontalAlignment="Center" VerticalAlignment="Top" FontSize="7" Foreground="White"
Text="反应釜泄压阀" TextAlignment="Center" />
Canvas.Left="815" Canvas.Top="120" Canvas.Right="312.8" HorizontalAlignment="Left"
VerticalAlignment="Top" FontSize="12" Foreground="White" Text="反应釜泄压阀"
TextAlignment="Center" />
<bpa:HandValve <bpa:HandValve
Canvas.Left="182" Canvas.Top="179" Canvas.Right="343.4" Width="16" Canvas.Left="182" Canvas.Top="179" Canvas.Right="343.4" Width="16"
Height="16" HorizontalAlignment="Left" VerticalAlignment="Center" Height="16" HorizontalAlignment="Left" VerticalAlignment="Center"
@@ -1059,8 +1070,8 @@
Fill="{Binding DeviceStatus.ReactInBrineWaterValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}" Fill="{Binding DeviceStatus.ReactInBrineWaterValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
LineWidth="1" Speed="10" /> LineWidth="1" Speed="10" />
<TextBlock <TextBlock
Canvas.Left="163" Canvas.Top="142" Canvas.Right="312.8" Width="18"
HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="7" Foreground="White"
Canvas.Left="168" Canvas.Top="117" Canvas.Right="312.8" HorizontalAlignment="Left"
VerticalAlignment="Top" FontSize="12" Foreground="White"
Text="冷&#xA;凝&#xA;水&#xA;罐&#xA;进&#xA;水&#xA;阀" Text="冷&#xA;凝&#xA;水&#xA;罐&#xA;进&#xA;水&#xA;阀"
TextAlignment="Center" /> TextAlignment="Center" />
<bpa:HandValve <bpa:HandValve
@@ -1068,6 +1079,21 @@
Height="16" HorizontalAlignment="Center" VerticalAlignment="Top" Height="16" HorizontalAlignment="Center" VerticalAlignment="Top"
EdgeColor="{Binding DeviceStatus.ReactInBrineWaterValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}" EdgeColor="{Binding DeviceStatus.ReactInBrineWaterValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
OpenEnable="{Binding DeviceStatus.ReactInBrineWaterValve}" /> OpenEnable="{Binding DeviceStatus.ReactInBrineWaterValve}" />
<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>
<!--#endregion--> <!--#endregion-->
</Canvas> </Canvas>
</Viewbox> </Viewbox>


+ 1
- 21
BPASmartClient.Academy/View/ReactionKettle50LView.xaml.cs View File

@@ -114,6 +114,7 @@ namespace BPASmartClient.Academy.View
{ {
NoticeDemoViewModel.OpenMsg(promptType, App.Current.MainWindow, title, msg); NoticeDemoViewModel.OpenMsg(promptType, App.Current.MainWindow, title, msg);
})); }));
MessageNotify.GetInstance.ShowRunLog($"人工介入:"+msg);
} }


private void auto_click(object sender, RoutedEventArgs e) private void auto_click(object sender, RoutedEventArgs e)
@@ -288,26 +289,5 @@ namespace BPASmartClient.Academy.View
Notify(EnumPromptType.Error, "校准失败", "设备未连接"); Notify(EnumPromptType.Error, "校准失败", "设备未连接");
} }
} }


private void Canvas_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{

}

private void Canvas_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
{

}

private void Canvas_MouseMove(object sender, MouseEventArgs e)
{

}

private void Canvas_MouseWheel(object sender, MouseWheelEventArgs e)
{

}
} }
} }

Loading…
Cancel
Save