Java Mine
ContentsIndexHome
PreviousUpNext
LiquidLevelBase Methods

The methods of the LiquidLevelBase class are listed here.

 
Name 
Description 
 
This is Create, a member of class LiquidLevelBase. 
 
Creates the byte array that will calibrate the sensor to the empty state @param sensorID Numerical identifier of the sensor @param reading Actual reading of the sensor @return 
 
Creates the byte array that will calibrate the sensor to the full state
@param sensorID Numerical identifier of the sensor @param reading Actual reading of the sensor @return Byte array with sensor level command for calibration 
 
This is getData, a member of class LiquidLevelBase. 
 
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 LiquidLevelBase. 
 
This is getMaximumThreshold, a member of class LiquidLevelBase. 
 
This is getMinimumThreshold, a member of class LiquidLevelBase. 
 
This is getProfileType, a member of class LiquidLevelBase. 
 

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 
 

Calibrates the sensor to correct values set by the user @param sens the Sensor object to be updated @param isFull if true calibrates the liquid levels full if false calibrates it as empty @param sendSensorUpdate a Boolean flag that lets the sensor know if it should send up the new configuration @throws java.lang.Exception exception 
 

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!