equal
deleted
inserted
replaced
53 def GetLibraryPath(self): |
53 def GetLibraryPath(self): |
54 return paths.AbsNeighbourFile(__file__, "pous.xml") |
54 return paths.AbsNeighbourFile(__file__, "pous.xml") |
55 |
55 |
56 def Generate_C(self, buildpath, varlist, IECCFLAGS): |
56 def Generate_C(self, buildpath, varlist, IECCFLAGS): |
57 global hmi_tree_root, on_hmitree_update, maxConnectionsTotal |
57 global hmi_tree_root, on_hmitree_update, maxConnectionsTotal |
|
58 |
|
59 maxConnectionsTotal = 0 |
58 |
60 |
59 already_found_watchdog = False |
61 already_found_watchdog = False |
60 found_SVGHMI_instance = False |
62 found_SVGHMI_instance = False |
61 for CTNChild in self.GetCTR().IterChildren(): |
63 for CTNChild in self.GetCTR().IterChildren(): |
62 if isinstance(CTNChild, SVGHMI): |
64 if isinstance(CTNChild, SVGHMI): |