Digi ConnectPort X2 Manuale Utente Pagina 67

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 142
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 66
58
Complex Parameter Types
list A list of subparameters. Note that because a list is an anonymous data structure, the tag
names of subparameters are ignored.
example:
<param type=”list”>
<item>42</item>
<item>FALSE</item>
<item type=”string”>Camelot!</item>
</param>
would generate:
param=[42, False, “Camelot!”]
dict A dictionary of subparameters. The tag names of the subparameters will become the keys of
the dictionary.
example:
<param type=”dict”>
<first>1</first>
<second>TRUE</second>
<third type=”string”>It’s only a model.</third>
</param>
would generate:
param={“first” : 1, “second” : True, “third” : “It’s only a
model.”}
Vedere la pagina 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 141 142

Commenti su questo manuale

Nessun commento