CumulusUtils Runtime Library: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
 
(One intermediate revision by the same user not shown)
Line 47: Line 47:
  ''$(function () {<arguments>} )''
  ''$(function () {<arguments>} )''


At load time this function is called automatically and initialises the library by calling the following functions:
At load time this function is called automatically - so it is h ere just for information, no user call is required - and initialises the library by calling the following functions:
#''loadRealtimeTxt'' => initializes the loading of ''realtime.txt'' and distributes the values over the dashboard
#''loadRealtimeTxt'' => initializes the loading of ''realtime.txt'' and distributes the values over the dashboard
#''RT_timer = setInterval(loadRealtimeTxt, 30 * 1000);'' => Initialize the interval timer for reading realtime.txt (see below)
#''RT_timer = setInterval(loadRealtimeTxt, 30 * 1000);'' => Initialize the interval timer for reading realtime.txt (see below)
Line 54: Line 54:
#''CreateSun'' and ''CreateMoon'' => Creates the sun and  moon disc
#''CreateSun'' and ''CreateMoon'' => Creates the sun and  moon disc
#''MinuteFunctions'' => initializes the minute function which takes care of the chart refreshes and the moving of the sun disc hand.
#''MinuteFunctions'' => initializes the minute function which takes care of the chart refreshes and the moving of the sun disc hand.
#''HourFunctions'' => initialisez the hour functions which takes care of the moondisc updates
#''HourFunctions'' => initializes the hour functions which takes care of the moondisc updates
#''LoadUtilsReport'' => It calls the initial report to load
#''LoadUtilsReport'' => It calls the initial report to load


Navigation menu