C# Mine
PIRBase.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 biStable, int rearmTime, Boolean sendSensorUpdate);
Sensor sens 
sens the Sensor object to be updated  
int eventDectionType 
Allows aware state when Present = 0, absent = 1, or state change = 2 
int biStable 
1 if it is selected, then the time between the message detecting motion and the message saying no motion is (rearm time + awarestate heartbeat). if it is set to all state changes = 0, then the time between the two messages is (rearmtime + rearm time) 
int rearmTime 
The time in seconds after a triggering event that the sensor will wait before re-arming itself 
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!