--- a/objdictgen/examples/example_objdict.od Wed Jun 16 21:28:34 2010 +0200
+++ b/objdictgen/examples/example_objdict.od Wed Jun 16 21:29:02 2010 +0200
@@ -1,10 +1,10 @@
<?xml version="1.0"?>
<!DOCTYPE PyObject SYSTEM "PyObjects.dtd">
-<PyObject module="node" class="Node" id="22859576">
-<attr name="Profile" type="dict" id="25609216" >
+<PyObject module="node" class="Node" id="171685708">
+<attr name="Profile" type="dict" id="172255268" >
</attr>
<attr name="Description" type="string" value="" />
-<attr name="Dictionary" type="dict" id="23555456" >
+<attr name="Dictionary" type="dict" id="172255132" >
<entry>
<key type="numeric" value="4096" />
<val type="numeric" value="0" />
@@ -15,8 +15,8 @@
</entry>
<entry>
<key type="numeric" value="5122" />
- <val type="list" id="22783112" >
- <item type="string" value="{True:self.ID+(base+2)*0x100,False:0}[base<4]" />
+ <val type="list" id="171642508" >
+ <item type="string" value="{True:"$NODEID+0x%X00"%(base+2),False:0x80000000}[base<4]" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
@@ -25,8 +25,8 @@
</entry>
<entry>
<key type="numeric" value="5123" />
- <val type="list" id="22856696" >
- <item type="string" value="{True:self.ID+(base+2)*0x100,False:0}[base<4]" />
+ <val type="list" id="171703948" >
+ <item type="string" value="{True:"$NODEID+0x%X00"%(base+2),False:0x80000000}[base<4]" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
@@ -35,7 +35,7 @@
</entry>
<entry>
<key type="numeric" value="8192" />
- <val type="list" id="22809776" >
+ <val type="list" id="171641164" >
<item type="numeric" value="0" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
@@ -52,13 +52,13 @@
</entry>
<entry>
<key type="numeric" value="5634" />
- <val type="list" id="22856336" >
+ <val type="list" id="171640012" >
<item type="numeric" value="0" />
</val>
</entry>
<entry>
<key type="numeric" value="5635" />
- <val type="list" id="24657792" >
+ <val type="list" id="171642604" >
<item type="numeric" value="0" />
</val>
</entry>
@@ -68,13 +68,13 @@
</entry>
<entry>
<key type="numeric" value="4118" />
- <val type="list" id="22856048" >
+ <val type="list" id="171641900" >
<item type="numeric" value="0" />
</val>
</entry>
<entry>
<key type="numeric" value="4120" />
- <val type="list" id="24658144" >
+ <val type="list" id="171641516" >
<item type="numeric" value="0" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
@@ -83,7 +83,7 @@
</entry>
<entry>
<key type="numeric" value="4736" />
- <val type="list" id="24658792" >
+ <val type="list" id="171642380" >
<item type="numeric" value="0" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
@@ -91,15 +91,15 @@
</entry>
<entry>
<key type="numeric" value="160" />
- <val type="list" id="24658864" >
+ <val type="list" id="171640588" >
<item type="numeric" value="9" />
<item type="numeric" value="10" />
</val>
</entry>
<entry>
<key type="numeric" value="5120" />
- <val type="list" id="24658936" >
- <item type="string" value="{True:self.ID+(base+2)*0x100,False:0}[base<4]" />
+ <val type="list" id="171642732" >
+ <item type="string" value="{True:"$NODEID+0x%X00"%(base+2),False:0x80000000}[base<4]" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
@@ -108,7 +108,7 @@
</entry>
<entry>
<key type="numeric" value="5632" />
- <val type="list" id="24657864" >
+ <val type="list" id="171639756" >
<item type="numeric" value="0" />
</val>
</entry>
@@ -118,8 +118,8 @@
</entry>
<entry>
<key type="numeric" value="5121" />
- <val type="list" id="24659080" >
- <item type="string" value="{True:self.ID+(base+2)*0x100,False:0}[base<4]" />
+ <val type="list" id="171641580" >
+ <item type="string" value="{True:"$NODEID+0x%X00"%(base+2),False:0x80000000}[base<4]" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
@@ -128,8 +128,8 @@
</entry>
<entry>
<key type="numeric" value="6144" />
- <val type="list" id="24659008" >
- <item type="string" value="{True:self.ID+(base+1)*0x100+0x80,False:0}[base<4]" />
+ <val type="list" id="171640172" >
+ <item type="string" value="{True:"$NODEID+0x%X80"%(base+1),False:0x80000000}[base<4]" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
@@ -138,20 +138,20 @@
</entry>
<entry>
<key type="numeric" value="5633" />
- <val type="list" id="24659224" >
+ <val type="list" id="171640364" >
<item type="numeric" value="0" />
</val>
</entry>
<entry>
<key type="numeric" value="6656" />
- <val type="list" id="24659296" >
+ <val type="list" id="171640108" >
<item type="numeric" value="0" />
</val>
</entry>
<entry>
<key type="numeric" value="6145" />
- <val type="list" id="22807184" >
- <item type="string" value="{True:self.ID+(base+1)*0x100+0x80,False:0}[base<4]" />
+ <val type="list" id="172282252" >
+ <item type="string" value="{True:"$NODEID+0x%X80"%(base+1),False:0x80000000}[base<4]" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
<item type="numeric" value="0" />
@@ -160,27 +160,27 @@
</entry>
<entry>
<key type="numeric" value="6657" />
- <val type="list" id="24659368" >
- <item type="numeric" value="0" />
- </val>
- </entry>
-</attr>
-<attr name="SpecificMenu" type="list" id="22782248" >
-</attr>
-<attr name="ParamsDictionary" type="dict" id="25949808" >
-</attr>
-<attr name="UserMapping" type="dict" id="23548624" >
+ <val type="list" id="172282188" >
+ <item type="numeric" value="0" />
+ </val>
+ </entry>
+</attr>
+<attr name="SpecificMenu" type="list" id="172281996" >
+</attr>
+<attr name="ParamsDictionary" type="dict" id="171657524" >
+</attr>
+<attr name="UserMapping" type="dict" id="172254724" >
<entry>
<key type="numeric" value="8192" />
- <val type="dict" id="25609504" >
+ <val type="dict" id="172255676" >
<entry>
<key type="string" value="need" />
<val type="False" value="" />
</entry>
<entry>
<key type="string" value="values" />
- <val type="list" id="22856264" >
- <item type="dict" id="17454272" >
+ <val type="list" id="171703276" >
+ <item type="dict" id="172254996" >
<entry>
<key type="string" value="access" />
<val type="string" value="ro" />
@@ -198,7 +198,7 @@
<val type="string" value="Number of Entries" />
</entry>
</item>
- <item type="dict" id="23156448" >
+ <item type="dict" id="172256084" >
<entry>
<key type="string" value="access" />
<val type="string" value="rw" />
@@ -216,7 +216,7 @@
<val type="string" value="seconds" />
</entry>
</item>
- <item type="dict" id="25602912" >
+ <item type="dict" id="172255948" >
<entry>
<key type="string" value="access" />
<val type="string" value="rw" />
@@ -234,7 +234,7 @@
<val type="string" value="minutes" />
</entry>
</item>
- <item type="dict" id="23156736" >
+ <item type="dict" id="172254588" >
<entry>
<key type="string" value="access" />
<val type="string" value="rw" />
@@ -252,7 +252,7 @@
<val type="string" value="hours" />
</entry>
</item>
- <item type="dict" id="23604592" >
+ <item type="dict" id="172255540" >
<entry>
<key type="string" value="access" />
<val type="string" value="rw" />
@@ -284,15 +284,15 @@
</entry>
<entry>
<key type="numeric" value="8193" />
- <val type="dict" id="23586928" >
+ <val type="dict" id="172256492" >
<entry>
<key type="string" value="need" />
<val type="False" value="" />
</entry>
<entry>
<key type="string" value="values" />
- <val type="list" id="24659152" >
- <item type="dict" id="23588256" >
+ <val type="list" id="172281932" >
+ <item type="dict" id="172255812" >
<entry>
<key type="string" value="access" />
<val type="string" value="rw" />
@@ -324,15 +324,15 @@
</entry>
<entry>
<key type="numeric" value="8194" />
- <val type="dict" id="23583408" >
+ <val type="dict" id="172256900" >
<entry>
<key type="string" value="need" />
<val type="False" value="" />
</entry>
<entry>
<key type="string" value="values" />
- <val type="list" id="24659872" >
- <item type="dict" id="23585552" >
+ <val type="list" id="171703532" >
+ <item type="dict" id="172256764" >
<entry>
<key type="string" value="access" />
<val type="string" value="rw" />
@@ -364,15 +364,15 @@
</entry>
<entry>
<key type="numeric" value="8195" />
- <val type="dict" id="23610640" >
+ <val type="dict" id="172255404" >
<entry>
<key type="string" value="need" />
<val type="False" value="" />
</entry>
<entry>
<key type="string" value="values" />
- <val type="list" id="24659800" >
- <item type="dict" id="23583696" >
+ <val type="list" id="172271660" >
+ <item type="dict" id="172256356" >
<entry>
<key type="string" value="access" />
<val type="string" value="rw" />
@@ -404,7 +404,7 @@
</entry>
<entry>
<key type="numeric" value="160" />
- <val type="dict" id="25574192" >
+ <val type="dict" id="172265652" >
<entry>
<key type="string" value="name" />
<val type="string" value="VISIBLE_STRING10" />
@@ -419,8 +419,8 @@
</entry>
<entry>
<key type="string" value="values" />
- <val type="list" id="24659728" >
- <item type="dict" id="25661040" >
+ <val type="list" id="172273100" >
+ <item type="dict" id="172256628" >
<entry>
<key type="string" value="access" />
<val type="string" value="ro" />
@@ -438,7 +438,7 @@
<val type="string" value="Number of Entries" />
</entry>
</item>
- <item type="dict" id="25573904" >
+ <item type="dict" id="172266060" >
<entry>
<key type="string" value="access" />
<val type="string" value="ro" />
@@ -456,7 +456,7 @@
<val type="string" value="Type" />
</entry>
</item>
- <item type="dict" id="25662784" >
+ <item type="dict" id="172265924" >
<entry>
<key type="string" value="access" />
<val type="string" value="ro" />
@@ -487,7 +487,7 @@
</val>
</entry>
</attr>
-<attr name="DS302" type="dict" id="23562624" >
+<attr name="DS302" type="dict" id="172256220" >
</attr>
<attr name="ProfileName" type="string" value="None" />
<attr name="Type" type="string">slave</attr>