OpenProtocolNetDecideWhetherQAMessage 方法 |
决定当前的消息是否是用于问答机制返回的消息,默认直接返回 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.Profinet.OpenProtocol
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 protected override bool DecideWhetherQAMessage(
CommunicationPipe pipe,
OperateResult<byte[]> receive
)
Protected Overrides Function DecideWhetherQAMessage (
pipe As CommunicationPipe,
receive As OperateResult(Of Byte())
) As Boolean
protected:
virtual bool DecideWhetherQAMessage(
CommunicationPipe^ pipe,
OperateResult<array<unsigned char>^>^ receive
) override
abstract DecideWhetherQAMessage :
pipe : CommunicationPipe *
receive : OperateResult<byte[]> -> bool
override DecideWhetherQAMessage :
pipe : CommunicationPipe *
receive : OperateResult<byte[]> -> bool
参数
- pipe
- 类型:HslCommunication.Core.PipeCommunicationPipe
管道信息 - receive
- 类型:HslCommunicationOperateResultByte
接收的数据信息
返回值
类型:
Boolean是否是问答的数据
参见