Monnit Mine Java
ContentsIndexHome
PreviousUpNext
WaterBase.UpdateSensorProfileConfig1 Method
Syntax
Java
public static void UpdateSensorProfileConfig1(Sensor sens, int eventDectionType, int rearmTime, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
the Sensor object to be updated  
int eventDectionType 
Determines which reading of the sensor will trigger the aware state. (Present = 0, Absent = 1, state change = 2)  
int rearmTime 
Time in seconds after a triggering event that the sensor will wait before re-arming itself.(value range: 1 - 600)  
Boolean sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration 

 

sets all data for the GeneralConfig2 configuration available on the sensor  

 

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