类 CoE.ObjectDictionary

java.lang.Object
com.darra.ethercat.slave.CoE.ObjectDictionary
封闭类:
CoE

public class CoE.ObjectDictionary extends Object
对象字典 - 包含多个子索引条目
  • 字段详细资料

    • Index

      public short Index
    • Name

      public String Name
    • Datatype

      public short Datatype
    • ObjectCode

      public byte ObjectCode
    • MaxSub

      public byte MaxSub
  • 构造器详细资料

    • ObjectDictionary

      public ObjectDictionary()
  • 方法详细资料

    • getCount

      public int getCount()
      子索引条目数量 (对齐 C# Count)
    • getOEList

      public CoE.OEDictionary getOEList()
      OEList (对齐 C# OEList)
    • get

      public CoE.ObjectEntry get(byte subindex)
      按子索引获取
    • get

      public CoE.ObjectEntry get(int subindex)
      按 int 子索引获取
    • get

      public CoE.ObjectEntry get(String key)
      按名称获取
    • containsKey

      public boolean containsKey(byte subindex)
      检查子索引是否存在 (对齐 C# ContainsKey)
    • containsKey

      public boolean containsKey(String key)
      检查字符串键是否存在
    • isVar

      public boolean isVar()
      是否为 VAR 类型
    • isArray

      public boolean isArray()
      是否为 ARRAY 类型
    • isRecord

      public boolean isRecord()
      是否为 RECORD 类型
    • readAll

      public Map<Byte,byte[]> readAll()
      批量读取所有子索引数据 (对齐 C# ReadAll)
    • copy

      public CoE.ObjectDictionary copy()
      创建缓存副本 (对齐 C# Copy)
    • sdoWrite

      public boolean sdoWrite(byte subIndex, byte[] data)
      SDO 写入数据到此对象 (对齐 C# SDOWrite)
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object