From be21df40eef957dc89d5bfa2054660d73281110c Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Mon, 27 Jun 2022 13:32:34 +0200 Subject: [PATCH] Aggiunto controllo su disabilitazione contapezzi --- IOB-WIN-NEXT/IobSiemens.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/IOB-WIN-NEXT/IobSiemens.cs b/IOB-WIN-NEXT/IobSiemens.cs index 523bae10..c97c504f 100644 --- a/IOB-WIN-NEXT/IobSiemens.cs +++ b/IOB-WIN-NEXT/IobSiemens.cs @@ -934,7 +934,8 @@ namespace IOB_WIN_NEXT /// public override void processContapezzi() { - if (utils.CRB("enableContapezzi")) + bool disableByIob = (getOptPar("DISABLE_PZCOUNT") == "TRUE"); + if (utils.CRB("enableContapezzi") && !disableByIob) { try {