(
"icon" => "sensors"
"description" => "Libelium stations"
"author" => "Mike"
)
All Brain4it managers show a list of the modules that are contained in a server. Each module in that list is displayed with an icon and a label that are set respectively with the icon and description properties of module-metadata.
In addition to these properties any other can be added to provide more information about the module.
All the content of module-metadata is always be visible for everyone.
(do
(subscribe_sensor)
(open_db_connection)
(spawn (eval loop))
)
(do
(close_db_connection)
(unsubscribe_sensor)
)
(function (context data)
(list
"Control panel" => control_dashboard
"Activity log" => log_dashboard
)
)
The managers call this function every time the user opens the dashboards view.