POULibrary.py
changeset 1831 56b48961cc68
parent 1752 d14ff9d7eb76
child 1881 091005ec69c4
equal deleted inserted replaced
1830:e598d1acf354 1831:56b48961cc68
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    24 
    24 
    25 from weakref import ref
    25 from weakref import ref
    26 
    26 
    27 
    27 
    28 class POULibrary:
    28 class POULibrary(object):
    29     def __init__(self, CTR, LibName, TypeStack):
    29     def __init__(self, CTR, LibName, TypeStack):
    30         from PLCControler import PLCControler
    30         from PLCControler import PLCControler
    31         self.CTR = ref(CTR)
    31         self.CTR = ref(CTR)
    32         self.LibName = LibName
    32         self.LibName = LibName
    33         self.LibraryControler = PLCControler()
    33         self.LibraryControler = PLCControler()