From 807e225de8aace7cf528fb94de08e88568dd86cd Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Fri, 26 Jun 2020 12:19:30 +0200 Subject: [PATCH] Confirm recipe post PLC request --- Thermo.Active.NC/NcAdapter.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Thermo.Active.NC/NcAdapter.cs b/Thermo.Active.NC/NcAdapter.cs index 2b0baf97..cfb99f65 100644 --- a/Thermo.Active.NC/NcAdapter.cs +++ b/Thermo.Active.NC/NcAdapter.cs @@ -323,6 +323,13 @@ namespace Thermo.Active.NC WriteRecipeParams(updtRecipe); // Ack ! libraryError = numericalControl.PLC_WAckConfRecipeRequest(); + if (libraryError.IsError()) + return libraryError; + + // do conferma come se avessi appena approvata ricetta... + libraryError = ConfirmRecipeData(true); + if (libraryError.IsError()) + return libraryError; } } }