IReadWriteDeviceReadFromCoreServer 方法 |
名称 | 说明 | |
---|---|---|
ReadFromCoreServer(Byte) |
将当前的数据报文发送到设备去,具体使用什么通信方式取决于设备信息,然后从设备接收数据回来,并返回给调用者。 Send the current data message to the device, the specific communication method used depends on the device information, and then receive the data back from the device and return it to the caller. | |
ReadFromCoreServer(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. |