From 66f8551c26acf2573ecb4db2ad5b3ecd6b341e82 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Fri, 6 Dec 2019 12:57:30 +0100 Subject: [PATCH] tolta area commentata DA RIVEDERE scrittura siemens STRINGHE!!! --- IOB-WIN/IobSiemens.cs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/IOB-WIN/IobSiemens.cs b/IOB-WIN/IobSiemens.cs index 2de94d1e..10584641 100644 --- a/IOB-WIN/IobSiemens.cs +++ b/IOB-WIN/IobSiemens.cs @@ -88,13 +88,6 @@ namespace IOB_WIN int byteLen = strByte.Length <= maxLenght ? strByte.Length : maxLenght; if (writePre) { -#if false - // tolgo 2 alla lunghezza... SE > 2 - if (byteLen > 2) - { - byteLen = byteLen - 2; - } -#endif // MAX LUN stringPar[1] = (byte)maxLenght; // LUNGH STRING @@ -207,13 +200,6 @@ namespace IOB_WIN int shiftStrByte = writePre ? 2 : 0; if (writePre) { -#if false - // tolgo 2 alla lunghezza... SE > 2 - if (byteLen > 2) - { - byteLen = byteLen - 2; - } -#endif // MAX LUN stringPar[1] = (byte)totLen; // LUNGH STRING