IReadWriteDeviceReadFromCoreServer 方法 (IEnumerableByte) |
将多个数据报文按顺序发到设备,并从设备接收返回的数据内容,然后拼接成一个Byte[]信息,需要重写
UnpackResponseContent(Byte, Byte)方法才能返回正确的结果。
Send multiple data packets to the device in sequence, and receive the returned data content from the device, and then splicing them into a Byte[] message,
you need to rewrite
UnpackResponseContent(Byte, Byte) method to return the correct result.
命名空间:
HslCommunication.Core
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 OperateResult<byte[]> ReadFromCoreServer(
IEnumerable<byte[]> send
)
Function ReadFromCoreServer (
send As IEnumerable(Of Byte())
) As OperateResult(Of Byte())
OperateResult<array<unsigned char>^>^ ReadFromCoreServer(
IEnumerable<array<unsigned char>^>^ send
)
abstract ReadFromCoreServer :
send : IEnumerable<byte[]> -> OperateResult<byte[]>
参数
- send
- 类型:System.Collections.GenericIEnumerableByte
发送的报文列表信息
返回值
类型:
OperateResultByte是否接收成功
参见