Initial commit

This commit is contained in:
2026-07-13 09:25:40 +07:00
parent c08ff54676
commit bccfb156d7
1938 changed files with 641646 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
using RobotNet10.Shared.Sensor;
namespace RobotNet10.RobotApp.Devices;
/// <summary>
/// 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
/// </summary>
public interface IBattery
{
/// <summary>
/// Battery state hiện tại được cache (thread-safe)
/// </summary>
BatteryState? CurrentBatteryState { get; }
/// <summary>
/// Đọc battery state từ thiết bị
/// </summary>
Task<BatteryState> ReadBatteryStateAsync(CancellationToken cancellationToken = default);
}