POULibrary.py
branchsvghmi
changeset 2971 f0a822ef9fa0
parent 2964 a7b11c9f468e
child 2981 a0932a52e53b
equal deleted inserted replaced
2970:4a9b0df0602a 2971:f0a822ef9fa0
    24 
    24 
    25 
    25 
    26 from __future__ import absolute_import
    26 from __future__ import absolute_import
    27 from weakref import ref
    27 from weakref import ref
    28 
    28 
    29 from ConfigTreeNode import UserAddressedException
    29 # Exception type for problems that user has to take action in order to fix
       
    30 class UserAddressedException(Exception):
       
    31     pass
       
    32 
    30 
    33 
    31 class POULibrary(object):
    34 class POULibrary(object):
    32     def __init__(self, CTR, LibName, TypeStack):
    35     def __init__(self, CTR, LibName, TypeStack):
    33         from PLCControler import PLCControler
    36         from PLCControler import PLCControler
    34         self.CTR = ref(CTR)
    37         self.CTR = ref(CTR)