C# Mine
ContentsIndexHome
PreviousUpNext
Control_1Base.UpdateSensorProfileConfig2 Method

sets all data for the ProfileConfig1 configuration available on the sensor

Syntax
C#
[System.Obsolete("This method is deprecated. Use the SensorEdit method instead.")] public static void UpdateSensorProfileConfig2(Sensor sens, Boolean defaultState1, Boolean defaultState2, long pairedSensorID1, long pairedSensorID2, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
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 
Copyright (c) 2017. All rights reserved.
What do you think about this topic? Send feedback!