Subversion Repositories HomeAutomation

Rev

Rev 972 | Rev 981 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 972 Rev 974
Line 65... Line 65...
65
function offlineCheck()
65
function offlineCheck()
66
{
66
{
67
    for (var n in CanServices)
67
    for (var n in CanServices)
68
    {
68
    {
69
        CanServices[n].checkOffline();
69
        CanServices[n].checkOffline();
-
 
70
    }
-
 
71
}
-
 
72
 
-
 
73
function setAllOffline()
-
 
74
{
-
 
75
    for (var n in CanServices)
-
 
76
    {
-
 
77
        CanServices[n].setOffline();
70
    }
78
    }
71
}
79
}
72
 
80
 
73
// This is called when a node sends a heartbeat
81
// This is called when a node sends a heartbeat
74
function handleHeartbeat(hardwareId)
82
function handleHeartbeat(hardwareId)