sharee.bike-App/TINKLib/Model/Station/NullStation.cs

21 lines
693 B
C#
Raw Normal View History

2021-05-13 20:03:07 +02:00
using System.Collections.Generic;
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 int Id => -1;
/// <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);
}
}