using System.ComponentModel.DataAnnotations;

namespace RobotNet.RobotShares.VDA5050.State;

public class BatteryState
{
    [Required]
    public double BatteryCharge { get; set; }
    public double BatteryVoltage { get; set; }
    [Range(0, 100, ErrorMessage = "Value for BatteryHealth must be between 0 and 100.")]
    public double BatteryHealth { get; set; }
    [Required]
    public bool Charging { get; set; }
    public double Reach { get; set; }
}
