This commit is contained in:
2025-06-14 15:23:31 -04:00
parent 495de6bf3e
commit d1c5074c37
2 changed files with 3 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ end
local function runDisplay() local function runDisplay()
monitor.clear() monitor.clear()
monitor.setTextScale(0.75) monitor.setTextScale(0.90)
while true do while true do
if(isWarningState or isCriticalState or isShutdownState) then if(isWarningState or isCriticalState or isShutdownState) then
monitor.setBackgroundColor(colors.red) monitor.setBackgroundColor(colors.red)

View File

@@ -14,7 +14,8 @@ end
local function report() local function report()
local color = color() local color = color()
monitor.setBackgroundColor(color) monitor.setBackgroundColor(color)
value = getValue()
monitor.clearLine() monitor.clearLine()
monitor.write("Turbine Steam Filled: " .. getValue() .. "%") monitor.write("Turbine Steam Filled: " .. value .. "%")
end end
return { report = report, watch = watch } return { report = report, watch = watch }