2023-04-19 12:14:14 +02:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using TINK.Model.Stations.StationNS.Operator;
|
2021-05-13 20:03:07 +02:00
|
|
|
|
2023-04-19 12:14:14 +02:00
|
|
|
namespace TINK.Model.Stations.StationNS
|
2021-05-13 20:03:07 +02:00
|
|
|
{
|
2023-05-09 08:47:52 +02:00
|
|
|
/// <summary>
|
|
|
|
/// Holds station information, i.e. static information like station name, station position and dynamic information like bikes available.
|
|
|
|
/// </summary>
|
2022-09-06 16:08:19 +02:00
|
|
|
public interface IStation
|
|
|
|
{
|
|
|
|
/// <summary> Holds the unique id of the station.c</summary>
|
|
|
|
string Id { get; }
|
2021-05-13 20:03:07 +02:00
|
|
|
|
2022-09-06 16:08:19 +02:00
|
|
|
/// <summary> Holds the group to which the station belongs.</summary>
|
|
|
|
IEnumerable<string> Group { get; }
|
2021-05-13 20:03:07 +02:00
|
|
|
|
2022-09-06 16:08:19 +02:00
|
|
|
/// <summary> Gets the name of the station.</summary>
|
|
|
|
string StationName { get; }
|
2021-05-13 20:03:07 +02:00
|
|
|
|
2022-09-06 16:08:19 +02:00
|
|
|
/// <summary> Holds the gps- position of the station.</summary>
|
|
|
|
IPosition Position { get; }
|
2021-07-20 23:06:09 +02:00
|
|
|
|
2022-09-06 16:08:19 +02:00
|
|
|
/// <summary> Holds operator related data.</summary>
|
|
|
|
IData OperatorData { get; }
|
2023-05-09 08:47:52 +02:00
|
|
|
|
|
|
|
/// <summary> Gets the count of bikes available at station. </summary>
|
|
|
|
int? AvailableBikesCount { get; }
|
|
|
|
|
|
|
|
/// <summary> Gets bike <see cref="BikeGroupCol.Entry"/> objects. </summary>
|
|
|
|
/// <remarks> Each entry has a name, holds the count of available bikes at station and the group value. /// </remarks>
|
|
|
|
IBikeGroupCol BikeGroups { get; }
|
2022-09-06 16:08:19 +02:00
|
|
|
}
|
2021-05-13 20:03:07 +02:00
|
|
|
}
|