fix scadenza css foglio zero

This commit is contained in:
Samuele E. Locatelli
2020-08-17 09:15:25 +02:00
parent bea3ec6fd5
commit acf620d978
+8 -4
View File
@@ -57,14 +57,18 @@ namespace NKC_WF.Controllers
// se vuoto lo calcolo...
answ = ComLib.getCurrentCss(sheetID);
}
// salvo ANCHE per foglio 0...
memLayer.ML.setRSV(redKeyZero, answ, 60);
// salvo ANCHE per foglio 0... per 5 minuti
memLayer.ML.setRSV(redKeyZero, answ, 60 * 5);
}
else
{
// leggo ultimo...
answ = memLayer.ML.getRSV(redKeyZero);
try
{
answ = memLayer.ML.getRSV(redKeyZero);
}
catch
{ }
}
// restituisco css
return answ;