mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-06-21 21:46:27 +02:00
3.0.271
This commit is contained in:
parent
e0c75d5b37
commit
f38b516d25
57 changed files with 12835 additions and 9925 deletions
|
@ -9,7 +9,7 @@ namespace TINK.Repository.Response
|
|||
/// Position of the bike.
|
||||
/// </summary>
|
||||
[DataMember]
|
||||
public GpsInfo gps { get; private set; }
|
||||
public Position gps { get; private set; }
|
||||
|
||||
[DataMember]
|
||||
/// <summary> Full advertisement name.</summary>
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
using System.Runtime.Serialization;
|
||||
|
||||
namespace TINK.Repository.Response
|
||||
{
|
||||
/// <summary>
|
||||
/// Holds info about a single bike.
|
||||
/// </summary>
|
||||
[DataContract]
|
||||
public class GpsInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Latitude position of the bike.
|
||||
/// </summary>
|
||||
[DataMember]
|
||||
public string latitude { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Longitude position of the bike.
|
||||
/// </summary>
|
||||
[DataMember]
|
||||
public string longitude { get; private set; }
|
||||
}
|
||||
}
|
17
TINKLib/Repository/Response/MapSpan.cs
Normal file
17
TINKLib/Repository/Response/MapSpan.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
using System.Runtime.Serialization;
|
||||
|
||||
namespace TINK.Repository.Response
|
||||
{
|
||||
/// <summary> Holds information about map area to display.</summary>
|
||||
[DataContract]
|
||||
public class MapSpan
|
||||
{
|
||||
/// <summary> Center position of the map. </summary>
|
||||
[DataMember]
|
||||
public Position center { get; private set; }
|
||||
|
||||
/// <summary> Radius to the map area. </summary>
|
||||
[DataMember]
|
||||
public string radius { get; private set; }
|
||||
}
|
||||
}
|
17
TINKLib/Repository/Response/Position.cs
Normal file
17
TINKLib/Repository/Response/Position.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
using System.Runtime.Serialization;
|
||||
|
||||
namespace TINK.Repository.Response
|
||||
{
|
||||
/// <summary> Holds position info. </summary>
|
||||
[DataContract]
|
||||
public class Position
|
||||
{
|
||||
/// <summary> Latitude position (bike, station, map center...). </summary>
|
||||
[DataMember]
|
||||
public string latitude { get; private set; }
|
||||
|
||||
/// <summary> Longitude position (bike, station, map center...). </summary>
|
||||
[DataMember]
|
||||
public string longitude { get; private set; }
|
||||
}
|
||||
}
|
|
@ -1,5 +1,7 @@
|
|||
|
||||
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace TINK.Repository.Response
|
||||
{
|
||||
/// <summary>
|
||||
|
|
|
@ -21,6 +21,10 @@ namespace TINK.Repository.Response
|
|||
[DataMember]
|
||||
public string merchant_message { get; private set; }
|
||||
|
||||
/// <summary> Initial map display area.</summary>
|
||||
[DataMember]
|
||||
public MapSpan init_map { get; private set; }
|
||||
|
||||
/// <summary> Textual description of response. </summary>
|
||||
public new string ToString()
|
||||
{
|
||||
|
|
|
@ -54,7 +54,7 @@ namespace TINK.Repository.Response
|
|||
/// Position of the station.
|
||||
/// </summary>
|
||||
[DataMember]
|
||||
public GpsInfo gps { get; private set; }
|
||||
public Position gps { get; private set; }
|
||||
|
||||
[DataMember]
|
||||
public OperatorData operator_data { get; private set; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue