objdictgen/examples/example_objdict.od
changeset 623 36b62c854ee2
parent 281 685d9a26e4f9
equal deleted inserted replaced
622:f0935accb93b 623:36b62c854ee2
     1 <?xml version="1.0"?>
     1 <?xml version="1.0"?>
     2 <!DOCTYPE PyObject SYSTEM "PyObjects.dtd">
     2 <!DOCTYPE PyObject SYSTEM "PyObjects.dtd">
     3 <PyObject module="node" class="Node" id="22859576">
     3 <PyObject module="node" class="Node" id="171685708">
     4 <attr name="Profile" type="dict" id="25609216" >
     4 <attr name="Profile" type="dict" id="172255268" >
     5 </attr>
     5 </attr>
     6 <attr name="Description" type="string" value="" />
     6 <attr name="Description" type="string" value="" />
     7 <attr name="Dictionary" type="dict" id="23555456" >
     7 <attr name="Dictionary" type="dict" id="172255132" >
     8   <entry>
     8   <entry>
     9     <key type="numeric" value="4096" />
     9     <key type="numeric" value="4096" />
    10     <val type="numeric" value="0" />
    10     <val type="numeric" value="0" />
    11   </entry>
    11   </entry>
    12   <entry>
    12   <entry>
    13     <key type="numeric" value="4097" />
    13     <key type="numeric" value="4097" />
    14     <val type="numeric" value="0" />
    14     <val type="numeric" value="0" />
    15   </entry>
    15   </entry>
    16   <entry>
    16   <entry>
    17     <key type="numeric" value="5122" />
    17     <key type="numeric" value="5122" />
    18     <val type="list" id="22783112" >
    18     <val type="list" id="171642508" >
    19       <item type="string" value="{True:self.ID+(base+2)*0x100,False:0}[base&lt;4]" />
    19       <item type="string" value="{True:&quot;$NODEID+0x%X00&quot;%(base+2),False:0x80000000}[base&lt;4]" />
    20       <item type="numeric" value="0" />
    20       <item type="numeric" value="0" />
    21       <item type="numeric" value="0" />
    21       <item type="numeric" value="0" />
    22       <item type="numeric" value="0" />
    22       <item type="numeric" value="0" />
    23       <item type="numeric" value="0" />
    23       <item type="numeric" value="0" />
    24     </val>
    24     </val>
    25   </entry>
    25   </entry>
    26   <entry>
    26   <entry>
    27     <key type="numeric" value="5123" />
    27     <key type="numeric" value="5123" />
    28     <val type="list" id="22856696" >
    28     <val type="list" id="171703948" >
    29       <item type="string" value="{True:self.ID+(base+2)*0x100,False:0}[base&lt;4]" />
    29       <item type="string" value="{True:&quot;$NODEID+0x%X00&quot;%(base+2),False:0x80000000}[base&lt;4]" />
    30       <item type="numeric" value="0" />
    30       <item type="numeric" value="0" />
    31       <item type="numeric" value="0" />
    31       <item type="numeric" value="0" />
    32       <item type="numeric" value="0" />
    32       <item type="numeric" value="0" />
    33       <item type="numeric" value="0" />
    33       <item type="numeric" value="0" />
    34     </val>
    34     </val>
    35   </entry>
    35   </entry>
    36   <entry>
    36   <entry>
    37     <key type="numeric" value="8192" />
    37     <key type="numeric" value="8192" />
    38     <val type="list" id="22809776" >
    38     <val type="list" id="171641164" >
    39       <item type="numeric" value="0" />
    39       <item type="numeric" value="0" />
    40       <item type="numeric" value="0" />
    40       <item type="numeric" value="0" />
    41       <item type="numeric" value="0" />
    41       <item type="numeric" value="0" />
    42       <item type="numeric" value="0" />
    42       <item type="numeric" value="0" />
    43     </val>
    43     </val>
    50     <key type="numeric" value="4104" />
    50     <key type="numeric" value="4104" />
    51     <val type="string" value="Appli_Slave_HC12" />
    51     <val type="string" value="Appli_Slave_HC12" />
    52   </entry>
    52   </entry>
    53   <entry>
    53   <entry>
    54     <key type="numeric" value="5634" />
    54     <key type="numeric" value="5634" />
    55     <val type="list" id="22856336" >
    55     <val type="list" id="171640012" >
    56       <item type="numeric" value="0" />
    56       <item type="numeric" value="0" />
    57     </val>
    57     </val>
    58   </entry>
    58   </entry>
    59   <entry>
    59   <entry>
    60     <key type="numeric" value="5635" />
    60     <key type="numeric" value="5635" />
    61     <val type="list" id="24657792" >
    61     <val type="list" id="171642604" >
    62       <item type="numeric" value="0" />
    62       <item type="numeric" value="0" />
    63     </val>
    63     </val>
    64   </entry>
    64   </entry>
    65   <entry>
    65   <entry>
    66     <key type="numeric" value="8195" />
    66     <key type="numeric" value="8195" />
    67     <val type="string" value="" />
    67     <val type="string" value="" />
    68   </entry>
    68   </entry>
    69   <entry>
    69   <entry>
    70     <key type="numeric" value="4118" />
    70     <key type="numeric" value="4118" />
    71     <val type="list" id="22856048" >
    71     <val type="list" id="171641900" >
    72       <item type="numeric" value="0" />
    72       <item type="numeric" value="0" />
    73     </val>
    73     </val>
    74   </entry>
    74   </entry>
    75   <entry>
    75   <entry>
    76     <key type="numeric" value="4120" />
    76     <key type="numeric" value="4120" />
    77     <val type="list" id="24658144" >
    77     <val type="list" id="171641516" >
    78       <item type="numeric" value="0" />
    78       <item type="numeric" value="0" />
    79       <item type="numeric" value="0" />
    79       <item type="numeric" value="0" />
    80       <item type="numeric" value="0" />
    80       <item type="numeric" value="0" />
    81       <item type="numeric" value="0" />
    81       <item type="numeric" value="0" />
    82     </val>
    82     </val>
    83   </entry>
    83   </entry>
    84   <entry>
    84   <entry>
    85     <key type="numeric" value="4736" />
    85     <key type="numeric" value="4736" />
    86     <val type="list" id="24658792" >
    86     <val type="list" id="171642380" >
    87       <item type="numeric" value="0" />
    87       <item type="numeric" value="0" />
    88       <item type="numeric" value="0" />
    88       <item type="numeric" value="0" />
    89       <item type="numeric" value="0" />
    89       <item type="numeric" value="0" />
    90     </val>
    90     </val>
    91   </entry>
    91   </entry>
    92   <entry>
    92   <entry>
    93     <key type="numeric" value="160" />
    93     <key type="numeric" value="160" />
    94     <val type="list" id="24658864" >
    94     <val type="list" id="171640588" >
    95       <item type="numeric" value="9" />
    95       <item type="numeric" value="9" />
    96       <item type="numeric" value="10" />
    96       <item type="numeric" value="10" />
    97     </val>
    97     </val>
    98   </entry>
    98   </entry>
    99   <entry>
    99   <entry>
   100     <key type="numeric" value="5120" />
   100     <key type="numeric" value="5120" />
   101     <val type="list" id="24658936" >
   101     <val type="list" id="171642732" >
   102       <item type="string" value="{True:self.ID+(base+2)*0x100,False:0}[base&lt;4]" />
   102       <item type="string" value="{True:&quot;$NODEID+0x%X00&quot;%(base+2),False:0x80000000}[base&lt;4]" />
   103       <item type="numeric" value="0" />
   103       <item type="numeric" value="0" />
   104       <item type="numeric" value="0" />
   104       <item type="numeric" value="0" />
   105       <item type="numeric" value="0" />
   105       <item type="numeric" value="0" />
   106       <item type="numeric" value="0" />
   106       <item type="numeric" value="0" />
   107     </val>
   107     </val>
   108   </entry>
   108   </entry>
   109   <entry>
   109   <entry>
   110     <key type="numeric" value="5632" />
   110     <key type="numeric" value="5632" />
   111     <val type="list" id="24657864" >
   111     <val type="list" id="171639756" >
   112       <item type="numeric" value="0" />
   112       <item type="numeric" value="0" />
   113     </val>
   113     </val>
   114   </entry>
   114   </entry>
   115   <entry>
   115   <entry>
   116     <key type="numeric" value="8194" />
   116     <key type="numeric" value="8194" />
   117     <val type="numeric" value="0" />
   117     <val type="numeric" value="0" />
   118   </entry>
   118   </entry>
   119   <entry>
   119   <entry>
   120     <key type="numeric" value="5121" />
   120     <key type="numeric" value="5121" />
   121     <val type="list" id="24659080" >
   121     <val type="list" id="171641580" >
   122       <item type="string" value="{True:self.ID+(base+2)*0x100,False:0}[base&lt;4]" />
   122       <item type="string" value="{True:&quot;$NODEID+0x%X00&quot;%(base+2),False:0x80000000}[base&lt;4]" />
   123       <item type="numeric" value="0" />
   123       <item type="numeric" value="0" />
   124       <item type="numeric" value="0" />
   124       <item type="numeric" value="0" />
   125       <item type="numeric" value="0" />
   125       <item type="numeric" value="0" />
   126       <item type="numeric" value="0" />
   126       <item type="numeric" value="0" />
   127     </val>
   127     </val>
   128   </entry>
   128   </entry>
   129   <entry>
   129   <entry>
   130     <key type="numeric" value="6144" />
   130     <key type="numeric" value="6144" />
   131     <val type="list" id="24659008" >
   131     <val type="list" id="171640172" >
   132       <item type="string" value="{True:self.ID+(base+1)*0x100+0x80,False:0}[base&lt;4]" />
   132       <item type="string" value="{True:&quot;$NODEID+0x%X80&quot;%(base+1),False:0x80000000}[base&lt;4]" />
   133       <item type="numeric" value="0" />
   133       <item type="numeric" value="0" />
   134       <item type="numeric" value="0" />
   134       <item type="numeric" value="0" />
   135       <item type="numeric" value="0" />
   135       <item type="numeric" value="0" />
   136       <item type="numeric" value="0" />
   136       <item type="numeric" value="0" />
   137     </val>
   137     </val>
   138   </entry>
   138   </entry>
   139   <entry>
   139   <entry>
   140     <key type="numeric" value="5633" />
   140     <key type="numeric" value="5633" />
   141     <val type="list" id="24659224" >
   141     <val type="list" id="171640364" >
   142       <item type="numeric" value="0" />
   142       <item type="numeric" value="0" />
   143     </val>
   143     </val>
   144   </entry>
   144   </entry>
   145   <entry>
   145   <entry>
   146     <key type="numeric" value="6656" />
   146     <key type="numeric" value="6656" />
   147     <val type="list" id="24659296" >
   147     <val type="list" id="171640108" >
   148       <item type="numeric" value="0" />
   148       <item type="numeric" value="0" />
   149     </val>
   149     </val>
   150   </entry>
   150   </entry>
   151   <entry>
   151   <entry>
   152     <key type="numeric" value="6145" />
   152     <key type="numeric" value="6145" />
   153     <val type="list" id="22807184" >
   153     <val type="list" id="172282252" >
   154       <item type="string" value="{True:self.ID+(base+1)*0x100+0x80,False:0}[base&lt;4]" />
   154       <item type="string" value="{True:&quot;$NODEID+0x%X80&quot;%(base+1),False:0x80000000}[base&lt;4]" />
   155       <item type="numeric" value="0" />
   155       <item type="numeric" value="0" />
   156       <item type="numeric" value="0" />
   156       <item type="numeric" value="0" />
   157       <item type="numeric" value="0" />
   157       <item type="numeric" value="0" />
   158       <item type="numeric" value="0" />
   158       <item type="numeric" value="0" />
   159     </val>
   159     </val>
   160   </entry>
   160   </entry>
   161   <entry>
   161   <entry>
   162     <key type="numeric" value="6657" />
   162     <key type="numeric" value="6657" />
   163     <val type="list" id="24659368" >
   163     <val type="list" id="172282188" >
   164       <item type="numeric" value="0" />
   164       <item type="numeric" value="0" />
   165     </val>
   165     </val>
   166   </entry>
   166   </entry>
   167 </attr>
   167 </attr>
   168 <attr name="SpecificMenu" type="list" id="22782248" >
   168 <attr name="SpecificMenu" type="list" id="172281996" >
   169 </attr>
   169 </attr>
   170 <attr name="ParamsDictionary" type="dict" id="25949808" >
   170 <attr name="ParamsDictionary" type="dict" id="171657524" >
   171 </attr>
   171 </attr>
   172 <attr name="UserMapping" type="dict" id="23548624" >
   172 <attr name="UserMapping" type="dict" id="172254724" >
   173   <entry>
   173   <entry>
   174     <key type="numeric" value="8192" />
   174     <key type="numeric" value="8192" />
   175     <val type="dict" id="25609504" >
   175     <val type="dict" id="172255676" >
   176       <entry>
   176       <entry>
   177         <key type="string" value="need" />
   177         <key type="string" value="need" />
   178         <val type="False" value="" />
   178         <val type="False" value="" />
   179       </entry>
   179       </entry>
   180       <entry>
   180       <entry>
   181         <key type="string" value="values" />
   181         <key type="string" value="values" />
   182         <val type="list" id="22856264" >
   182         <val type="list" id="171703276" >
   183           <item type="dict" id="17454272" >
   183           <item type="dict" id="172254996" >
   184             <entry>
   184             <entry>
   185               <key type="string" value="access" />
   185               <key type="string" value="access" />
   186               <val type="string" value="ro" />
   186               <val type="string" value="ro" />
   187             </entry>
   187             </entry>
   188             <entry>
   188             <entry>
   196             <entry>
   196             <entry>
   197               <key type="string" value="name" />
   197               <key type="string" value="name" />
   198               <val type="string" value="Number of Entries" />
   198               <val type="string" value="Number of Entries" />
   199             </entry>
   199             </entry>
   200           </item>
   200           </item>
   201           <item type="dict" id="23156448" >
   201           <item type="dict" id="172256084" >
   202             <entry>
   202             <entry>
   203               <key type="string" value="access" />
   203               <key type="string" value="access" />
   204               <val type="string" value="rw" />
   204               <val type="string" value="rw" />
   205             </entry>
   205             </entry>
   206             <entry>
   206             <entry>
   214             <entry>
   214             <entry>
   215               <key type="string" value="name" />
   215               <key type="string" value="name" />
   216               <val type="string" value="seconds" />
   216               <val type="string" value="seconds" />
   217             </entry>
   217             </entry>
   218           </item>
   218           </item>
   219           <item type="dict" id="25602912" >
   219           <item type="dict" id="172255948" >
   220             <entry>
   220             <entry>
   221               <key type="string" value="access" />
   221               <key type="string" value="access" />
   222               <val type="string" value="rw" />
   222               <val type="string" value="rw" />
   223             </entry>
   223             </entry>
   224             <entry>
   224             <entry>
   232             <entry>
   232             <entry>
   233               <key type="string" value="name" />
   233               <key type="string" value="name" />
   234               <val type="string" value="minutes" />
   234               <val type="string" value="minutes" />
   235             </entry>
   235             </entry>
   236           </item>
   236           </item>
   237           <item type="dict" id="23156736" >
   237           <item type="dict" id="172254588" >
   238             <entry>
   238             <entry>
   239               <key type="string" value="access" />
   239               <key type="string" value="access" />
   240               <val type="string" value="rw" />
   240               <val type="string" value="rw" />
   241             </entry>
   241             </entry>
   242             <entry>
   242             <entry>
   250             <entry>
   250             <entry>
   251               <key type="string" value="name" />
   251               <key type="string" value="name" />
   252               <val type="string" value="hours" />
   252               <val type="string" value="hours" />
   253             </entry>
   253             </entry>
   254           </item>
   254           </item>
   255           <item type="dict" id="23604592" >
   255           <item type="dict" id="172255540" >
   256             <entry>
   256             <entry>
   257               <key type="string" value="access" />
   257               <key type="string" value="access" />
   258               <val type="string" value="rw" />
   258               <val type="string" value="rw" />
   259             </entry>
   259             </entry>
   260             <entry>
   260             <entry>
   282       </entry>
   282       </entry>
   283     </val>
   283     </val>
   284   </entry>
   284   </entry>
   285   <entry>
   285   <entry>
   286     <key type="numeric" value="8193" />
   286     <key type="numeric" value="8193" />
   287     <val type="dict" id="23586928" >
   287     <val type="dict" id="172256492" >
   288       <entry>
   288       <entry>
   289         <key type="string" value="need" />
   289         <key type="string" value="need" />
   290         <val type="False" value="" />
   290         <val type="False" value="" />
   291       </entry>
   291       </entry>
   292       <entry>
   292       <entry>
   293         <key type="string" value="values" />
   293         <key type="string" value="values" />
   294         <val type="list" id="24659152" >
   294         <val type="list" id="172281932" >
   295           <item type="dict" id="23588256" >
   295           <item type="dict" id="172255812" >
   296             <entry>
   296             <entry>
   297               <key type="string" value="access" />
   297               <key type="string" value="access" />
   298               <val type="string" value="rw" />
   298               <val type="string" value="rw" />
   299             </entry>
   299             </entry>
   300             <entry>
   300             <entry>
   322       </entry>
   322       </entry>
   323     </val>
   323     </val>
   324   </entry>
   324   </entry>
   325   <entry>
   325   <entry>
   326     <key type="numeric" value="8194" />
   326     <key type="numeric" value="8194" />
   327     <val type="dict" id="23583408" >
   327     <val type="dict" id="172256900" >
   328       <entry>
   328       <entry>
   329         <key type="string" value="need" />
   329         <key type="string" value="need" />
   330         <val type="False" value="" />
   330         <val type="False" value="" />
   331       </entry>
   331       </entry>
   332       <entry>
   332       <entry>
   333         <key type="string" value="values" />
   333         <key type="string" value="values" />
   334         <val type="list" id="24659872" >
   334         <val type="list" id="171703532" >
   335           <item type="dict" id="23585552" >
   335           <item type="dict" id="172256764" >
   336             <entry>
   336             <entry>
   337               <key type="string" value="access" />
   337               <key type="string" value="access" />
   338               <val type="string" value="rw" />
   338               <val type="string" value="rw" />
   339             </entry>
   339             </entry>
   340             <entry>
   340             <entry>
   362       </entry>
   362       </entry>
   363     </val>
   363     </val>
   364   </entry>
   364   </entry>
   365   <entry>
   365   <entry>
   366     <key type="numeric" value="8195" />
   366     <key type="numeric" value="8195" />
   367     <val type="dict" id="23610640" >
   367     <val type="dict" id="172255404" >
   368       <entry>
   368       <entry>
   369         <key type="string" value="need" />
   369         <key type="string" value="need" />
   370         <val type="False" value="" />
   370         <val type="False" value="" />
   371       </entry>
   371       </entry>
   372       <entry>
   372       <entry>
   373         <key type="string" value="values" />
   373         <key type="string" value="values" />
   374         <val type="list" id="24659800" >
   374         <val type="list" id="172271660" >
   375           <item type="dict" id="23583696" >
   375           <item type="dict" id="172256356" >
   376             <entry>
   376             <entry>
   377               <key type="string" value="access" />
   377               <key type="string" value="access" />
   378               <val type="string" value="rw" />
   378               <val type="string" value="rw" />
   379             </entry>
   379             </entry>
   380             <entry>
   380             <entry>
   402       </entry>
   402       </entry>
   403     </val>
   403     </val>
   404   </entry>
   404   </entry>
   405   <entry>
   405   <entry>
   406     <key type="numeric" value="160" />
   406     <key type="numeric" value="160" />
   407     <val type="dict" id="25574192" >
   407     <val type="dict" id="172265652" >
   408       <entry>
   408       <entry>
   409         <key type="string" value="name" />
   409         <key type="string" value="name" />
   410         <val type="string" value="VISIBLE_STRING10" />
   410         <val type="string" value="VISIBLE_STRING10" />
   411       </entry>
   411       </entry>
   412       <entry>
   412       <entry>
   417         <key type="string" value="struct" />
   417         <key type="string" value="struct" />
   418         <val type="numeric" value="3" />
   418         <val type="numeric" value="3" />
   419       </entry>
   419       </entry>
   420       <entry>
   420       <entry>
   421         <key type="string" value="values" />
   421         <key type="string" value="values" />
   422         <val type="list" id="24659728" >
   422         <val type="list" id="172273100" >
   423           <item type="dict" id="25661040" >
   423           <item type="dict" id="172256628" >
   424             <entry>
   424             <entry>
   425               <key type="string" value="access" />
   425               <key type="string" value="access" />
   426               <val type="string" value="ro" />
   426               <val type="string" value="ro" />
   427             </entry>
   427             </entry>
   428             <entry>
   428             <entry>
   436             <entry>
   436             <entry>
   437               <key type="string" value="name" />
   437               <key type="string" value="name" />
   438               <val type="string" value="Number of Entries" />
   438               <val type="string" value="Number of Entries" />
   439             </entry>
   439             </entry>
   440           </item>
   440           </item>
   441           <item type="dict" id="25573904" >
   441           <item type="dict" id="172266060" >
   442             <entry>
   442             <entry>
   443               <key type="string" value="access" />
   443               <key type="string" value="access" />
   444               <val type="string" value="ro" />
   444               <val type="string" value="ro" />
   445             </entry>
   445             </entry>
   446             <entry>
   446             <entry>
   454             <entry>
   454             <entry>
   455               <key type="string" value="name" />
   455               <key type="string" value="name" />
   456               <val type="string" value="Type" />
   456               <val type="string" value="Type" />
   457             </entry>
   457             </entry>
   458           </item>
   458           </item>
   459           <item type="dict" id="25662784" >
   459           <item type="dict" id="172265924" >
   460             <entry>
   460             <entry>
   461               <key type="string" value="access" />
   461               <key type="string" value="access" />
   462               <val type="string" value="ro" />
   462               <val type="string" value="ro" />
   463             </entry>
   463             </entry>
   464             <entry>
   464             <entry>
   485         <val type="numeric" value="80" />
   485         <val type="numeric" value="80" />
   486       </entry>
   486       </entry>
   487     </val>
   487     </val>
   488   </entry>
   488   </entry>
   489 </attr>
   489 </attr>
   490 <attr name="DS302" type="dict" id="23562624" >
   490 <attr name="DS302" type="dict" id="172256220" >
   491 </attr>
   491 </attr>
   492 <attr name="ProfileName" type="string" value="None" />
   492 <attr name="ProfileName" type="string" value="None" />
   493 <attr name="Type" type="string">slave</attr>
   493 <attr name="Type" type="string">slave</attr>
   494 <attr name="ID" type="numeric" value="0" />
   494 <attr name="ID" type="numeric" value="0" />
   495 <attr name="Name" type="string">Linux_slave</attr>
   495 <attr name="Name" type="string">Linux_slave</attr>