IDlt645ReadFromCoreServer 方法 |
名称 | 说明 | |
---|---|---|
ReadFromCoreServer(Byte) |
将当前的数据报文发送到设备去,具体使用什么通信方式取决于设备信息,然后从设备接收数据回来,并返回给调用者。 (继承自 IReadWriteDevice。)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)方法才能返回正确的结果。 (继承自 IReadWriteDevice。)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. | |
ReadFromCoreServer(Byte, Boolean, Boolean) |
将数据报文发送指定的网络通道上,根据当前指定的INetMessage类型,返回一条完整的数据指令 Sends a data message to the specified network channel, and returns a complete data command according to the currently specified INetMessage type |