(self)
| 16 | self.iidx = 0 # indent index |
| 17 | |
| 18 | def eventList(self): |
| 19 | tree = ET.parse(self.event_model) |
| 20 | root = tree.getroot() |
| 21 | for child in root: |
| 22 | if child.tag.endswith("UAObjectType"): |
| 23 | print (child.attrib) |
| 24 | |
| 25 | def write(self, line): |
| 26 | if line: |