sharee.bike-App/TINKLib/Model/Stations/StationNS/NullStation.cs

25 lines
780 B
C#
Raw Normal View History

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
{
2022-09-06 16:08:19 +02:00
/// <summary> Holds object representing null station.</summary>
public class NullStation : IStation
{
/// <summary> Holds the unique id of the station.c</summary>
public string Id => null;
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>
public IEnumerable<string> Group => new List<string>();
2021-05-13 20:03:07 +02:00
2022-09-06 16:08:19 +02:00
/// <summary> Gets the name of the station.</summary>
public string StationName => string.Empty;
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>
public IPosition Position => PositionFactory.Create();
2022-09-06 16:08:19 +02:00
/// <summary> Holds operator related data.</summary>
public IData OperatorData => new Data();
}
2021-05-13 20:03:07 +02:00
}