ModbusTcpServerCheckSerialReceiveDataComplete 方法 |
检查串口接收的数据是否完成的方法,如果接收完成,则返回True
命名空间:
HslCommunication.ModBus
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 protected override bool CheckSerialReceiveDataComplete(
byte[] buffer,
int dataLength
)
Protected Overrides Function CheckSerialReceiveDataComplete (
buffer As Byte(),
dataLength As Integer
) As Boolean
protected:
virtual bool CheckSerialReceiveDataComplete(
array<unsigned char>^ buffer,
int dataLength
) override
abstract CheckSerialReceiveDataComplete :
buffer : byte[] *
dataLength : int -> bool
override CheckSerialReceiveDataComplete :
buffer : byte[] *
dataLength : int -> bool
参数
- buffer
- 类型:SystemByte
缓存的数据信息 - dataLength
- 类型:SystemInt32
[缺少 "M:HslCommunication.ModBus.ModbusTcpServer.CheckSerialReceiveDataComplete(System.Byte[],System.Int32)" 的 <param name="dataLength"/> 文档]
返回值
类型:
Boolean是否接收完成
参见