updated
This commit is contained in:
2
main.lua
2
main.lua
@@ -25,7 +25,7 @@ end
|
||||
|
||||
local function runDisplay()
|
||||
monitor.clear()
|
||||
monitor.setTextScale(0.75)
|
||||
monitor.setTextScale(0.90)
|
||||
while true do
|
||||
if(isWarningState or isCriticalState or isShutdownState) then
|
||||
monitor.setBackgroundColor(colors.red)
|
||||
|
||||
@@ -14,7 +14,8 @@ end
|
||||
local function report()
|
||||
local color = color()
|
||||
monitor.setBackgroundColor(color)
|
||||
value = getValue()
|
||||
monitor.clearLine()
|
||||
monitor.write("Turbine Steam Filled: " .. getValue() .. "%")
|
||||
monitor.write("Turbine Steam Filled: " .. value .. "%")
|
||||
end
|
||||
return { report = report, watch = watch }
|
||||
Reference in New Issue
Block a user