2021-05-13 20:03:07 +02:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using TINK.Model.Bikes.Bike;
|
|
|
|
|
using TINK.Model.State;
|
|
|
|
|
|
|
|
|
|
namespace TINK.Model.Bike.BC
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Allows to access bike info.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IBikeInfo
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Holds the unique id of the bike;
|
|
|
|
|
/// </summary>
|
2021-06-26 20:57:55 +02:00
|
|
|
|
string Id { get; }
|
2021-05-13 20:03:07 +02:00
|
|
|
|
|
|
|
|
|
/// <summary> True if bike is a demo bike. </summary>
|
|
|
|
|
bool IsDemo { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary> Returns the group (TINK, Konrad, ...). </summary>
|
|
|
|
|
IEnumerable<string> Group { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Holds the count of wheels.
|
|
|
|
|
/// </summary>
|
|
|
|
|
WheelType? WheelType { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Holds the type of bike.
|
|
|
|
|
/// </summary>
|
|
|
|
|
TypeOfBike? TypeOfBike { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary> Holds the description of the bike. </summary>
|
|
|
|
|
string Description { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Station a which bike is located, null otherwise.
|
|
|
|
|
/// </summary>
|
2021-06-26 20:57:55 +02:00
|
|
|
|
string CurrentStation { get; }
|
2021-05-13 20:03:07 +02:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Uri of the operator or null, in case of single operator setup.
|
|
|
|
|
/// </summary>
|
|
|
|
|
Uri OperatorUri { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary> Holds description about the tarif. </summary>
|
|
|
|
|
TariffDescription TariffDescription { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Holds the rent state of the bike.
|
|
|
|
|
/// </summary>
|
|
|
|
|
IStateInfo State { get; }
|
|
|
|
|
}
|
|
|
|
|
}
|