fix gestione lettura thermo params
This commit is contained in:
@@ -813,7 +813,7 @@ public static class ThreadsFunctions
|
||||
if (ncAdapter.numericalControl.NC_IsConnected())
|
||||
{
|
||||
// every 10 reads all data...
|
||||
useCache = (readCount == 0);
|
||||
useCache = (readCount != 0);
|
||||
// Get new data from PLC
|
||||
libraryError = ncAdapter.ReadWarmers(useCache, out Dictionary<int, DTOWarmers> currWarmers);
|
||||
if (libraryError.IsError())
|
||||
|
||||
Reference in New Issue
Block a user