From f8a5dd9c321db2b3985b7d9e3d9bec639d05ffef Mon Sep 17 00:00:00 2001 From: Mikayla Fischler Date: Wed, 12 Jun 2024 20:20:30 -0400 Subject: [PATCH] #200 additional fields for info display --- pocket/iocontrol.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pocket/iocontrol.lua b/pocket/iocontrol.lua index 5020399..f48ce25 100644 --- a/pocket/iocontrol.lua +++ b/pocket/iocontrol.lua @@ -986,6 +986,10 @@ function iocontrol.record_unit_data(data) insert(annunc, "MaxWaterReturnFeed", "MAX WTR RTRN FEED") + for k, v in ipairs(annunc.WaterLevelLow) do insert(v, "WaterLevelLow", "BOILER " .. k .. " WTR LOW", colors.red) end + for k, v in ipairs(annunc.HeatingRateLow) do insert(v, "HeatingRateLow", "BOILER " .. k .. " HEAT RATE") end + for k, v in ipairs(annunc.TurbineOverSpeed) do insert(v, "TurbineOverSpeed", "TURBINE " .. k .. " OVERSPD", colors.red) end + for k, v in ipairs(annunc.GeneratorTrip) do insert(v, "GeneratorTrip", "TURBINE " .. k .. " GEN TRIP") end table.insert(items, blue("CHECK COOLING SYS"))