#184 WIP supervisor front panel

This commit is contained in:
Mikayla Fischler
2023-05-05 13:04:13 -04:00
parent ff9a18a019
commit 2c7b98ba42
12 changed files with 365 additions and 66 deletions

View File

@@ -18,7 +18,8 @@ local RTU_UNIT_TYPE = types.RTU_UNIT_TYPE
local SV_Q_DATA = svqtypes.SV_Q_DATA
local println = util.println
-- local println = util.println
local println = function (str) end
-- retry time constants in ms
-- local INITIAL_WAIT = 1500

View File

@@ -14,7 +14,8 @@ local SCADA_MGMT_TYPE = comms.SCADA_MGMT_TYPE
local PLC_AUTO_ACK = comms.PLC_AUTO_ACK
local UNIT_COMMAND = comms.UNIT_COMMAND
local println = util.println
-- local println = util.println
local println = function (str) end
-- retry time constants in ms
local INITIAL_WAIT = 1500

View File

@@ -8,7 +8,8 @@ local pocket = {}
local PROTOCOL = comms.PROTOCOL
local SCADA_MGMT_TYPE = comms.SCADA_MGMT_TYPE
local println = util.println
-- local println = util.println
local println = function (str) end
-- retry time constants in ms
-- local INITIAL_WAIT = 1500

View File

@@ -22,7 +22,8 @@ local PROTOCOL = comms.PROTOCOL
local SCADA_MGMT_TYPE = comms.SCADA_MGMT_TYPE
local RTU_UNIT_TYPE = types.RTU_UNIT_TYPE
local println = util.println
-- local println = util.println
local println = function (str) end
local PERIODICS = {
KEEP_ALIVE = 2000

View File

@@ -22,6 +22,7 @@ local CRD_S_DATA = coordinator.CRD_S_DATA
local svsessions = {}
---@enum SESSION_TYPE
local SESSION_TYPE = {
RTU_SESSION = 0, -- RTU gateway
PLC_SESSION = 1, -- reactor PLC