Aggiunta gestione veto invio sig in x adapter
This commit is contained in:
@@ -64,6 +64,7 @@ ENABLE_DYN_DATA=FALSE
|
||||
FORCE_DYN_DATA=TRUE
|
||||
ENABLE_DATA_FILTER=TRUE
|
||||
ENABLE_CLI_RESTART=TRUE
|
||||
VETO_SIG_IN=TRUE
|
||||
|
||||
; conf parametri memoria READ/WRITE
|
||||
OPC_PARAM_CONF=GIACO_ICOEL_001.json
|
||||
|
||||
@@ -3498,10 +3498,19 @@ namespace IOB_WIN_NEXT
|
||||
{
|
||||
// mostro dati variati letti...
|
||||
displayInData(ref currDispData);
|
||||
// --> accodo (valore già formattato)!
|
||||
QueueIN.Enqueue(qEncodeIN);
|
||||
// loggo!
|
||||
lgTrace(string.Format("[QUEUE-IN] {0}", qEncodeIN));
|
||||
// verifico veto a invio status macchina
|
||||
string keyName = "VETO_SIG_IN";
|
||||
if (getOptPar(keyName).ToUpper() == "TRUE")
|
||||
{
|
||||
lgTrace($"Filtrato accodamento valore da conf IOB | {keyName} | [QUEUE-IN] {qEncodeIN}");
|
||||
}
|
||||
else
|
||||
{
|
||||
// --> accodo (valore già formattato)!
|
||||
QueueIN.Enqueue(qEncodeIN);
|
||||
// loggo!
|
||||
lgTrace(string.Format("[QUEUE-IN] {0}", qEncodeIN));
|
||||
}
|
||||
// aggiorno counters ed eventuale reset
|
||||
nReadFilt++;
|
||||
if (nReadFilt > int.MaxValue - 1)
|
||||
|
||||
Reference in New Issue
Block a user