#33 lua module/require architecture changeover
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
local config = {}
|
||||
|
||||
-- scada network listen for PLC's and RTU's
|
||||
SCADA_DEV_LISTEN = 16000
|
||||
config.SCADA_DEV_LISTEN = 16000
|
||||
-- listen port for SCADA supervisor access by coordinators
|
||||
SCADA_SV_LISTEN = 16100
|
||||
config.SCADA_SV_LISTEN = 16100
|
||||
-- expected number of reactors
|
||||
NUM_REACTORS = 4
|
||||
config.NUM_REACTORS = 4
|
||||
-- log path
|
||||
LOG_PATH = "/log.txt"
|
||||
config.LOG_PATH = "/log.txt"
|
||||
-- log mode
|
||||
-- 0 = APPEND (adds to existing file on start)
|
||||
-- 1 = NEW (replaces existing file on start)
|
||||
LOG_MODE = 0
|
||||
config.LOG_MODE = 0
|
||||
|
||||
return config
|
||||
|
||||
Reference in New Issue
Block a user