--- a/etherlab/CommonEtherCATFunction.py Sat Sep 29 16:39:25 2018 +0300
+++ b/etherlab/CommonEtherCATFunction.py Sat Sep 29 16:40:56 2018 +0300
@@ -142,7 +142,7 @@
# --------------------------------------------------
# Common Method For EtherCAT Management
# --------------------------------------------------
+class _CommonSlave(object): # ----- Data Structure for ethercat management ----
--- a/etherlab/EthercatCFileGenerator.py Sat Sep 29 16:39:25 2018 +0300
+++ b/etherlab/EthercatCFileGenerator.py Sat Sep 29 16:40:56 2018 +0300
@@ -137,7 +137,7 @@
return -cmp(x["matching"], y["matching"])
-class _EthercatCFileGenerator:
+class _EthercatCFileGenerator(object): def __init__(self, controler):
self.Controler = controler
--- a/etherlab/EthercatMaster.py Sat Sep 29 16:39:25 2018 +0300
+++ b/etherlab/EthercatMaster.py Sat Sep 29 16:40:56 2018 +0300
@@ -225,7 +225,7 @@
ProcessVariablesParser = GenerateParserFromXSDstring(ProcessVariablesXSD)
+class _EthercatCTN(object): CTNChildrenTypes = [("EthercatSlave", _EthercatSlaveCTN, "Ethercat Slave")]
--- a/etherlab/EthercatSlave.py Sat Sep 29 16:39:25 2018 +0300
+++ b/etherlab/EthercatSlave.py Sat Sep 29 16:40:56 2018 +0300
@@ -64,7 +64,7 @@
# --------------------------------------------------
-class _EthercatSlaveCTN:
+class _EthercatSlaveCTN(object): --- a/etherlab/etherlab.py Sat Sep 29 16:39:25 2018 +0300
+++ b/etherlab/etherlab.py Sat Sep 29 16:40:56 2018 +0300
@@ -58,7 +58,7 @@
+class EntryListFactory(object): def __init__(self, entries):
@@ -154,7 +154,7 @@
group["children"].sort(GroupItemCompare)
+class ModulesLibrary(object): @@ -409,7 +409,7 @@
os.path.join(USERDATA_DIR, "ethercat_modules"))
+class RootClass(object): CTNChildrenTypes = [("EthercatNode", _EthercatCTN, "Ethercat Master")]
EditorType = LibraryEditor