Monnit Mine Java
ContentsIndexHome
PreviousUpNext
Control_1Base.UpdateSensorProfileConfig2 Method
Syntax
Java
public static void UpdateSensorProfileConfig2(Sensor sens, Boolean defaultState1, Boolean defaultState2, long pairedSensorID1, long pairedSensorID2, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor 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 

 

sets all data for the ProfileConfig2 configuration available on the sensor  

 

Copyright (c) 2016. All rights reserved.
What do you think about this topic? Send feedback!