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

Calibrates the sensor to correct values set by the user

Syntax
C++
C#
Visual Basic
void UpdateSensorCalibration(Sensor sens, double reading, bool isFull, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
sens the Sensor object to be updated  
double reading 
Actual reading on tap 
bool isFull 
if true calibrates the liquid levels full if false calibrates it as empty 
Boolean sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration