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