equal
deleted
inserted
replaced
513 "Slave_NodeId": 2, |
513 "Slave_NodeId": 2, |
514 "Master_NodeId": 1, |
514 "Master_NodeId": 1, |
515 } |
515 } |
516 |
516 |
517 class LPCSlaveEditor(SlaveEditor): |
517 class LPCSlaveEditor(SlaveEditor): |
518 BASE_PARAMS = False |
518 SHOW_BASE_PARAMS = False |
519 |
519 |
520 class LPCCanOpenSlave(_SlaveCTN): |
520 class LPCCanOpenSlave(_SlaveCTN): |
521 XSD = """<?xml version="1.0" encoding="ISO-8859-1" ?> |
521 XSD = """<?xml version="1.0" encoding="ISO-8859-1" ?> |
522 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
522 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
523 <xsd:element name="CanFestivalSlaveNode"> |
523 <xsd:element name="CanFestivalSlaveNode"> |
559 |
559 |
560 def GetCanDevice(self): |
560 def GetCanDevice(self): |
561 return str(self.BaseParams.getIEC_Channel()) |
561 return str(self.BaseParams.getIEC_Channel()) |
562 |
562 |
563 class LPCNetworkEditor(NetworkEditor): |
563 class LPCNetworkEditor(NetworkEditor): |
564 BASE_PARAMS = False |
564 SHOW_BASE_PARAMS = False |
565 |
565 |
566 class LPCCanOpenMaster(_NodeListCTN): |
566 class LPCCanOpenMaster(_NodeListCTN): |
567 XSD = """<?xml version="1.0" encoding="ISO-8859-1" ?> |
567 XSD = """<?xml version="1.0" encoding="ISO-8859-1" ?> |
568 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
568 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
569 <xsd:element name="CanFestivalNode"> |
569 <xsd:element name="CanFestivalNode"> |
581 def GetCanDevice(self): |
581 def GetCanDevice(self): |
582 return str(self.BaseParams.getIEC_Channel()) |
582 return str(self.BaseParams.getIEC_Channel()) |
583 |
583 |
584 class LPCCanOpen(CanOpenRootClass): |
584 class LPCCanOpen(CanOpenRootClass): |
585 XSD = None |
585 XSD = None |
586 CTNChildrenTypes = [("CanOpenNode",LPCCanOpenMaster, "CanOpen Master"), |
586 CTNChildrenTypes = [("CanOpenNode", LPCCanOpenMaster, "CanOpen Master"), |
587 ("CanOpenSlave",LPCCanOpenSlave, "CanOpen Slave")] |
587 ("CanOpenSlave", LPCCanOpenSlave, "CanOpen Slave")] |
588 |
588 |
589 def GetCanDriver(self): |
589 def GetCanDriver(self): |
590 return "" |
590 return "" |
591 |
591 |
592 def LoadChildren(self): |
592 def LoadChildren(self): |