fix build error because of merging pull request.

Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
This commit is contained in:
Michele Cattafesta
2015-09-29 22:05:34 +02:00
parent d61e6cb6da
commit a8684b0227

View File

@@ -119,7 +119,10 @@ namespace S7.Net
bSend1[15] = 194;
bSend1[16] = 2;
bSend1[17] = 3;
case CpuType.S71500:
bSend1[18] = (byte)(Rack * 2 * 16 + Slot);
break;
case CpuType.S71500:
// Eigener Tsap
bSend1[11] = 193;
bSend1[12] = 2;
@@ -132,9 +135,6 @@ namespace S7.Net
bSend1[18] = 0x0;
break;
default:
bSend1[18] = (byte)(Rack * 2 * 16 + Slot);
break;
default:
return ErrorCode.WrongCPU_Type;
}