mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
svsessions bugfixes
This commit is contained in:
parent
4359cc3e63
commit
e456d34468
@ -108,8 +108,6 @@ function coordinator.new_session(id, in_queue, out_queue, facility_units)
|
||||
|
||||
-- send unit statuses
|
||||
local function _send_status()
|
||||
self.acks.builds = false
|
||||
|
||||
local status = {}
|
||||
|
||||
for i = 1, #self.units do
|
||||
|
@ -342,7 +342,7 @@ function plc.new_session(id, for_reactor, in_queue, out_queue)
|
||||
end
|
||||
elseif pkt.type == RPLC_TYPES.RPS_STATUS then
|
||||
-- RPS status packet received, copy data
|
||||
if pkt.length == 7 then
|
||||
if pkt.length == 9 then
|
||||
local status = pcall(_copy_rps_status, pkt.data)
|
||||
if status then
|
||||
-- copied in RPS status data OK
|
||||
|
@ -13,7 +13,7 @@ local svsessions = require("supervisor.session.svsessions")
|
||||
local config = require("supervisor.config")
|
||||
local supervisor = require("supervisor.supervisor")
|
||||
|
||||
local SUPERVISOR_VERSION = "beta-v0.5.8"
|
||||
local SUPERVISOR_VERSION = "beta-v0.5.9"
|
||||
|
||||
local print = util.print
|
||||
local println = util.println
|
||||
|
Loading…
Reference in New Issue
Block a user