fix nome last image (static var)

This commit is contained in:
Samuele E. Locatelli
2021-02-23 16:30:43 +01:00
parent 72a762b24c
commit 7d1f9b4d4c
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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
+1 -1
View File
@@ -117,7 +117,7 @@ namespace Thermo.Active.NC
/// <summary>
/// ultima immagine scattata dalla thermocam x salvataggio in PROD
/// </summary>
public string lastThermoImage = "_last";
public static string lastThermoImage = "_last";
/// <summary>
/// Avvio prod lotto