fixes and cleanup

This commit is contained in:
Mikayla Fischler 2023-04-19 23:00:27 -04:00
parent a614b97d02
commit a843c8eb79
8 changed files with 11 additions and 10 deletions

View File

@ -300,6 +300,7 @@ function coordinator.comms(version, modem, sv_port, sv_listen, api_listen, range
---@param new_modem table
function public.reconnect_modem(new_modem)
modem = new_modem
apisessions.relink_modem(new_modem)
_conf_channels()
end

View File

@ -1,7 +1,7 @@
local comms = require("scada-common.comms")
local log = require("scada-common.log")
local mqueue = require("scada-common.mqueue")
local util = require("scada-common.util")
local comms = require("scada-common.comms")
local log = require("scada-common.log")
local mqueue = require("scada-common.mqueue")
local util = require("scada-common.util")
local api = {}

View File

@ -20,7 +20,7 @@ local sounder = require("coordinator.sounder")
local apisessions = require("coordinator.session.apisessions")
local COORDINATOR_VERSION = "v0.13.2"
local COORDINATOR_VERSION = "v0.13.3"
local println = util.println
local println_ts = util.println_ts

View File

@ -13,7 +13,7 @@ local ui = {
view = nil
}
-- start the coordinator GUI
-- start the pocket GUI
function renderer.start_ui()
if ui.view == nil then
-- reset screen

View File

@ -18,7 +18,7 @@ local plc = require("reactor-plc.plc")
local renderer = require("reactor-plc.renderer")
local threads = require("reactor-plc.threads")
local R_PLC_VERSION = "v1.1.8"
local R_PLC_VERSION = "v1.1.10"
local println = util.println
local println_ts = util.println_ts

View File

@ -25,7 +25,7 @@ local sna_rtu = require("rtu.dev.sna_rtu")
local sps_rtu = require("rtu.dev.sps_rtu")
local turbinev_rtu = require("rtu.dev.turbinev_rtu")
local RTU_VERSION = "v0.13.4"
local RTU_VERSION = "v0.13.5"
local RTU_UNIT_TYPE = types.RTU_UNIT_TYPE

View File

@ -11,7 +11,7 @@ local insert = table.insert
local max_distance = nil
comms.version = "1.4.0"
comms.version = "1.4.1"
---@enum PROTOCOL
local PROTOCOL = {

View File

@ -14,7 +14,7 @@ local supervisor = require("supervisor.supervisor")
local svsessions = require("supervisor.session.svsessions")
local SUPERVISOR_VERSION = "v0.15.2"
local SUPERVISOR_VERSION = "v0.15.3"
local println = util.println
local println_ts = util.println_ts