added missing RPS fields to supervisor session

This commit is contained in:
Mikayla Fischler 2022-07-16 12:54:02 -04:00
parent 88bf4d5653
commit 525dedb830
2 changed files with 7 additions and 3 deletions

View File

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

View File

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