equal
deleted
inserted
replaced
30 # -------------------------------------------------- |
30 # -------------------------------------------------- |
31 # Ethercat ConfNode |
31 # Ethercat ConfNode |
32 # -------------------------------------------------- |
32 # -------------------------------------------------- |
33 |
33 |
34 EtherCATInfoParser = GenerateParserFromXSD(os.path.join(os.path.dirname(__file__), "EtherCATInfo.xsd")) |
34 EtherCATInfoParser = GenerateParserFromXSD(os.path.join(os.path.dirname(__file__), "EtherCATInfo.xsd")) |
35 EtherCATInfo_XPath = lambda xpath: etree.XPath(xpath) |
35 |
|
36 |
|
37 def EtherCATInfo_XPath(xpath): |
|
38 return etree.XPath(xpath) |
36 |
39 |
37 |
40 |
38 def HexDecValue(context, *args): |
41 def HexDecValue(context, *args): |
39 return str(ExtractHexDecValue(args[0][0])) |
42 return str(ExtractHexDecValue(args[0][0])) |
40 |
43 |