From 5178d8970bfc736906aee3301efebe27845e483d Mon Sep 17 00:00:00 2001 From: Roland Drabesch Date: Mon, 12 Feb 2024 15:18:19 +0100 Subject: [PATCH] CAL improvment --- Common/CordonelAssemblyLine/App.config | 4 +- .../CordonelAssemblyLine/Event/StringArgs.cs | 11 + Common/CordonelAssemblyLine/Leak.xaml | 1 + Common/CordonelAssemblyLine/Leak.xaml.cs | 31 ++- Common/CordonelAssemblyLine/MainWindow.xaml | 2 +- .../CordonelAssemblyLine/MainWindow.xaml.cs | 17 +- .../Model/LeakViewModel.cs | 59 +++-- .../CordonelPreadjustmentUi.csproj | 5 +- .../RequestProtocol/RequestProtocol.cs | 241 +++++++++++++----- .../eRegister/eRegisterCore/eRegisterMeter.cs | 6 +- .../Actions/ProductionCheckShippingState.cs | 7 +- .../Controllers/EasyAccessControler.cs | 9 +- .../Controllers/PasswordController.cs | 5 +- .../Controllers/ProccesStateController.cs | 76 ++++-- Common/Ui/LegacyGenesisControl/ctlBatch.cs | 1 + 15 files changed, 355 insertions(+), 120 deletions(-) diff --git a/Common/CordonelAssemblyLine/App.config b/Common/CordonelAssemblyLine/App.config index aefc23c0..0e0d29cc 100644 --- a/Common/CordonelAssemblyLine/App.config +++ b/Common/CordonelAssemblyLine/App.config @@ -6,13 +6,13 @@ - + - + diff --git a/Common/CordonelAssemblyLine/Event/StringArgs.cs b/Common/CordonelAssemblyLine/Event/StringArgs.cs index 0cc5aec6..6b7507df 100644 --- a/Common/CordonelAssemblyLine/Event/StringArgs.cs +++ b/Common/CordonelAssemblyLine/Event/StringArgs.cs @@ -10,4 +10,15 @@ namespace CordonelAssemblyLine.Event Content = content; } } + + public class StringPressureArgs : EventArgs + { + public readonly bool NeedPressure; + public readonly String Content; + public StringPressureArgs(String content, bool needPressure = false) + { + Content = content; + NeedPressure = needPressure; + } + } } diff --git a/Common/CordonelAssemblyLine/Leak.xaml b/Common/CordonelAssemblyLine/Leak.xaml index cb2021ee..c3fd48ef 100644 --- a/Common/CordonelAssemblyLine/Leak.xaml +++ b/Common/CordonelAssemblyLine/Leak.xaml @@ -106,6 +106,7 @@