using RobotNet10.Shared.Sensor; namespace RobotNet10.RobotApp.Devices; /// /// Interface cho thiết bị Battery (Battery Management System) trong robot AGV /// Cung cấp thông tin battery theo chuẩn ROS sensor_msgs/BatteryState /// public interface IBattery { /// /// Battery state hiện tại được cache (thread-safe) /// BatteryState? CurrentBatteryState { get; } /// /// Đọc battery state từ thiết bị /// Task ReadBatteryStateAsync(CancellationToken cancellationToken = default); }