mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
added missing RPS fields to supervisor session
This commit is contained in:
parent
88bf4d5653
commit
525dedb830
@ -98,7 +98,9 @@ function plc.new_session(id, for_reactor, in_queue, out_queue)
|
||||
high_temp = false,
|
||||
no_fuel = false,
|
||||
no_cool = false,
|
||||
timed_out = false
|
||||
fault = false,
|
||||
timeout = false,
|
||||
manual = false
|
||||
},
|
||||
---@class mek_status
|
||||
mek_status = {
|
||||
@ -153,7 +155,9 @@ function plc.new_session(id, for_reactor, in_queue, out_queue)
|
||||
self.sDB.rps_status.high_temp = rps_status[4]
|
||||
self.sDB.rps_status.no_fuel = rps_status[5]
|
||||
self.sDB.rps_status.no_cool = rps_status[6]
|
||||
self.sDB.rps_status.timed_out = rps_status[7]
|
||||
self.sDB.rps_status.fault = rps_status[7]
|
||||
self.sDB.rps_status.timeout = rps_status[8]
|
||||
self.sDB.rps_status.manual = rps_status[9]
|
||||
end
|
||||
|
||||
-- copy in the reactor status
|
||||
|
@ -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.2"
|
||||
local SUPERVISOR_VERSION = "beta-v0.5.3"
|
||||
|
||||
local print = util.print
|
||||
local println = util.println
|
||||
|
Loading…
Reference in New Issue
Block a user