2014-08-27 update 3
This commit is contained in:
@@ -122,6 +122,7 @@ namespace ModBus.Net
|
||||
}
|
||||
|
||||
byte[] data = new byte[200];
|
||||
Thread.Sleep(100);
|
||||
int i = serialPort1.Read(data, 0, serialPort1.BytesToRead);
|
||||
byte[] returndata = new byte[i];
|
||||
Array.Copy(data, 0, returndata, 0, i);
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace ModBus.Net
|
||||
}
|
||||
}
|
||||
|
||||
public class ModbusComProtocalLinkerBytesExtend : ProtocalLinkerBytesExtend
|
||||
public class ModbusRtuProtocalLinkerBytesExtend : ProtocalLinkerBytesExtend
|
||||
{
|
||||
public override byte[] BytesExtend(byte[] content)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user