py_ext/PythonFileCTNMixin.py
changeset 1901 e8cf68d69447
parent 1897 62f9cae9a25f
child 1902 2b7e2db31d81
equal deleted inserted replaced
1900:9d1547578f55 1901:e8cf68d69447
   117                 "onchange": _onchange(variable),
   117                 "onchange": _onchange(variable),
   118                 "opts": repr(variable.getopts()),
   118                 "opts": repr(variable.getopts()),
   119                 "configname": configname.upper(),
   119                 "configname": configname.upper(),
   120                 "uppername": variable.getname().upper(),
   120                 "uppername": variable.getname().upper(),
   121                 "IECtype": variable.gettype(),
   121                 "IECtype": variable.gettype(),
   122                 "initial" : repr(variable.getinitial()),
   122                 "initial": repr(variable.getinitial()),
   123                 "pyextname": pyextname
   123                 "pyextname": pyextname
   124             },
   124             },
   125             self.CodeFile.variables.variable)
   125             self.CodeFile.variables.variable)
   126         # python side PLC global variables access stub
   126         # python side PLC global variables access stub
   127         globalstubs = "\n".join([
   127         globalstubs = "\n".join([