#186 improved sv config validation, changed waste high thresholds, fixed monitored max burn not showing as active, fixed redstone R_ENABLE and U_ALARM, changed RPS high waste trip to 95%

This commit is contained in:
Mikayla Fischler
2023-03-04 01:37:15 -05:00
parent 11115633cf
commit 0e5113918c
10 changed files with 22 additions and 18 deletions

View File

@@ -11,6 +11,7 @@ local process = require("coordinator.process")
local sounder = require("coordinator.sounder")
local ALARM_STATE = types.ALARM_STATE
local PROCESS = types.PROCESS
local iocontrol = {}
@@ -301,7 +302,7 @@ function iocontrol.update_facility_status(status)
fac.auto_ready = ctl_status[2]
if type(ctl_status[3]) == "number" then
fac.auto_active = ctl_status[3] > 1
fac.auto_active = ctl_status[3] > PROCESS.INACTIVE
else
fac.auto_active = false
valid = false

View File

@@ -19,7 +19,7 @@ local iocontrol = require("coordinator.iocontrol")
local renderer = require("coordinator.renderer")
local sounder = require("coordinator.sounder")
local COORDINATOR_VERSION = "v0.11.9"
local COORDINATOR_VERSION = "v0.11.10"
local print = util.print
local println = util.println