svghmi/svghmi.py
changeset 3341 dce1d5413310
parent 3290 f0c97422b34a
child 3344 4a08728a2ea4
child 3348 cfac764413dd
equal deleted inserted replaced
3335:c001c373f66c 3341:dce1d5413310
    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):