Monnit Mine Java
ContentsIndexHome
PreviousUpNext
Control_1Base.UpdateSensorProfileConfig2 Method
Syntax
Pascal
C++
Java
PHP
function UpdateSensorProfileConfig2(sens: Sensor; defaultState1: Boolean; defaultState2: Boolean; pairedSensorID1: long; pairedSensorID2: long; sendSensorUpdate: Boolean): Pointer;
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!