updated
This commit is contained in:
@@ -35,9 +35,11 @@ local function checkSteamLevel()
|
||||
end
|
||||
end
|
||||
|
||||
-- local function watch()
|
||||
-- checkSteamLevel()
|
||||
-- end
|
||||
local function startUp()
|
||||
end
|
||||
|
||||
local function shutdown()
|
||||
end
|
||||
|
||||
local function watch()
|
||||
while true do
|
||||
@@ -50,9 +52,12 @@ local function report()
|
||||
local color = color()
|
||||
monitor.setBackgroundColor(color)
|
||||
value = getValue()
|
||||
monitor.clearLine()
|
||||
|
||||
setNewLine()
|
||||
monitor.write("Turbine Steam: " .. value .. "%")
|
||||
--monitor.write("Turbine Vent: " .. turbine.getDumpingMode() .. "%")
|
||||
|
||||
setNewLine()
|
||||
monitor.write("Turbine Vent: " .. turbine.getDumpingMode())
|
||||
end
|
||||
|
||||
return { report = report, watch = watch }
|
||||
return { report = report, watch = watch, startUp = startUp, shutdown = shutdown }
|
||||
Reference in New Issue
Block a user