diff --git a/Thermo.Active.Core/ThreadsFunctions.cs b/Thermo.Active.Core/ThreadsFunctions.cs index be559e9c..f9f6e27d 100644 --- a/Thermo.Active.Core/ThreadsFunctions.cs +++ b/Thermo.Active.Core/ThreadsFunctions.cs @@ -352,8 +352,8 @@ public static class ThreadsFunctions // if requested --> give ack! ncAdapter.ManageFlirStrobe(); // requesto photo from library - ncAdapter.lastThermoImage = TCCom.takePicture(); - done = !string.IsNullOrEmpty(ncAdapter.lastThermoImage); + NcAdapter.lastThermoImage = TCCom.takePicture(); + done = !string.IsNullOrEmpty(NcAdapter.lastThermoImage); if (done) { // init diff --git a/Thermo.Active.NC/NcAdapter.cs b/Thermo.Active.NC/NcAdapter.cs index 49034447..cf4083b9 100644 --- a/Thermo.Active.NC/NcAdapter.cs +++ b/Thermo.Active.NC/NcAdapter.cs @@ -117,7 +117,7 @@ namespace Thermo.Active.NC /// /// ultima immagine scattata dalla thermocam x salvataggio in PROD /// - public string lastThermoImage = "_last"; + public static string lastThermoImage = "_last"; /// /// Avvio prod lotto