canfestival/canfestival.py
changeset 1997 d9e8fb47340f
parent 1979 dc9e6f97cd8c
child 2418 5587c490a070
equal deleted inserted replaced
1996:4ae9c4447947 1997:d9e8fb47340f
    36 from ConfigTreeNode import ConfigTreeNode
    36 from ConfigTreeNode import ConfigTreeNode
    37 from PLCControler import \
    37 from PLCControler import \
    38     LOCATION_CONFNODE, \
    38     LOCATION_CONFNODE, \
    39     LOCATION_VAR_MEMORY
    39     LOCATION_VAR_MEMORY
    40 
    40 
    41 base_folder = paths.AbsParentDir(__file__, 2)
    41 base_folder = paths.AbsParentDir(__file__, 2)  # noqa
    42 CanFestivalPath = os.path.join(base_folder, "CanFestival-3")
    42 CanFestivalPath = os.path.join(base_folder, "CanFestival-3")  # noqa
    43 sys.path.append(os.path.join(CanFestivalPath, "objdictgen"))
    43 sys.path.append(os.path.join(CanFestivalPath, "objdictgen"))  # noqa
    44 
    44 
       
    45 # pylint: disable=wrong-import-position
    45 from nodelist import NodeList
    46 from nodelist import NodeList
    46 
       
    47 from nodemanager import NodeManager
    47 from nodemanager import NodeManager
    48 import gen_cfile
    48 import gen_cfile
    49 import eds_utils
    49 import eds_utils
    50 import canfestival_config as local_canfestival_config  # pylint: disable=import-error
    50 import canfestival_config as local_canfestival_config  # pylint: disable=import-error
    51 
       
    52 from commondialogs import CreateNodeDialog
    51 from commondialogs import CreateNodeDialog
    53 from subindextable import IECTypeConversion, SizeConversion
    52 from subindextable import IECTypeConversion, SizeConversion
    54 from canfestival import config_utils
    53 from canfestival import config_utils
    55 from canfestival.SlaveEditor import SlaveEditor, MasterViewer
    54 from canfestival.SlaveEditor import SlaveEditor, MasterViewer
    56 from canfestival.NetworkEditor import NetworkEditor
    55 from canfestival.NetworkEditor import NetworkEditor