Files
RobotApp/RobotApp/Interfaces/IBattery.cs
Đăng Nguyễn b2df5b22b7 update
2025-10-13 13:17:32 +07:00

32 lines
645 B
C#

namespace RobotApp.Interfaces;
public enum BatteryStatus
{
Unknown,
Charging,
Discharging,
Full,
NotCharging,
Fault,
Standby
}
public interface IBattery
{
bool IsReady { get; }
double Voltage { get; }
double Current { get; }
double SOC { get; }
double SOH { get; }
BatteryStatus Status { get; }
int ChargeTime { get; }
int DischargeTime { get; }
double Temperature { get; }
double RemainingCapacity { get; }
double RemainingEnergy { get; }
int DischargeCycles { get; }
int ChargeCycles { get; }
bool IsCharging { get; }
string[] ErrorStatus { get; }
}