- I am trying to get the start time of niagara station.
- I see there is a Sys Class that provides singleton to access all the functionality.
- i want to get the start time of the station and i am unable to find a property that would result in that.
- I can see in resourcemanager and when spied on station to see there is start time information there but i am not able to retrieve it. i access those information by going to following ords:
local:|foxs:|spy:/sysInfo local:|foxs:|view:chart:ResourceManager
code i have been playing with:
Sys.getStation().getSysInfo().getFacets()
the sysinfo facets looks empty.
You can access the static field Nre.bootTime, which is set to System.currentTimeMillis() when the station starts, and then subtract it from "now" in order to obtain the uptime - something like this: