Merge branch 'release/FixMtcRestart03'
This commit is contained in:
@@ -339,6 +339,7 @@ namespace IOB_WIN_NEXT.Iob
|
||||
|
||||
// imposto veto invio per i prossimi sec
|
||||
dtVetoQueueIN = DateTime.Now.AddSeconds(vetoQueueIn);
|
||||
lgInfoStartup($"Impostato veto QUEUE-IN a {vetoQueueIn}s | fino alle {dtVetoQueueIN:yyyy.MM.dd HH:mm:ss}");
|
||||
// concluso!
|
||||
lgInfoStartup("Istanziata classe preliminare IOBGeneric");
|
||||
}
|
||||
|
||||
@@ -125,26 +125,32 @@ namespace IOB_WIN_NEXT.Iob
|
||||
/// </summary>
|
||||
public override void readSemafori(ref newDisplayData currDispData)
|
||||
{
|
||||
#if false
|
||||
base.readSemafori(ref currDispData);
|
||||
#endif
|
||||
try
|
||||
DateTime adesso = DateTime.Now;
|
||||
// verifico non sia in veto invio iniziale...
|
||||
if (dtVetoQueueIN >= adesso)
|
||||
{
|
||||
if (verboseLog)
|
||||
{
|
||||
lgInfo("inizio read semafori");
|
||||
}
|
||||
|
||||
currDispData.semIn = Semaforo.SV;
|
||||
|
||||
// decodifica e gestione
|
||||
decodeToBaseBitmap();
|
||||
reportRawInput(ref currDispData);
|
||||
lgDebug($"[VETO readSemafori] | veto attivo sino alle {adesso:yyyy.MM.dd HH:mm:ss}");
|
||||
}
|
||||
catch (Exception exc)
|
||||
else
|
||||
{
|
||||
currDispData.semIn = Semaforo.SR;
|
||||
lgError($"Eccezione in readSemafori:{Environment.NewLine}{exc}");
|
||||
try
|
||||
{
|
||||
if (verboseLog)
|
||||
{
|
||||
lgInfo("inizio read semafori");
|
||||
}
|
||||
|
||||
currDispData.semIn = Semaforo.SV;
|
||||
|
||||
// decodifica e gestione
|
||||
decodeToBaseBitmap();
|
||||
reportRawInput(ref currDispData);
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
currDispData.semIn = Semaforo.SR;
|
||||
lgError($"Eccezione in readSemafori:{Environment.NewLine}{exc}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user