2017-02-24 23:26:31 +01:00
|
|
|
-- power/init.lua
|
|
|
|
|
2017-07-25 19:47:25 +02:00
|
|
|
local me = microexpansion
|
2017-02-24 23:26:31 +01:00
|
|
|
|
2017-07-25 19:47:25 +02:00
|
|
|
local networks = me.networks
|
|
|
|
local path = microexpansion.get_module_path("power")
|
|
|
|
|
|
|
|
me.power = {}
|
|
|
|
local power = me.power
|
2017-02-24 23:32:58 +01:00
|
|
|
|
|
|
|
-- Load Resources
|
|
|
|
|
2017-07-25 19:47:25 +02:00
|
|
|
dofile(path.."/network.lua") -- Network Management
|
|
|
|
dofile(path.."/register.lua") -- Machine Registration
|
2019-05-04 13:53:49 +02:00
|
|
|
--dofile(path.."/ctrl.lua") -- Controller/wires
|
2017-02-24 23:32:58 +01:00
|
|
|
dofile(path.."/gen.lua") -- Generators
|