updated
This commit is contained in:
@@ -30,17 +30,21 @@ local function watch()
|
||||
end
|
||||
end
|
||||
|
||||
-- local function watch()
|
||||
-- checkCoolantLevel()
|
||||
-- end
|
||||
|
||||
local function startUp()
|
||||
end
|
||||
|
||||
local function shutdown()
|
||||
end
|
||||
|
||||
local function report()
|
||||
local value = getValue()
|
||||
local color = colors.black
|
||||
monitor.setBackgroundColor(color)
|
||||
monitor.clearLine()
|
||||
|
||||
setNewLine()
|
||||
monitor.write("Coolant: " .. value .. "%")
|
||||
end
|
||||
|
||||
|
||||
return { report = report, watch = watch}
|
||||
return { report = report, watch = watch, startUp = startUp, shutdown = shutdown }
|
||||
Reference in New Issue
Block a user