diff --git a/Thermo.Active.Config/Config/serverConfig.xml b/Thermo.Active.Config/Config/serverConfig.xml index 5dd5779f..1aca93c1 100644 --- a/Thermo.Active.Config/Config/serverConfig.xml +++ b/Thermo.Active.Config/Config/serverConfig.xml @@ -133,7 +133,7 @@ - + @@ -145,12 +145,12 @@ - + - + diff --git a/Thermo.Active.NC/NcAdapter.cs b/Thermo.Active.NC/NcAdapter.cs index 586786f4..e150eb99 100644 --- a/Thermo.Active.NC/NcAdapter.cs +++ b/Thermo.Active.NC/NcAdapter.cs @@ -1414,7 +1414,9 @@ namespace Thermo.Active.NC // leggo la ricetta dal PLC! var currRecipe = new Dictionary(); - libraryError = ReadFullRecipe(out currRecipe); + //libraryError = ReadFullRecipe(out currRecipe); + libraryError = ReadRecipeData(true, true, out currRecipe); + if (libraryError.IsError()) return libraryError; @@ -1685,7 +1687,7 @@ namespace Thermo.Active.NC var currRecipe = new Dictionary(); // read recipe - libraryError = ReadRecipeData(false, true, out currRecipe); + libraryError = ReadRecipeData(true, true, out currRecipe); if (libraryError.IsError()) return libraryError;