LPCManager.py
changeset 20 6bfbf83d6c2d
parent 19 1ef6f6fddaa8
child 21 06e42e229dd6
--- a/LPCManager.py	Tue Sep 25 13:06:59 2012 +0200
+++ b/LPCManager.py	Mon Oct 01 19:19:41 2012 +0200
@@ -97,6 +97,7 @@
                          LOCATION_VAR_INPUT, LOCATION_VAR_OUTPUT, LOCATION_VAR_MEMORY
 from IDEFrame import IDEFrame
 from dialogs import ProjectDialog
+from controls import TextCtrlAutoComplete
 
 havecanfestival = False
 try:
@@ -522,7 +523,7 @@
           <xsd:element name="CanFestivalSlaveNode">
             <xsd:complexType>
               <xsd:attribute name="CAN_Baudrate" type="xsd:string" use="optional" default="%(CAN_Baudrate)s"/>
-              <xsd:attribute name="NodeId" type="xsd:string" use="optional" default="%(Slave_NodeId)d"/>
+              <xsd:attribute name="NodeId" type="xsd:integer" use="optional" default="%(Slave_NodeId)d"/>
               <xsd:attribute name="Sync_Align" type="xsd:integer" use="optional" default="0"/>
               <xsd:attribute name="Sync_Align_Ratio" use="optional" default="50">
                 <xsd:simpleType>
@@ -575,7 +576,7 @@
           <xsd:element name="CanFestivalNode">
             <xsd:complexType>
               <xsd:attribute name="CAN_Baudrate" type="xsd:string" use="optional" default="%(CAN_Baudrate)s"/>
-              <xsd:attribute name="NodeId" type="xsd:string" use="optional" default="%(Master_NodeId)d"/>
+              <xsd:attribute name="NodeId" type="xsd:integer" use="optional" default="%(Master_NodeId)d"/>
               <xsd:attribute name="Sync_TPDOs" type="xsd:boolean" use="optional" default="true"/>
             </xsd:complexType>
           </xsd:element>