Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    What is the convention for object model indices?

    Scheduled Pinned Locked Moved
    Documentation
    1
    1
    84
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gnydickundefined
      gnydick
      last edited by

      For example, if I get inputs[], is inputs[0] guaranteed to be HTTP forever? Other objects, like fans[] will always be based on whatever I, the users, deemed fan 0, 1, etc. Wouldn't things that must maintain over time make more sense as dictionaries, like inputs['http'] make more sense?

      1 Reply Last reply Reply Quote 1
      • First post
        Last post
      Unless otherwise noted, all forum content is licensed under CC-BY-SA