From b19124784d8f422309e918b39dbc17a6ab91b068 Mon Sep 17 00:00:00 2001
From: ZhaoGang <15196688790@163.com>
Date: Wed, 16 Oct 2024 11:31:41 +0800
Subject: [PATCH] =?UTF-8?q?add:=E6=B7=BB=E5=8A=A0=E5=8D=A4=E6=B0=B4?=
=?UTF-8?q?=E9=85=8D=E5=88=B6=E7=BD=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
BPASmartClient.Academy/App.config | 2 +-
BPASmartClient.Academy/View/BrineTank.xaml | 106 ++++++++
BPASmartClient.Academy/View/BrineTank.xaml.cs | 28 ++
.../View/ReactionKettle50LView.xaml | 242 ++++++++++--------
.../View/ReactionKettle50LView.xaml.cs | 22 +-
5 files changed, 270 insertions(+), 130 deletions(-)
create mode 100644 BPASmartClient.Academy/View/BrineTank.xaml
create mode 100644 BPASmartClient.Academy/View/BrineTank.xaml.cs
diff --git a/BPASmartClient.Academy/App.config b/BPASmartClient.Academy/App.config
index d24a5778..0375766b 100644
--- a/BPASmartClient.Academy/App.config
+++ b/BPASmartClient.Academy/App.config
@@ -12,7 +12,7 @@
-
+
\ No newline at end of file
diff --git a/BPASmartClient.Academy/View/BrineTank.xaml b/BPASmartClient.Academy/View/BrineTank.xaml
new file mode 100644
index 00000000..0e53efd0
--- /dev/null
+++ b/BPASmartClient.Academy/View/BrineTank.xaml
@@ -0,0 +1,106 @@
+
+
+
+ 701418563
+
+
+
+
diff --git a/BPASmartClient.Academy/View/BrineTank.xaml.cs b/BPASmartClient.Academy/View/BrineTank.xaml.cs
new file mode 100644
index 00000000..ae998235
--- /dev/null
+++ b/BPASmartClient.Academy/View/BrineTank.xaml.cs
@@ -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
+{
+ ///
+ /// BrineTank.xaml 的交互逻辑
+ ///
+ public partial class BrineTank : UserControl
+ {
+ public BrineTank()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/BPASmartClient.Academy/View/ReactionKettle50LView.xaml b/BPASmartClient.Academy/View/ReactionKettle50LView.xaml
index 6023ca00..a04369c4 100644
--- a/BPASmartClient.Academy/View/ReactionKettle50LView.xaml
+++ b/BPASmartClient.Academy/View/ReactionKettle50LView.xaml
@@ -244,8 +244,8 @@
+ Panel.ZIndex="299" d:Visibility="Collapsed" FontSize="100" FontWeight="Black"
+ Foreground="Red" Text="设 备 未 连 接" Visibility="Collapsed" />
+ x:Name="ooo" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" d:Opacity="1.0"
+ IsHitTestVisible="True" Opacity="0.5">
@@ -290,7 +290,26 @@
-
+
+
+
+
+
+
+
@@ -601,74 +621,81 @@
IsChecked="{Binding DeviceStatus.ReactTurnMotor}"
IsEnabled="False"
Style="{StaticResource move}" />
+
+ Canvas.Left="247" Canvas.Top="257" HorizontalAlignment="Left" VerticalAlignment="Center"
+ FontSize="12" Foreground="White" Text="称重水罐" />
+ Canvas.Left="927" Canvas.Top="224" Canvas.Right="384.8" HorizontalAlignment="Left"
+ VerticalAlignment="Center" FontSize="12" Foreground="White" Text="反应釜
原点"
+ TextAlignment="Center" />
+
-
@@ -701,7 +728,7 @@
Fill="{Binding DeviceStatus.ColdWaterTankInAirValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
LineWidth="10" Speed="1.5" />
@@ -710,8 +737,8 @@
@@ -732,9 +759,9 @@
EdgeColor="{Binding DeviceStatus.HotGasEmptyValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
OpenEnable="{Binding DeviceStatus.HotGasEmptyValve}" />
+ Canvas.Left="618" Canvas.Top="192" Canvas.Right="312.8" HorizontalAlignment="Left"
+ VerticalAlignment="Top" FontSize="12" 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" />
+ Canvas.Left="415" Canvas.Top="297" HorizontalAlignment="Center" VerticalAlignment="Top"
+ FontSize="12" Foreground="White" Text="反应釜排水阀" TextAlignment="Center" />
+ Canvas.Left="396" Canvas.Top="330" HorizontalAlignment="Left" VerticalAlignment="Top"
+ FontSize="12" Foreground="White" Text="冷却水、疏水" TextAlignment="Center" />
+ Canvas.Left="538" Canvas.Top="367" HorizontalAlignment="Left" VerticalAlignment="Top"
+ FontSize="12" Foreground="White" Text="进清水阀" TextAlignment="Center" />
+ VerticalAlignment="Top" FontSize="12" Foreground="White" Text="进卤水阀" />
-
-
-
+ Canvas.Left="244" Canvas.Top="463" Canvas.Right="197.5" Width="25"
+ Height="12" HorizontalAlignment="Center" VerticalAlignment="Top">
+
+
+
+
+ Canvas.Left="205" Canvas.Top="465" Canvas.Right="206.5" HorizontalAlignment="Left"
+ VerticalAlignment="Top" Foreground="White" Text="卤水泵" />
+ Canvas.Left="350" Canvas.Top="423" HorizontalAlignment="Left" VerticalAlignment="Top"
+ FontSize="12" Foreground="White" Text="压缩空气进气阀" TextAlignment="Center" />
+ Canvas.Left="640" Canvas.Top="30" HorizontalAlignment="Left" VerticalAlignment="Center"
+ FontSize="12" Foreground="White" Text="冷却水进水阀" TextAlignment="Center" />
+ Style="{StaticResource wind}" Height="81" Width="92" />
+ Canvas.Left="88" Canvas.Top="229" Canvas.Right="384.8" HorizontalAlignment="Center"
+ VerticalAlignment="Top" FontSize="12" Foreground="White" Text="空压机
启动反馈"
+ TextAlignment="Center" />
@@ -994,9 +1008,8 @@
EdgeColor="{Binding DeviceStatus.ColdWaterTankVacuumValve, ConverterParameter=2, Converter={StaticResource deviceConvert}}"
OpenEnable="{Binding DeviceStatus.ColdWaterTankVacuumValve}" />
+ Canvas.Left="88" Canvas.Top="77" HorizontalAlignment="Left" VerticalAlignment="Top"
+ FontSize="12" Foreground="White" Text="冷凝水管负压阀" TextAlignment="Center" />
+ Canvas.Left="336" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="12"
+ Foreground="White" Text="蒸汽比例阀" TextAlignment="Center" />
+ Canvas.Left="417" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="12"
+ 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" />
+
+
+
+
+
+
+
+
+
+
+
diff --git a/BPASmartClient.Academy/View/ReactionKettle50LView.xaml.cs b/BPASmartClient.Academy/View/ReactionKettle50LView.xaml.cs
index fe06550e..641d26c8 100644
--- a/BPASmartClient.Academy/View/ReactionKettle50LView.xaml.cs
+++ b/BPASmartClient.Academy/View/ReactionKettle50LView.xaml.cs
@@ -114,6 +114,7 @@ namespace BPASmartClient.Academy.View
{
NoticeDemoViewModel.OpenMsg(promptType, App.Current.MainWindow, title, msg);
}));
+ MessageNotify.GetInstance.ShowRunLog($"人工介入:"+msg);
}
private void auto_click(object sender, RoutedEventArgs e)
@@ -288,26 +289,5 @@ namespace BPASmartClient.Academy.View
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)
- {
-
- }
}
}