etherlab/EthercatMaster.py
changeset 2397 25f16349644b
parent 2396 41adf1dfc7a7
child 2399 a9a6dbc506e9
equal deleted inserted replaced
2396:41adf1dfc7a7 2397:25f16349644b
   223 """
   223 """
   224 
   224 
   225 ProcessVariablesParser = GenerateParserFromXSDstring(ProcessVariablesXSD)
   225 ProcessVariablesParser = GenerateParserFromXSDstring(ProcessVariablesXSD)
   226 
   226 
   227 
   227 
   228 class _EthercatCTN:
   228 class _EthercatCTN(object):
   229 
   229 
   230     CTNChildrenTypes = [("EthercatSlave", _EthercatSlaveCTN, "Ethercat Slave")]
   230     CTNChildrenTypes = [("EthercatSlave", _EthercatSlaveCTN, "Ethercat Slave")]
   231     if HAS_MCL:
   231     if HAS_MCL:
   232         CTNChildrenTypes.append(("EthercatCIA402Slave", _EthercatCIA402SlaveCTN, "Ethercat CIA402 Slave"))
   232         CTNChildrenTypes.append(("EthercatCIA402Slave", _EthercatCIA402SlaveCTN, "Ethercat CIA402 Slave"))
   233     EditorType = MasterEditor
   233     EditorType = MasterEditor