Merge branch 'release/CitizenWs_03'
This commit is contained in:
@@ -8111,7 +8111,7 @@ namespace IOB_WIN_FORM.Iob
|
||||
// + di un timeout di controllo...
|
||||
DateTime adesso = DateTime.Now;
|
||||
bool scaduto = Math.Abs(adesso.Subtract(lastSigVarSent).TotalSeconds) > lastSigVarVeto;
|
||||
if (B_output != B_previous)
|
||||
if (B_output != B_previous || scaduto)
|
||||
{
|
||||
lgDebug($"processAllMemory | B_output: {B_output} | B_previous: {B_previous}");
|
||||
accodaSigIN(ref currDispData);
|
||||
|
||||
@@ -493,6 +493,7 @@ namespace IOB_WIN_WS.IobWs
|
||||
{
|
||||
B_input = 0;
|
||||
currDispData.semIn = Semaforo.SR;
|
||||
lgTrace($"Citizen.decodeToBaseBitmap | connectionOk: {connectionOk}");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -140,11 +140,6 @@ namespace IOB_WIN_WS.IobWs
|
||||
{
|
||||
try
|
||||
{
|
||||
if (verboseLog)
|
||||
{
|
||||
lgInfo("inizio readSemafori");
|
||||
}
|
||||
|
||||
currDispData.semIn = Semaforo.SV;
|
||||
// effettua refresh dati da leggere SPECIFICi x citizen...
|
||||
refreshData();
|
||||
@@ -322,9 +317,9 @@ namespace IOB_WIN_WS.IobWs
|
||||
* B7: EmergArmed (1 = NON emergenza, 0 = emergenza)
|
||||
----------------------------------------------------- */
|
||||
|
||||
// per prima cosa controllo ping e se sia connesso...
|
||||
|
||||
#if false
|
||||
// per prima cosa controllo ping e se sia connesso...
|
||||
if (connectionOk)
|
||||
{
|
||||
B_input = 1;
|
||||
|
||||
Reference in New Issue
Block a user