You are here: Symbol Reference > Monnit Namespace > Activity_2Base Class > Activity_2Base Methods > Activity_2Base.UpdateSensorHeartBeat Method
Activity_2Base.UpdateSensorHeartBeat Method
Activity_2Base Class  Activity_2Base Members  Activity_2Base Methods  Send Feedback

sets the ReportInterval as minutes on the sensor object the next time this sensor checks in it will update

Syntax
C++
C#
Visual Basic
void UpdateSensorHeartBeat(Sensor sens, double heartbeat, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
sens the Sensor object to be updated  
Boolean sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration 
heartBeat 
a double value this is represented in minutes, so if heartbeat equals 1 that is one minute