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

sets all data for the GeneralConfig2 configuration available on the sensor

Syntax
C++
C#
Visual Basic
void UpdateSensorGeneralConfig2(Sensor sens, int recovery, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
sens the Sensor object to be updated  
int recovery 
Once the recovery count is reached, the sensor will go to link mode and begin scanning channels and trying to find a gateway to join 
Boolean sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration