FreedomTcpNetNetMessage 属性 |
如果当前的报文使用了固定报文头加剩余报文长度来描述完整报文的情况下,可以自定义实例化报文消息对象,可以更快更完整的接收全部报文的数据。
If the current message uses a fixed header and the remaining message length to describe the complete message,
you can customize the instantiated message object to receive the data of all messages faster and more completely.
命名空间:
HslCommunication.Profinet.Freedom
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public INetMessage NetMessage { get; set; }
Public Property NetMessage As INetMessage
Get
Set
public:
property INetMessage^ NetMessage {
INetMessage^ get ();
void set (INetMessage^ value);
}
member NetMessage : INetMessage with get, set
属性值
类型:
INetMessage备注
例如当前的报文是modbustcp协议的话,NetMessage = new HslCommunication.Core.IMessage.ModbusTcpMessage( );
For example, if the current message is modbustcp protocol, NetMessage = new HslCommunication.Core.IMessage.ModbusTcpMessage( );
参见