--- a/etherlab/etherlab.py Sat Sep 29 15:35:22 2018 +0300
+++ b/etherlab/etherlab.py Sat Sep 29 15:38:49 2018 +0300
@@ -89,6 +89,7 @@
if cls:
profile_numbers_xpath = EtherCATInfo_XPath("Profile/ProfileNo")
+
def GetProfileNumbers(self):
return [number.text for number in profile_numbers_xpath(self)]
setattr(cls, "GetProfileNumbers", GetProfileNumbers)
@@ -209,6 +210,7 @@
groups_xpath = EtherCATInfo_XPath("Descriptions/Groups/Group")
devices_xpath = EtherCATInfo_XPath("Descriptions/Devices/Device")
+
def LoadModules(self):
self.Library = {}