modbus/modbus.py
changeset 2736 a81b72ef156c
parent 2724 3f3f9dce9140
child 3733 d1acf20e8e7c
equal deleted inserted replaced
2735:732d112dd902 2736:a81b72ef156c
    30 from modbus.mb_utils import *
    30 from modbus.mb_utils import *
    31 from ConfigTreeNode import ConfigTreeNode
    31 from ConfigTreeNode import ConfigTreeNode
    32 from PLCControler import LOCATION_CONFNODE, LOCATION_VAR_MEMORY
    32 from PLCControler import LOCATION_CONFNODE, LOCATION_VAR_MEMORY
    33 import util.paths as paths
    33 import util.paths as paths
    34 
    34 
    35 base_folder = os.path.split(os.path.dirname(os.path.realpath(__file__)))[0]
    35 ModbusPath = paths.ThirdPartyPath("Modbus")
    36 base_folder = os.path.join(base_folder, "..")
       
    37 ModbusPath = os.path.join(base_folder, "Modbus")
       
    38 
    36 
    39 
    37 
    40 #
    38 #
    41 #
    39 #
    42 #
    40 #