Java Mine
ContentsIndexHome
PreviousUpNext
TemperatureBase Methods

The methods of the TemperatureBase class are listed here.

 
Name 
Description 
 
Creates the byte array that holding the sensor calibration command @param sensorID Numerical identifier of the sensor @param temp Temperature used to set the calibration the sensor @return Byte array with sensor level command for calibration 
 
This is Create, a member of class TemperatureBase. 
 
This is getData, a member of class TemperatureBase. 
 
Returns default configurations for the sensor
@param version The version of the Sensor @param platform The Firmware Generation of your device. i.e. Commercial, Alta, Wifi @return Default configurations for the sensor 
 
This is getHysteresis, a member of class TemperatureBase. 
 
This is getMaximumThreshold, a member of class TemperatureBase. 
 
This is getMinimumThreshold, a member of class TemperatureBase. 
 
This is getProfileType, a member of class TemperatureBase. 
 

Allows for the update of the specific type of sensor. @param sens the Sensor object to be updated @param heartBeat How often the sensor communicates with the gateway if no activity recorded. @param awareStateHeartBeat How often the sensor communicates with the gateway while in Aware State. @param assessmentsPerHeartBeat How many times between heartbeats a sensor will check its measurements against its thresholds to determine whether it will enter the Aware State. Warning if your sensor firmware is less than 2.5.2.0 Setting assessments greater than one will cause this sensor to not self elect follow a gateway to a new channel.... more 
 
comment this so that users know that heartbeat will be broken down to seconds same with activestate Interval. *

  • Sets the ReportInterval as minutes on the sensor object the next time
  • this sensor checks in it will update
*
  • @param sens the Sensor object to be updated
  • @param heartBeat a double value this is represented in minutes so
  • 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) 2022. All rights reserved.
What do you think about this topic? Send feedback!