tolta area commentata

DA RIVEDERE scrittura siemens STRINGHE!!!
This commit is contained in:
Samuele E. Locatelli
2019-12-06 12:57:30 +01:00
parent ca28d089b3
commit 66f8551c26
-14
View File
@@ -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