equal
deleted
inserted
replaced
36 from bacnet.BacnetSlaveEditor import ObjectProperties |
36 from bacnet.BacnetSlaveEditor import ObjectProperties |
37 from PLCControler import LOCATION_CONFNODE, LOCATION_VAR_MEMORY |
37 from PLCControler import LOCATION_CONFNODE, LOCATION_VAR_MEMORY |
38 from ConfigTreeNode import ConfigTreeNode |
38 from ConfigTreeNode import ConfigTreeNode |
39 import util.paths as paths |
39 import util.paths as paths |
40 |
40 |
41 base_folder = os.path.split(os.path.dirname(os.path.realpath(__file__)))[0] |
41 BacnetPath = paths.ThirdPartyPath("BACnet") |
42 base_folder = os.path.join(base_folder, "..") |
|
43 BacnetPath = os.path.join(base_folder, "BACnet") |
|
44 BacnetLibraryPath = os.path.join(BacnetPath, "lib") |
42 BacnetLibraryPath = os.path.join(BacnetPath, "lib") |
45 BacnetIncludePath = os.path.join(BacnetPath, "include") |
43 BacnetIncludePath = os.path.join(BacnetPath, "include") |
46 BacnetIncludePortPath = os.path.join(BacnetPath, "ports") |
44 BacnetIncludePortPath = os.path.join(BacnetPath, "ports") |
47 BacnetIncludePortPath = os.path.join(BacnetIncludePortPath, "linux") |
45 BacnetIncludePortPath = os.path.join(BacnetIncludePortPath, "linux") |
48 |
46 |