mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-16 15:16:34 +01:00
47 lines
1 KiB
C#
47 lines
1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using TINK.Model.Bikes.BikeInfoNS.DriveNS;
|
|
using TINK.Model.State;
|
|
|
|
namespace TINK.Model.Bikes.BikeInfoNS.BC
|
|
{
|
|
/// <summary>
|
|
/// Allows to access bike info.
|
|
/// </summary>
|
|
public interface IBikeInfo
|
|
{
|
|
/// <summary>
|
|
/// Holds the bike object.
|
|
/// </summary>
|
|
BikeNS.Bike Bike { get; }
|
|
|
|
/// <summary>
|
|
/// Holds the drive.
|
|
/// </summary>
|
|
Drive Drive { get; }
|
|
|
|
/// <summary> True if bike is a demo bike. </summary>
|
|
bool IsDemo { get; }
|
|
|
|
/// <summary> Returns the group (TINK, Konrad, ...). </summary>
|
|
IEnumerable<string> Group { get; }
|
|
|
|
/// <summary>
|
|
/// Station a which bike is located, null otherwise.
|
|
/// </summary>
|
|
string StationId { get; }
|
|
|
|
/// <summary>
|
|
/// Uri of the operator or null, in case of single operator setup.
|
|
/// </summary>
|
|
Uri OperatorUri { get; }
|
|
|
|
/// <summary> Holds description about the tarif. </summary>
|
|
RentalDescription TariffDescription { get; }
|
|
|
|
/// <summary>
|
|
/// Holds the rent state of the bike.
|
|
/// </summary>
|
|
IStateInfo State { get; }
|
|
}
|
|
}
|