Java Mine
ContentsIndexHome
PreviousUpNext
CarDetectBase.UpdateSensorHeartBeat Method
Syntax
Java
public static void UpdateSensorHeartBeat(Sensor sens, double heartbeat, Boolean sendSensorUpdate);

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

@param sens sens the Sensor object to be updated @param heartBeat a double value this is represented in minutes, so if heartbeat equals 1 that is one minute @param sendSensorUpdate a Boolean flag that lets the sensor know if it should send up the new configuration

Copyright (c) 2023. All rights reserved.
What do you think about this topic? Send feedback!