C# Mine
ContentsIndexHome
PreviousUpNext
LightBoolBase.UpdateSensorProfileConfig2 Method

sets all data for the ProfileConfig2 configuration available on the sensor

Syntax
C#
[System.Obsolete("This method is deprecated. Use the SensorEdit method instead.")] public static void UpdateSensorProfileConfig2(Sensor sens, int awareState, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
sens the Sensor object to be updated  
int awareState 
this is when the sensor will go aware. aware on light = 0, aware on dark = 1, and aware on change = 2 
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!