mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-06-22 05:47:28 +02:00
Version 3.0.366
This commit is contained in:
parent
0eb7362cb8
commit
24cdfbb0ca
84 changed files with 900 additions and 393 deletions
|
@ -1,5 +1,4 @@
|
|||
using System;
|
||||
using TINK.Model.State;
|
||||
using System;
|
||||
using TINK.MultilingualResources;
|
||||
using TINK.ViewModel.Bikes.Bike;
|
||||
|
||||
|
@ -8,7 +7,7 @@ namespace TINK.ViewModel
|
|||
public class BikeAtStationInUseStateInfoProvider : IInUseStateInfoProvider
|
||||
{
|
||||
/// <summary> Gets reserved into display text. </summary>
|
||||
/// <todo>Log unexpeced states.</todo>
|
||||
/// <todo>Log unexpected states.</todo>
|
||||
/// <returns>Display text</returns>
|
||||
public string GetReservedInfo(
|
||||
TimeSpan? remainingTime,
|
||||
|
@ -21,10 +20,10 @@ namespace TINK.ViewModel
|
|||
if (string.IsNullOrEmpty(code))
|
||||
{
|
||||
// Reservation code not available
|
||||
return string.Format(AppResources.StatusTextReservationExpiredMaximumReservationTime, StateRequestedInfo.MaximumReserveTime.Minutes);
|
||||
return AppResources.StatusTextReservationExpiredMaximumReservationTime;
|
||||
}
|
||||
|
||||
return string.Format(AppResources.StatusTextReservationExpiredCodeMaxReservationTime, code, StateRequestedInfo.MaximumReserveTime.Minutes);
|
||||
return string.Format(AppResources.StatusTextReservationExpiredCodeMaxReservationTime, code);
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(code))
|
||||
|
@ -36,7 +35,7 @@ namespace TINK.ViewModel
|
|||
}
|
||||
|
||||
/// <summary> Gets booked into display text. </summary>
|
||||
/// <todo>Log unexpeced states.</todo>
|
||||
/// <todo>Log unexpected states.</todo>
|
||||
/// <returns>Display text</returns>
|
||||
public string GetBookedInfo(
|
||||
DateTime? from,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue