点击或拖拽改变大小

AbTagItem 类

AB PLC的数据标签实体类
Data tag entity class of AB PLC
继承层次
SystemObject
  HslCommunication.Profinet.AllenBradleyAbTagItem

命名空间:  HslCommunication.Profinet.AllenBradley
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public class AbTagItem

AbTagItem 类型公开以下成员。

构造函数
  名称说明
公共方法AbTagItem
实例化一个默认的对象
instantiate a default object
Top
属性
  名称说明
公共属性ArrayDimension
数据的维度信息,默认是0,标量数据,1表示一维数组,2表示二维数组
The dimension information of the data, the default is 0, scalar data, 1 means a one-dimensional array, 2 means a two-dimensional array
公共属性ArrayLength
当前如果是数组,表示数组的长度,仅在读取结构体的变量信息时有效,为-1则是无效。
公共属性ByteOffset
获取或设置本属性实际数据在结构体中的偏移位置信息
Get or set the offset position information of the actual data of this property in the structure
公共属性InstanceID
实例ID
instance ID
公共属性IsStruct
当前的标签是否结构体数据
Whether the current label is structured data
公共属性Members
如果当前的标签是结构体的标签,则表示为结构体的成员信息
公共属性Name
当前标签的名字
the name of the current label
公共属性SymbolType
当前标签的类型代号,例如 0x0C1 表示bool类型,如果当前的标签的IsStructTrue,那么本属性表示结构体的实例ID
The type code of the current tag, for example 0x0C1 means bool type, if the current tag's IsStruct is True, then this attribute indicates the instance ID of the structure
公共属性Tag
用户自定义的额外的对象
Top
方法
  名称说明
公共方法静态成员CloneBy(AbTagItem)
克隆单个的标签数据信息
公共方法静态成员CloneBy(AbTagItem)
克隆整个的标签数组信息
公共方法Equals (继承自 Object。)
受保护的方法Finalize (继承自 Object。)
公共方法GetHashCode (继承自 Object。)
公共方法GetType (继承自 Object。)
公共方法GetTypeText
获取类型的文本描述信息
受保护的方法MemberwiseClone (继承自 Object。)
公共方法静态成员PraseAbTagItem
从指定的原始字节的数据中,解析出实际的节点信息
公共方法静态成员PraseAbTagItems
从指定的原始字节的数据中,解析出实际的标签数组,如果是系统保留的数组,或是__开头的,则自动忽略。
公共方法静态成员PraseAbTagItemsFromStruct
从结构体的数据中解析出实际的子标签信息
公共方法ToString (重写 ObjectToString.)
Top
扩展方法
  名称说明
公共扩展器方法ToJsonString
获取当前对象的JSON格式表示的字符串。
Gets the string represented by the JSON format of the current object.
(由 HslExtension 定义。)
Top
参见