sharee.bike-App/TINKLib/Model/Station/NullStation.cs
2021-07-20 23:06:09 +02:00

24 lines
844 B
C#

using System.Collections.Generic;
using TINK.Model.Station.Operator;
namespace TINK.Model.Station
{
/// <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;
/// <summary> Holds the group to which the station belongs.</summary>
public IEnumerable<string> Group => new List<string>();
/// <summary> Gets the name of the station.</summary>
public string StationName => string.Empty;
/// <summary> Holds the gps- position of the station.</summary>
public Position Position => new Position(double.NaN, double.NaN);
/// <summary> Holds operator related data.</summary>
public IData OperatorData => new Data();
}
}