# HG changeset patch # User Edouard Tisserant # Date 1623326744 -7200 # Node ID 07f10dc95d2fbe34bd22bd3c790f6542ab42f156 # Parent 352b2111ca66aba06f6f5fd451c1d65f2f15f79a# Parent b1bc6099d4e50fa04c3be371cd607dc0b6a70b33 merge diff -r 352b2111ca66 -r 07f10dc95d2f PLCControler.py --- a/PLCControler.py Thu Jun 10 13:47:58 2021 +0200 +++ b/PLCControler.py Thu Jun 10 14:05:44 2021 +0200 @@ -2049,14 +2049,15 @@ self.GetVarTypeObject(var_type), name, **args) - def AddEditedElementPouExternalVar(self, tagname, var_type, name): + def AddEditedElementPouExternalVar(self, tagname, var_type, name, **args): if self.Project is not None: words = tagname.split("::") if words[0] in ['P', 'T', 'A']: pou = self.Project.getpou(words[1]) if pou is not None: pou.addpouExternalVar( - self.GetVarTypeObject(var_type), name) + self.GetVarTypeObject(var_type), + name, **args) def ChangeEditedElementPouVar(self, tagname, old_type, old_name, new_type, new_name): if self.Project is not None: