#283 common cleanup, added lockbox version to crash dump, changed crash handler to pcall requires for graphics/lockbox

This commit is contained in:
Mikayla Fischler
2023-07-30 12:24:54 -04:00
parent 451f804f87
commit 9ce75eb4bd
10 changed files with 73 additions and 86 deletions

View File

@@ -2,10 +2,12 @@
-- System and Safety Constants
--
---@class scada_constants
local constants = {}
--#region Reactor Protection System (on the PLC) Limits
---@class _rps_constants
local rps = {}
rps.MAX_DAMAGE_PERCENT = 90 -- damage >= 90%
@@ -21,6 +23,7 @@ constants.RPS_LIMITS = rps
--#region Annunciator Limits
---@class _annunciator_constants
local annunc = {}
annunc.RCSFlowLow_H2O = -3.2 -- flow < -3.2 mB/s
@@ -44,6 +47,7 @@ constants.ANNUNCIATOR_LIMITS = annunc
--#region Supervisor Alarm Limits
---@class _alarm_constants
local alarms = {}
-- unit alarms