Class in Zendir.Messages
| Inherits from Message
Declaration
class BatteryMessage;
Description
The Battery message will store information about a particular battery, including the current charge and the voltage of the system.
Properties
Declared | Description |
---|---|
ChargeFraction | A value between 0 and 1 for the fraction of charge stored. |
MaxChargeCurrent | The maximum current flow that can charge the storage unit. Note it doesn’t limit the charge current. |
MaxDischargeCurrent | The maximum current flow that leave the storage unit. Note it doesn’t limit the discharge current. |
NominalCapacity | The NominalCapacity of the storage unit in amp-hours. |
NominalVoltage | The desired voltage that is produced from this storage unit. |
StateOfHealth | The State of Health of the battery, a value between 0 and 1. |
TimeToRecharge | The estimated time in seconds until the battery is fully recharged (ChargeFraction = 1).Returns 0 if already full, or double.PositiveInfinity if not charging. |