C# Mine
VibrationBase.UpdateSensorProfileConfig1 Method

sets all data for the ProfileConfig1 configuration available on the sensor

[System.Obsolete("This method is deprecated. Use the SensorEdit method instead.")] public static void UpdateSensorProfileConfig1(Sensor sens, int eventDectionType, int sensitivity, int rearmTime, Boolean sendSensorUpdate);
Sensor sens 
sens the Sensor object to be updated  
int eventDectionType 
Determines which reading of the sensor will trigger the aware state. (starts = 0, stops = 1, state change = 2) 
int sensitivity 
Set how much vibration is required before triggering the sensor, lower numbers are more sensitive. ( value range: 25 - 1000) 
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 
Copyright (c) 2017. All rights reserved.
What do you think about this topic? Send feedback!