Update modbus x log ping e gestione test ping non duplicato

This commit is contained in:
Samuele Locatelli
2022-02-16 15:47:00 +01:00
parent 5177244201
commit 1979f4577a
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -714,6 +714,7 @@ namespace IOB_WIN_NEXT
}
// ora tento avvio PLC... SE PING OK...
lastPING = DateTime.Now;
IPStatus esitoPing = testPingMachine;
if (esitoPing == IPStatus.Success)
{
@@ -749,7 +750,7 @@ namespace IOB_WIN_NEXT
}
else
{
lgError($"Errore in ping: esito {esitoPing}");
lgError($"ModBusTCP IOB | Errore in ping: esito {esitoPing}");
}
parentForm.commPlcActive = false;
}
+1 -1
View File
@@ -609,7 +609,7 @@ namespace IOB_WIN_NEXT
}
else
{
lgError($"Errore in ping: esito {esitoPing}");
lgError($"IOB SIEMENS | Errore in ping: esito {esitoPing}");
}
parentForm.commPlcActive = false;
// carico conf vettore memoria...