GeHelper 类 |
命名空间: HslCommunication.Profinet.GE
GeHelper 类型公开以下成员。
名称 | 说明 | |
---|---|---|
BuildReadCommand(Int64, GeSRTPAddress) |
构建一个读取数据的报文命令,需要指定消息号,读取的 GE 地址信息 To construct a message command to read data, you need to specify the message number and read GE address information | |
BuildReadCommand(Int64, String, UInt16, Boolean) |
构建一个读取数据的报文命令,需要指定消息号,地址,长度,是否位读取,返回完整的报文信息。 To construct a message command to read data, you need to specify the message number, address, length, whether to read in bits, and return the complete message information. | |
BuildReadCoreCommand |
构建一个读取数据的报文信息,需要指定操作的数据代码,读取的参数信息 To construct a message information for reading data, you need to specify the data code of the operation and the parameter information to be read | |
BuildWriteCommand(Int64, GeSRTPAddress, Byte) | ||
BuildWriteCommand(Int64, String, Boolean) | ||
BuildWriteCommand(Int64, String, Byte) | ||
Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) | |
ExtraDateTime |
从实际的时间的字节数组里解析出C#格式的时间对象,这个时间可能是时区0的时间,需要自行转化本地时间。 Analyze the time object in C# format from the actual time byte array. This time may be the time in time zone 0, and you need to convert the local time yourself. | |
ExtraProgramName |
从实际的时间的字节数组里解析出PLC的程序的名称。 Parse the name of the PLC program from the actual time byte array | |
ExtraResponseContent |
从PLC返回的数据中,提取出实际的数据内容,最少6个字节的数据。超出实际的数据长度的部分没有任何意义。 From the data returned by the PLC, extract the actual data content, at least 6 bytes of data. The part beyond the actual data length has no meaning. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) | |
GetHashCode | Serves as the default hash function. (继承自 Object。) | |
GetType | Gets the Type of the current instance. (继承自 Object。) | |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) | |
ToString | Returns a string that represents the current object. (继承自 Object。) |
名称 | 说明 | |
---|---|---|
ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |