点击或拖拽改变大小

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.0.0.0 (12.0.0.0)
语法
public INetMessage NetMessage { 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( );
参见