#33 lua module/require architecture changeover

This commit is contained in:
Mikayla Fischler
2022-05-04 13:37:01 -04:00
parent 7bcb260712
commit b575899d46
33 changed files with 679 additions and 518 deletions

View File

@@ -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