LPCManager.py
changeset 11 6aca5bc9c9a1
parent 9 516f661a4fc5
child 12 8917feb27b92
--- a/LPCManager.py	Sat Jun 16 09:25:21 2012 +0200
+++ b/LPCManager.py	Sun Jun 17 12:34:22 2012 +0200
@@ -515,7 +515,7 @@
     }
     
     class LPCSlaveEditor(SlaveEditor):
-        BASE_PARAMS = False
+        SHOW_BASE_PARAMS = False
     
     class LPCCanOpenSlave(_SlaveCTN):
         XSD = """<?xml version="1.0" encoding="ISO-8859-1" ?>
@@ -561,7 +561,7 @@
             return str(self.BaseParams.getIEC_Channel())
     
     class LPCNetworkEditor(NetworkEditor):
-        BASE_PARAMS = False
+        SHOW_BASE_PARAMS = False
         
     class LPCCanOpenMaster(_NodeListCTN):
         XSD = """<?xml version="1.0" encoding="ISO-8859-1" ?>
@@ -583,8 +583,8 @@
     
     class LPCCanOpen(CanOpenRootClass):
         XSD = None
-        CTNChildrenTypes = [("CanOpenNode",LPCCanOpenMaster, "CanOpen Master"),
-                           ("CanOpenSlave",LPCCanOpenSlave, "CanOpen Slave")]
+        CTNChildrenTypes = [("CanOpenNode", LPCCanOpenMaster, "CanOpen Master"),
+                            ("CanOpenSlave", LPCCanOpenSlave, "CanOpen Slave")]
         
         def GetCanDriver(self):
             return ""