# HG changeset patch # User etisserant # Date 1188486071 -7200 # Node ID 1eafe582b6a1a7e8b5482ee00699b060ad0fa549 # Parent fefaeb9658507066695d4809dbf8fd918d9b4fa5 Better code readability diff -r fefaeb965850 -r 1eafe582b6a1 objdictgen/node.py --- a/objdictgen/node.py Tue Aug 28 14:32:05 2007 +0200 +++ b/objdictgen/node.py Thu Aug 30 17:01:11 2007 +0200 @@ -57,13 +57,13 @@ for all sorts of entries use in CAN Open specification """ nosub = 0 # Entry without subindex (only for type declaration) -var = 1 -array = 3 -rec = 7 +var = OD_Subindex +array = OD_Subindex | OD_MultipleSubindexes +rec = OD_Subindex | OD_MultipleSubindexes | OD_IdenticalSubindexes # Entries identical on multiple indexes -plurivar = 9 -pluriarray = 11 # Example : PDO Parameters -plurirec = 15 # Example : PDO Mapping +plurivar = OD_Subindex | OD_IdenticalIndexes +pluriarray = OD_Subindex | OD_MultipleSubindexes | OD_IdenticalIndexes # Example : PDO Parameters +plurirec = OD_Subindex | OD_MultipleSubindexes | OD_IdenticalSubindexes |OD_IdenticalIndexes # Example : PDO Mapping """ MappingDictionary is the structure used for writing a good organised Object