From 3ab8111eb0eb4d930a39fd9b997d34fecef1a65a Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Wed, 18 Jul 2018 13:01:09 +0200 Subject: [PATCH] log contapezzi + frequente (NON SOLO se cambia) --- IOB-WIN/IobFanuc.cs | 5 +++-- IOB-WIN/IobSiemensTorri.cs | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/IOB-WIN/IobFanuc.cs b/IOB-WIN/IobFanuc.cs index 0c6db850..4c982a9f 100644 --- a/IOB-WIN/IobFanuc.cs +++ b/IOB-WIN/IobFanuc.cs @@ -456,9 +456,10 @@ namespace IOB_WIN contapezzi++; // salvo in semaforo! B_input += 1 << 2; - // registro contapezzi - lgInfo(string.Format("Contapezzi FANUC: {0} | Contapezzi interno {1}", lastCountCNC, contapezzi)); } + // registro contapezzi + lgInfo(string.Format("Contapezzi FANUC: {0} | Contapezzi interno {1}", lastCountCNC, contapezzi)); + // 2018.06.26 NON resetto perché si deve resettare da solo da conteggio TC POST cambio ODL... #if false else if (contapezzi > lastCountCNC) // in questo caso resetto diff --git a/IOB-WIN/IobSiemensTorri.cs b/IOB-WIN/IobSiemensTorri.cs index f994c969..a3681450 100644 --- a/IOB-WIN/IobSiemensTorri.cs +++ b/IOB-WIN/IobSiemensTorri.cs @@ -566,9 +566,10 @@ namespace IOB_WIN contapezzi++; // salvo in semaforo! B_input += 1 << 2; - // registro contapezzi - lgInfo(string.Format("Contapezzi SIEMENST-TORRI: {0} | Contapezzi interno {1}", lastCountCNC, contapezzi)); } + // registro contapezzi + lgInfo(string.Format("Contapezzi SIEMENST-TORRI: {0} | Contapezzi interno {1}", lastCountCNC, contapezzi)); + // 2018.06.26 NON resetto perché si deve resettare da solo da conteggio TC POST cambio ODL... #if false else if (contapezzi > lastCountCNC) // in questo caso resetto