C# Mine
ContentsIndexHome
PreviousUpNext
WaterBase.UpdateSensorHeartBeat Method

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

Syntax
C#
public static void UpdateSensorHeartBeat(Sensor sens, double heartbeat, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
the Sensor object to be updated  
double heartbeat 
a double value this is represented in minutes so heartbeat equals 1 that is one minute  
Boolean sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration  
Copyright (c) 2022. All rights reserved.
What do you think about this topic? Send feedback!