mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-09-27 17:36:29 +02:00
32 lines
967 B
C#
32 lines
967 B
C#
|
|
|||
|
namespace TINK.Model.Bikes.BikeInfoNS.DriveNS.BatteryNS
|
|||
|
{
|
|||
|
public interface IBattery
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Holds the current charging level of the battery in percent, double.NaN if unknown.
|
|||
|
/// </summary>
|
|||
|
double CurrentChargePercent { get; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Holds the current chargeing level of the battery in bars. Must not be arger than MaxChargeBars, null if unkonwn.
|
|||
|
/// </summary>
|
|||
|
int? CurrentChargeBars { get; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Holds the maximum chargeing level of the battery in bars, null if unkonwn.
|
|||
|
/// </summary>
|
|||
|
int? MaxChargeBars { get; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Holds whether backend is aware of battery charging level.
|
|||
|
/// </summary>
|
|||
|
bool? IsBackendAccessible { get; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Holds whether to display battery level or not.
|
|||
|
/// </summary>
|
|||
|
bool? IsHidden { get; }
|
|||
|
}
|
|||
|
}
|