Monnit Mine Java
ContentsIndexHome
PreviousUpNext
CTPowerBase.UpdateSensorProfileConfig1 Method
Syntax
Pascal
C++
Java
PHP
function UpdateSensorProfileConfig1(sens: Sensor; Accumulate: Boolean; kWhLED: double; awareMaxPowerThreshold: double; maxPowerThreshold: double; sendSensorUpdate: Boolean): Pointer;
Parameters 
Description 
Sensor sens 
the Sensor object to be updated  
Boolean Accumulate 
This will cause the kWh reading to accumulate.  
double kWhLED 
kWh LED will flash every time this many watts per hour are accumulated. Saving this as 0 will turn off the LED  
double awareMaxPowerThreshold 
If the sensor is aware and power accumulation is less than this value the sensor will become not aware.  
double maxPowerThreshold 
if the sensor is not aware and power accumulation exceeds this value in a single standard heartbeat the sensor will become aware and report immediately  
Boolean sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration 

 

sets all data for the ProfileConfig1 configuration available on the sensor  

 

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