sharee.bike-App/SharedBusinessLogic/Model/Bikes/BikeInfoNS/DriveNS/IDrive.cs

24 lines
489 B
C#
Raw Normal View History

2024-04-09 12:53:23 +02:00
using ShareeBike.Model.Bikes.BikeInfoNS.DriveNS.BatteryNS;
using ShareeBike.Model.Bikes.BikeInfoNS.DriveNS.EngineNS;
2022-08-30 15:42:25 +02:00
2024-04-09 12:53:23 +02:00
namespace ShareeBike.Model.Bikes.BikeInfoNS
2022-08-30 15:42:25 +02:00
{
2022-09-06 16:08:19 +02:00
public interface IDrive
{
/// <summary>
/// Gets the type of the drive.
/// </summary>
DriveNS.DriveType Type { get; }
2022-08-30 15:42:25 +02:00
2022-09-06 16:08:19 +02:00
/// <summary>
/// Engine driving the bike.
/// </summary>
IEngine Engine { get; }
2022-08-30 15:42:25 +02:00
2022-09-06 16:08:19 +02:00
/// <summary>
/// Battery powering the engine.
/// </summary>
IBattery Battery { get; }
}
2022-08-30 15:42:25 +02:00
}