点击或拖拽改变大小

NetMessageBase 类

消息类的基类
继承层次
SystemObject
  HslCommunication.Core.IMessageNetMessageBase
    更多...

命名空间:  HslCommunication.Core.IMessage
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.2.2.0 (11.2.2.0)
语法
public class NetMessageBase

NetMessageBase 类型公开以下成员。

构造函数
  名称说明
公共方法NetMessageBase
初始化 NetMessageBase 类的一个新实例
Top
属性
  名称说明
公共属性ContentBytes
消息内容字节
Message content byte
公共属性HeadBytes
消息头字节
Message header byte
公共属性SendBytes
发送的字节信息
Byte information sent
Top
方法
  名称说明
公共方法CheckHeadBytesLegal
公共方法Equals (继承自 Object。)
受保护的方法Finalize (继承自 Object。)
公共方法GetHashCode (继承自 Object。)
公共方法GetHeadBytesIdentity
获取头子节里的消息标识
Get the message ID in the header subsection
公共方法GetType (继承自 Object。)
受保护的方法MemberwiseClone (继承自 Object。)
公共方法PependedUselesByteLength
在接收头报文的时候,返回前置无效的报文头字节长度,默认为0,不处理
When receiving a header message, return the header byte length of the invalid header, the default is 0, and no processing is performed.
公共方法ToString (继承自 Object。)
Top
扩展方法
  名称说明
公共扩展器方法ToJsonString
获取当前对象的JSON格式表示的字符串。
Gets the string represented by the JSON format of the current object.
(由 HslExtension 定义。)
Top
参见
继承层次
SystemObject
  HslCommunication.Core.IMessageNetMessageBase
    HslCommunication.CNC.FanucCNCFanucSeriesMessage
    HslCommunication.Core.IMessageAdsNetMessage
    HslCommunication.Core.IMessageAlienMessage
    HslCommunication.Core.IMessageAllenBradleyMessage
    HslCommunication.Core.IMessageAllenBradleySLCMessage
    HslCommunication.Core.IMessageCJT188Message
    HslCommunication.Core.IMessageDcsNanJingAutoMessage
    HslCommunication.Core.IMessageDLT645Message
    HslCommunication.Core.IMessageDLT698Message
    HslCommunication.Core.IMessageEFORTMessage
    HslCommunication.Core.IMessageEFORTMessagePrevious
    HslCommunication.Core.IMessageFanucRobotMessage
    HslCommunication.Core.IMessageFetchWriteMessage
    HslCommunication.Core.IMessageFinsMessage
    HslCommunication.Core.IMessageFujiCommandSettingTypeMessage
    HslCommunication.Core.IMessageFujiSPBMessage
    HslCommunication.Core.IMessageFujiSPHMessage
    HslCommunication.Core.IMessageGeSRTPMessage
    HslCommunication.Core.IMessageHslMessage
    HslCommunication.Core.IMessageIEC104Message
    HslCommunication.Core.IMessageKukaVarProxyMessage
    HslCommunication.Core.IMessageLsisFastEnetMessage
    HslCommunication.Core.IMessageMelsecA1EAsciiMessage
    HslCommunication.Core.IMessageMelsecA1EBinaryMessage
    HslCommunication.Core.IMessageMelsecQnA3EAsciiMessage
    HslCommunication.Core.IMessageMelsecQnA3EBinaryMessage
    HslCommunication.Core.IMessageMemobusMessage
    HslCommunication.Core.IMessageModbusTcpMessage
    HslCommunication.Core.IMessageOpenProtocolMessage
    HslCommunication.Core.IMessageS7Message
    HslCommunication.Core.IMessageSAMMessage
    HslCommunication.Core.IMessageSiemensPPIMessage
    HslCommunication.Core.IMessageSpecifiedCharacterMessage
    HslCommunication.Core.IMessageTurckReaderMessage
    HslCommunication.Core.IMessageYokogawaLinkBinaryMessage
    HslCommunication.Profinet.GeniitekVibrationSensorLongMessage
    HslCommunication.Profinet.GeniitekVibrationSensorShortMessage
    HslCommunication.Secs.MessageSecsHsmsMessage