3048 |
3048 |
3049 def GetEditedResourceVariables(self, tagname, debug = False): |
3049 def GetEditedResourceVariables(self, tagname, debug = False): |
3050 varlist = [] |
3050 varlist = [] |
3051 words = tagname.split("::") |
3051 words = tagname.split("::") |
3052 for var in self.GetConfigurationGlobalVars(words[1], debug): |
3052 for var in self.GetConfigurationGlobalVars(words[1], debug): |
3053 if var["Type"] == "BOOL": |
3053 if var.Type == "BOOL": |
3054 varlist.append(var["Name"]) |
3054 varlist.append(var.Name) |
3055 for var in self.GetConfigurationResourceGlobalVars(words[1], words[2], debug): |
3055 for var in self.GetConfigurationResourceGlobalVars(words[1], words[2], debug): |
3056 if var["Type"] == "BOOL": |
3056 if var.Type == "BOOL": |
3057 varlist.append(var["Name"]) |
3057 varlist.append(var.Name) |
3058 return varlist |
3058 return varlist |
3059 |
3059 |
3060 def SetEditedResourceInfos(self, tagname, tasks, instances): |
3060 def SetEditedResourceInfos(self, tagname, tasks, instances): |
3061 resource = self.GetEditedElement(tagname) |
3061 resource = self.GetEditedElement(tagname) |
3062 if resource is not None: |
3062 if resource is not None: |