NetworkUdpBaseReadFromCoreServerAsync 方法 |
名称 | 说明 | |
---|---|---|
ReadFromCoreServerAsync(Byte) |
核心的数据交互读取,发数据发送到通道上去,然后从通道上接收返回的数据 The core data is read interactively, the data is sent to the serial port, and the returned data is received from the serial port | |
ReadFromCoreServerAsync(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. |