objdictgen/examples/example_objdict.od
changeset 281 685d9a26e4f9
child 623 36b62c854ee2
equal deleted inserted replaced
280:d9b232ec7057 281:685d9a26e4f9
       
     1 <?xml version="1.0"?>
       
     2 <!DOCTYPE PyObject SYSTEM "PyObjects.dtd">
       
     3 <PyObject module="node" class="Node" id="22859576">
       
     4 <attr name="Profile" type="dict" id="25609216" >
       
     5 </attr>
       
     6 <attr name="Description" type="string" value="" />
       
     7 <attr name="Dictionary" type="dict" id="23555456" >
       
     8   <entry>
       
     9     <key type="numeric" value="4096" />
       
    10     <val type="numeric" value="0" />
       
    11   </entry>
       
    12   <entry>
       
    13     <key type="numeric" value="4097" />
       
    14     <val type="numeric" value="0" />
       
    15   </entry>
       
    16   <entry>
       
    17     <key type="numeric" value="5122" />
       
    18     <val type="list" id="22783112" >
       
    19       <item type="string" value="{True:self.ID+(base+2)*0x100,False:0}[base&lt;4]" />
       
    20       <item type="numeric" value="0" />
       
    21       <item type="numeric" value="0" />
       
    22       <item type="numeric" value="0" />
       
    23       <item type="numeric" value="0" />
       
    24     </val>
       
    25   </entry>
       
    26   <entry>
       
    27     <key type="numeric" value="5123" />
       
    28     <val type="list" id="22856696" >
       
    29       <item type="string" value="{True:self.ID+(base+2)*0x100,False:0}[base&lt;4]" />
       
    30       <item type="numeric" value="0" />
       
    31       <item type="numeric" value="0" />
       
    32       <item type="numeric" value="0" />
       
    33       <item type="numeric" value="0" />
       
    34     </val>
       
    35   </entry>
       
    36   <entry>
       
    37     <key type="numeric" value="8192" />
       
    38     <val type="list" id="22809776" >
       
    39       <item type="numeric" value="0" />
       
    40       <item type="numeric" value="0" />
       
    41       <item type="numeric" value="0" />
       
    42       <item type="numeric" value="0" />
       
    43     </val>
       
    44   </entry>
       
    45   <entry>
       
    46     <key type="numeric" value="8193" />
       
    47     <val type="numeric" value="0" />
       
    48   </entry>
       
    49   <entry>
       
    50     <key type="numeric" value="4104" />
       
    51     <val type="string" value="Appli_Slave_HC12" />
       
    52   </entry>
       
    53   <entry>
       
    54     <key type="numeric" value="5634" />
       
    55     <val type="list" id="22856336" >
       
    56       <item type="numeric" value="0" />
       
    57     </val>
       
    58   </entry>
       
    59   <entry>
       
    60     <key type="numeric" value="5635" />
       
    61     <val type="list" id="24657792" >
       
    62       <item type="numeric" value="0" />
       
    63     </val>
       
    64   </entry>
       
    65   <entry>
       
    66     <key type="numeric" value="8195" />
       
    67     <val type="string" value="" />
       
    68   </entry>
       
    69   <entry>
       
    70     <key type="numeric" value="4118" />
       
    71     <val type="list" id="22856048" >
       
    72       <item type="numeric" value="0" />
       
    73     </val>
       
    74   </entry>
       
    75   <entry>
       
    76     <key type="numeric" value="4120" />
       
    77     <val type="list" id="24658144" >
       
    78       <item type="numeric" value="0" />
       
    79       <item type="numeric" value="0" />
       
    80       <item type="numeric" value="0" />
       
    81       <item type="numeric" value="0" />
       
    82     </val>
       
    83   </entry>
       
    84   <entry>
       
    85     <key type="numeric" value="4736" />
       
    86     <val type="list" id="24658792" >
       
    87       <item type="numeric" value="0" />
       
    88       <item type="numeric" value="0" />
       
    89       <item type="numeric" value="0" />
       
    90     </val>
       
    91   </entry>
       
    92   <entry>
       
    93     <key type="numeric" value="160" />
       
    94     <val type="list" id="24658864" >
       
    95       <item type="numeric" value="9" />
       
    96       <item type="numeric" value="10" />
       
    97     </val>
       
    98   </entry>
       
    99   <entry>
       
   100     <key type="numeric" value="5120" />
       
   101     <val type="list" id="24658936" >
       
   102       <item type="string" value="{True:self.ID+(base+2)*0x100,False:0}[base&lt;4]" />
       
   103       <item type="numeric" value="0" />
       
   104       <item type="numeric" value="0" />
       
   105       <item type="numeric" value="0" />
       
   106       <item type="numeric" value="0" />
       
   107     </val>
       
   108   </entry>
       
   109   <entry>
       
   110     <key type="numeric" value="5632" />
       
   111     <val type="list" id="24657864" >
       
   112       <item type="numeric" value="0" />
       
   113     </val>
       
   114   </entry>
       
   115   <entry>
       
   116     <key type="numeric" value="8194" />
       
   117     <val type="numeric" value="0" />
       
   118   </entry>
       
   119   <entry>
       
   120     <key type="numeric" value="5121" />
       
   121     <val type="list" id="24659080" >
       
   122       <item type="string" value="{True:self.ID+(base+2)*0x100,False:0}[base&lt;4]" />
       
   123       <item type="numeric" value="0" />
       
   124       <item type="numeric" value="0" />
       
   125       <item type="numeric" value="0" />
       
   126       <item type="numeric" value="0" />
       
   127     </val>
       
   128   </entry>
       
   129   <entry>
       
   130     <key type="numeric" value="6144" />
       
   131     <val type="list" id="24659008" >
       
   132       <item type="string" value="{True:self.ID+(base+1)*0x100+0x80,False:0}[base&lt;4]" />
       
   133       <item type="numeric" value="0" />
       
   134       <item type="numeric" value="0" />
       
   135       <item type="numeric" value="0" />
       
   136       <item type="numeric" value="0" />
       
   137     </val>
       
   138   </entry>
       
   139   <entry>
       
   140     <key type="numeric" value="5633" />
       
   141     <val type="list" id="24659224" >
       
   142       <item type="numeric" value="0" />
       
   143     </val>
       
   144   </entry>
       
   145   <entry>
       
   146     <key type="numeric" value="6656" />
       
   147     <val type="list" id="24659296" >
       
   148       <item type="numeric" value="0" />
       
   149     </val>
       
   150   </entry>
       
   151   <entry>
       
   152     <key type="numeric" value="6145" />
       
   153     <val type="list" id="22807184" >
       
   154       <item type="string" value="{True:self.ID+(base+1)*0x100+0x80,False:0}[base&lt;4]" />
       
   155       <item type="numeric" value="0" />
       
   156       <item type="numeric" value="0" />
       
   157       <item type="numeric" value="0" />
       
   158       <item type="numeric" value="0" />
       
   159     </val>
       
   160   </entry>
       
   161   <entry>
       
   162     <key type="numeric" value="6657" />
       
   163     <val type="list" id="24659368" >
       
   164       <item type="numeric" value="0" />
       
   165     </val>
       
   166   </entry>
       
   167 </attr>
       
   168 <attr name="SpecificMenu" type="list" id="22782248" >
       
   169 </attr>
       
   170 <attr name="ParamsDictionary" type="dict" id="25949808" >
       
   171 </attr>
       
   172 <attr name="UserMapping" type="dict" id="23548624" >
       
   173   <entry>
       
   174     <key type="numeric" value="8192" />
       
   175     <val type="dict" id="25609504" >
       
   176       <entry>
       
   177         <key type="string" value="need" />
       
   178         <val type="False" value="" />
       
   179       </entry>
       
   180       <entry>
       
   181         <key type="string" value="values" />
       
   182         <val type="list" id="22856264" >
       
   183           <item type="dict" id="17454272" >
       
   184             <entry>
       
   185               <key type="string" value="access" />
       
   186               <val type="string" value="ro" />
       
   187             </entry>
       
   188             <entry>
       
   189               <key type="string" value="pdo" />
       
   190               <val type="False" value="" />
       
   191             </entry>
       
   192             <entry>
       
   193               <key type="string" value="type" />
       
   194               <val type="numeric" value="5" />
       
   195             </entry>
       
   196             <entry>
       
   197               <key type="string" value="name" />
       
   198               <val type="string" value="Number of Entries" />
       
   199             </entry>
       
   200           </item>
       
   201           <item type="dict" id="23156448" >
       
   202             <entry>
       
   203               <key type="string" value="access" />
       
   204               <val type="string" value="rw" />
       
   205             </entry>
       
   206             <entry>
       
   207               <key type="string" value="pdo" />
       
   208               <val type="True" value="" />
       
   209             </entry>
       
   210             <entry>
       
   211               <key type="string" value="type" />
       
   212               <val type="numeric" value="5" />
       
   213             </entry>
       
   214             <entry>
       
   215               <key type="string" value="name" />
       
   216               <val type="string" value="seconds" />
       
   217             </entry>
       
   218           </item>
       
   219           <item type="dict" id="25602912" >
       
   220             <entry>
       
   221               <key type="string" value="access" />
       
   222               <val type="string" value="rw" />
       
   223             </entry>
       
   224             <entry>
       
   225               <key type="string" value="pdo" />
       
   226               <val type="True" value="" />
       
   227             </entry>
       
   228             <entry>
       
   229               <key type="string" value="type" />
       
   230               <val type="numeric" value="5" />
       
   231             </entry>
       
   232             <entry>
       
   233               <key type="string" value="name" />
       
   234               <val type="string" value="minutes" />
       
   235             </entry>
       
   236           </item>
       
   237           <item type="dict" id="23156736" >
       
   238             <entry>
       
   239               <key type="string" value="access" />
       
   240               <val type="string" value="rw" />
       
   241             </entry>
       
   242             <entry>
       
   243               <key type="string" value="pdo" />
       
   244               <val type="True" value="" />
       
   245             </entry>
       
   246             <entry>
       
   247               <key type="string" value="type" />
       
   248               <val type="numeric" value="5" />
       
   249             </entry>
       
   250             <entry>
       
   251               <key type="string" value="name" />
       
   252               <val type="string" value="hours" />
       
   253             </entry>
       
   254           </item>
       
   255           <item type="dict" id="23604592" >
       
   256             <entry>
       
   257               <key type="string" value="access" />
       
   258               <val type="string" value="rw" />
       
   259             </entry>
       
   260             <entry>
       
   261               <key type="string" value="pdo" />
       
   262               <val type="True" value="" />
       
   263             </entry>
       
   264             <entry>
       
   265               <key type="string" value="type" />
       
   266               <val type="numeric" value="5" />
       
   267             </entry>
       
   268             <entry>
       
   269               <key type="string" value="name" />
       
   270               <val type="string" value="days" />
       
   271             </entry>
       
   272           </item>
       
   273         </val>
       
   274       </entry>
       
   275       <entry>
       
   276         <key type="string" value="name" />
       
   277         <val type="string">Time</val>
       
   278       </entry>
       
   279       <entry>
       
   280         <key type="string" value="struct" />
       
   281         <val type="numeric" value="3" />
       
   282       </entry>
       
   283     </val>
       
   284   </entry>
       
   285   <entry>
       
   286     <key type="numeric" value="8193" />
       
   287     <val type="dict" id="23586928" >
       
   288       <entry>
       
   289         <key type="string" value="need" />
       
   290         <val type="False" value="" />
       
   291       </entry>
       
   292       <entry>
       
   293         <key type="string" value="values" />
       
   294         <val type="list" id="24659152" >
       
   295           <item type="dict" id="23588256" >
       
   296             <entry>
       
   297               <key type="string" value="access" />
       
   298               <val type="string" value="rw" />
       
   299             </entry>
       
   300             <entry>
       
   301               <key type="string" value="pdo" />
       
   302               <val type="True" value="" />
       
   303             </entry>
       
   304             <entry>
       
   305               <key type="string" value="type" />
       
   306               <val type="numeric" value="7" />
       
   307             </entry>
       
   308             <entry>
       
   309               <key type="string" value="name" />
       
   310               <val type="string">canopenErrNB</val>
       
   311             </entry>
       
   312           </item>
       
   313         </val>
       
   314       </entry>
       
   315       <entry>
       
   316         <key type="string" value="name" />
       
   317         <val type="string">canopenErrNB</val>
       
   318       </entry>
       
   319       <entry>
       
   320         <key type="string" value="struct" />
       
   321         <val type="numeric" value="1" />
       
   322       </entry>
       
   323     </val>
       
   324   </entry>
       
   325   <entry>
       
   326     <key type="numeric" value="8194" />
       
   327     <val type="dict" id="23583408" >
       
   328       <entry>
       
   329         <key type="string" value="need" />
       
   330         <val type="False" value="" />
       
   331       </entry>
       
   332       <entry>
       
   333         <key type="string" value="values" />
       
   334         <val type="list" id="24659872" >
       
   335           <item type="dict" id="23585552" >
       
   336             <entry>
       
   337               <key type="string" value="access" />
       
   338               <val type="string" value="rw" />
       
   339             </entry>
       
   340             <entry>
       
   341               <key type="string" value="pdo" />
       
   342               <val type="True" value="" />
       
   343             </entry>
       
   344             <entry>
       
   345               <key type="string" value="type" />
       
   346               <val type="numeric" value="7" />
       
   347             </entry>
       
   348             <entry>
       
   349               <key type="string" value="name" />
       
   350               <val type="string">canopenErrVal</val>
       
   351             </entry>
       
   352           </item>
       
   353         </val>
       
   354       </entry>
       
   355       <entry>
       
   356         <key type="string" value="name" />
       
   357         <val type="string">canopenErrVal</val>
       
   358       </entry>
       
   359       <entry>
       
   360         <key type="string" value="struct" />
       
   361         <val type="numeric" value="1" />
       
   362       </entry>
       
   363     </val>
       
   364   </entry>
       
   365   <entry>
       
   366     <key type="numeric" value="8195" />
       
   367     <val type="dict" id="23610640" >
       
   368       <entry>
       
   369         <key type="string" value="need" />
       
   370         <val type="False" value="" />
       
   371       </entry>
       
   372       <entry>
       
   373         <key type="string" value="values" />
       
   374         <val type="list" id="24659800" >
       
   375           <item type="dict" id="23583696" >
       
   376             <entry>
       
   377               <key type="string" value="access" />
       
   378               <val type="string" value="rw" />
       
   379             </entry>
       
   380             <entry>
       
   381               <key type="string" value="pdo" />
       
   382               <val type="True" value="" />
       
   383             </entry>
       
   384             <entry>
       
   385               <key type="string" value="type" />
       
   386               <val type="numeric" value="160" />
       
   387             </entry>
       
   388             <entry>
       
   389               <key type="string" value="name" />
       
   390               <val type="string">strTest</val>
       
   391             </entry>
       
   392           </item>
       
   393         </val>
       
   394       </entry>
       
   395       <entry>
       
   396         <key type="string" value="name" />
       
   397         <val type="string">strTest</val>
       
   398       </entry>
       
   399       <entry>
       
   400         <key type="string" value="struct" />
       
   401         <val type="numeric" value="1" />
       
   402       </entry>
       
   403     </val>
       
   404   </entry>
       
   405   <entry>
       
   406     <key type="numeric" value="160" />
       
   407     <val type="dict" id="25574192" >
       
   408       <entry>
       
   409         <key type="string" value="name" />
       
   410         <val type="string" value="VISIBLE_STRING10" />
       
   411       </entry>
       
   412       <entry>
       
   413         <key type="string" value="default" />
       
   414         <val type="string" value="" />
       
   415       </entry>
       
   416       <entry>
       
   417         <key type="string" value="struct" />
       
   418         <val type="numeric" value="3" />
       
   419       </entry>
       
   420       <entry>
       
   421         <key type="string" value="values" />
       
   422         <val type="list" id="24659728" >
       
   423           <item type="dict" id="25661040" >
       
   424             <entry>
       
   425               <key type="string" value="access" />
       
   426               <val type="string" value="ro" />
       
   427             </entry>
       
   428             <entry>
       
   429               <key type="string" value="pdo" />
       
   430               <val type="False" value="" />
       
   431             </entry>
       
   432             <entry>
       
   433               <key type="string" value="type" />
       
   434               <val type="numeric" value="5" />
       
   435             </entry>
       
   436             <entry>
       
   437               <key type="string" value="name" />
       
   438               <val type="string" value="Number of Entries" />
       
   439             </entry>
       
   440           </item>
       
   441           <item type="dict" id="25573904" >
       
   442             <entry>
       
   443               <key type="string" value="access" />
       
   444               <val type="string" value="ro" />
       
   445             </entry>
       
   446             <entry>
       
   447               <key type="string" value="pdo" />
       
   448               <val type="False" value="" />
       
   449             </entry>
       
   450             <entry>
       
   451               <key type="string" value="type" />
       
   452               <val type="numeric" value="5" />
       
   453             </entry>
       
   454             <entry>
       
   455               <key type="string" value="name" />
       
   456               <val type="string" value="Type" />
       
   457             </entry>
       
   458           </item>
       
   459           <item type="dict" id="25662784" >
       
   460             <entry>
       
   461               <key type="string" value="access" />
       
   462               <val type="string" value="ro" />
       
   463             </entry>
       
   464             <entry>
       
   465               <key type="string" value="pdo" />
       
   466               <val type="False" value="" />
       
   467             </entry>
       
   468             <entry>
       
   469               <key type="string" value="type" />
       
   470               <val type="numeric" value="5" />
       
   471             </entry>
       
   472             <entry>
       
   473               <key type="string" value="name" />
       
   474               <val type="string" value="Length" />
       
   475             </entry>
       
   476           </item>
       
   477         </val>
       
   478       </entry>
       
   479       <entry>
       
   480         <key type="string" value="need" />
       
   481         <val type="False" value="" />
       
   482       </entry>
       
   483       <entry>
       
   484         <key type="string" value="size" />
       
   485         <val type="numeric" value="80" />
       
   486       </entry>
       
   487     </val>
       
   488   </entry>
       
   489 </attr>
       
   490 <attr name="DS302" type="dict" id="23562624" >
       
   491 </attr>
       
   492 <attr name="ProfileName" type="string" value="None" />
       
   493 <attr name="Type" type="string">slave</attr>
       
   494 <attr name="ID" type="numeric" value="0" />
       
   495 <attr name="Name" type="string">Linux_slave</attr>
       
   496 </PyObject>