类 Structures.SlaveIdentity

java.lang.Object
com.sun.jna.Structure
com.darra.ethercat.data.Structures.SlaveIdentity
封闭类:
Structures

@FieldOrder({"vendorId","productId","revision","serial","itype","dtype"}) public static class Structures.SlaveIdentity extends com.sun.jna.Structure
Slave Identity 子结构 - 对应 C 端 slave_identity_t EEPROM 中的从站身份 4 元组 (vendor/product/revision/serial) + EtherCAT 接口/设备类型. 嵌入到 SlaveMetadata.identity (而不再在 slave_t 平铺为 eep_man/eep_id/eep_rev/eep_ser/Itype/Dtype). 64 位下: 4×uint32 (16) + 2×uint16 (4) = 20 字节, 自然对齐.
  • 嵌套类概要

    从类继承的嵌套类/接口 com.sun.jna.Structure

    com.sun.jna.Structure.ByReference, com.sun.jna.Structure.ByValue, com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    short
    设备类型 (原 Dtype)
    short
    接口类型 (原 Itype)
    int
    产品 ID (原 eep_id)
    int
    修订版本 (原 eep_rev)
    int
    序列号 (原 eep_ser)
    int
    制造商 ID (原 eep_man)

    从类继承的字段 com.sun.jna.Structure

    ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
  • 构造器概要

    构造器
    构造器
    说明
     
    SlaveIdentity(com.sun.jna.Pointer p)
     
  • 方法概要

    从类继承的方法 com.sun.jna.Structure

    allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField

    从类继承的方法 java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 字段详细资料

    • vendorId

      public int vendorId
      制造商 ID (原 eep_man)
    • productId

      public int productId
      产品 ID (原 eep_id)
    • revision

      public int revision
      修订版本 (原 eep_rev)
    • serial

      public int serial
      序列号 (原 eep_ser)
    • itype

      public short itype
      接口类型 (原 Itype)
    • dtype

      public short dtype
      设备类型 (原 Dtype)
  • 构造器详细资料

    • SlaveIdentity

      public SlaveIdentity()
    • SlaveIdentity

      public SlaveIdentity(com.sun.jna.Pointer p)