C# Class MaCRo.Drivers.VoltageCurrentSensor

显示文件 Open project: AlexAlbala/MaCRo Class Usage Examples

Public Methods

Method Description
VoltageCurrentSensor ( float maxVoltage, float minVoltage, ushort mAh ) : System
getActualCurrent ( ) : double
getActualVoltage ( ) : double
getBatteryCapacity ( ) : ushort
getEstimation ( ) : ushort

Method Details

VoltageCurrentSensor() public method

public VoltageCurrentSensor ( float maxVoltage, float minVoltage, ushort mAh ) : System
maxVoltage float
minVoltage float
mAh ushort
return System

getActualCurrent() public method

public getActualCurrent ( ) : double
return double

getActualVoltage() public method

public getActualVoltage ( ) : double
return double

getBatteryCapacity() public method

public getBatteryCapacity ( ) : ushort
return ushort

getEstimation() public method

public getEstimation ( ) : ushort
return ushort