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

sets all data for the ProfileConfig1 configuration available on the sensor

Syntax
C++
C#
Visual Basic
void UpdateSensorProfileConfig2(Sensor sens, Boolean defaultState1, Boolean defaultState2, long pairedSensorID1, long pairedSensorID2, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
sens the Sensor object to be updated  
Boolean defaultState1 
The default state is the state that relay 1 is in on power up and also the state that the relay is in while the paired sensor is in the standard operating state. if a sensor is paired and the sensor enters the aware mode,the relay will toggle to the non default state 
Boolean defaultState2 
The default state is the state that relay 2 is in on power up and also the state that the relay is in while the paired sensor is in the standard operating state. if a sensor is paired and the sensor enters the aware mode,the relay will toggle to the non default state 
long pairedSensorID1 
Sensor ID of sensor that will toggle relay 1 to non default state when sensor is in aware state. 
long pairedSensorID2 
Sensor ID of sensor that will toggle relay 2 to non default state when sensor is in aware state. 
Boolean sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration