etherlab/EthercatCFileGenerator.py
changeset 2397 25f16349644b
parent 2381 1c40e3976cc2
child 2405 af050469fc5c
equal deleted inserted replaced
2396:41adf1dfc7a7 2397:25f16349644b
   135             return 1
   135             return 1
   136         return cmp(x["count"], y["count"])
   136         return cmp(x["count"], y["count"])
   137     return -cmp(x["matching"], y["matching"])
   137     return -cmp(x["matching"], y["matching"])
   138 
   138 
   139 
   139 
   140 class _EthercatCFileGenerator:
   140 class _EthercatCFileGenerator(object):
   141 
   141 
   142     def __init__(self, controler):
   142     def __init__(self, controler):
   143         self.Controler = controler
   143         self.Controler = controler
   144 
   144 
   145         self.Slaves = []
   145         self.Slaves = []