点击或拖拽改变大小

BinaryCommunicationDecideWhetherQAMessage 方法

决定当前的消息是否是用于问答机制返回的消息,默认直接返回 true, 实际的情况需要根据协议进行重写方法
To determine whether the current message is the message returned by the question answering mechanism, the default is true. In actual cases, the rewriting method needs to be performed according to the protocol

命名空间:  HslCommunication.Core.Net
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法
protected virtual bool DecideWhetherQAMessage(
	CommunicationPipe pipe,
	OperateResult<byte[]> receive
)

参数

pipe
类型:HslCommunication.Core.PipeCommunicationPipe
管道信息
receive
类型:HslCommunicationOperateResultByte
接收的数据信息

返回值

类型:Boolean
是否是问答的数据
参见