update last read PLC x MTC
This commit is contained in:
@@ -126,6 +126,7 @@ namespace IOB_WIN_NEXT.Iob
|
||||
public override void readSemafori(ref newDisplayData currDispData)
|
||||
{
|
||||
DateTime adesso = DateTime.Now;
|
||||
lastReadPLC = adesso;
|
||||
// verifico non sia in veto invio iniziale...
|
||||
if (dtVetoQueueIN >= adesso)
|
||||
{
|
||||
@@ -500,7 +501,9 @@ namespace IOB_WIN_NEXT.Iob
|
||||
double newVal = 0;
|
||||
if (newValue != null)
|
||||
{
|
||||
lgTrace($"Richiesta checkSaveSample per {newValue} | id: {newValue.DataItemId} | CDATA: {newValue.CDATA}");
|
||||
#if false
|
||||
lgTrace($"Richiesta checkSaveSample per {newValue} | id: {newValue.DataItemId} | CDATA: {newValue.CDATA}");
|
||||
#endif
|
||||
// verifico in memoria se ho l'oggetto condition ed il suo valore..
|
||||
if (dataItemMem.ContainsKey(newValue.DataItemId))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user