FatekProgramServerCheckSerialReceiveDataComplete 方法 |
检查串口接收的数据是否完成的方法,如果接收完成,则返回True
命名空间:
HslCommunication.Profinet.FATEK
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 protected override bool CheckSerialReceiveDataComplete(
byte[] buffer,
int receivedLength
)
Protected Overrides Function CheckSerialReceiveDataComplete (
buffer As Byte(),
receivedLength As Integer
) As Boolean
protected:
virtual bool CheckSerialReceiveDataComplete(
array<unsigned char>^ buffer,
int receivedLength
) override
abstract CheckSerialReceiveDataComplete :
buffer : byte[] *
receivedLength : int -> bool
override CheckSerialReceiveDataComplete :
buffer : byte[] *
receivedLength : int -> bool
参数
- buffer
- 类型:SystemByte
缓存的数据信息 - receivedLength
- 类型:SystemInt32
当前已经接收的数据长度信息
返回值
类型:
Boolean是否接收完成
参见