Monnit Mine Java
ContentsIndexHome
PreviousUpNext
Gateway.BatteryPercentageHelper Method (eGatewayBattery, double)
Syntax
Pascal
C++
Java
PHP
function BatteryPercentageHelper(batteryType: eGatewayBattery; reportedVoltage: double): double;
Parameters 
Description 
eGatewayBattery batteryType 
This shows if the gateway is using a direct line or a battery back up  
double reportedVoltage 
This is the voltage given when the gateway checks in 

 

returns a percentage from the voltage given to know if the gateway is using it's battery or not  

 

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